DrawImage Optimisation

BlitzMax Forums/BlitzMax Beginners Area/DrawImage Optimisation

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well it turns out that when you explode everything on screen and create 1500 new particles plus assorted detritus all at once it leads to a noticeable dip in performance - who'd-a-thunk-it!?

But following the implementation of some object pooling and cutting out the unnecessary collision detection that was taking place it's now behaving much better. I may yet try and reduce the number of particles too.

Just a couple of tweaks to do and I'll have version to post soon.

Many thanks to all that took the time to reply!