Optimising Particles - Pooling etc.

BlitzMax Forums/BlitzMax Programming/Optimising Particles - Pooling etc.

I'm using lists as well. 2 actually. One for the active particles and one for the pool which has a logic within to reduce the pool size over the time.

The performance gains from this approach to create - destroy were quite stunning, actually more than I would have thought back then. (can't offer numbers, did this test long ago when I wrote the initial version of Kamaya)