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!
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!