Experiencing 'coders block' - particle system.

Blitz3D Forums/Blitz3D Programming/Experiencing 'coders block' - particle system.

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.

No problem - hope it's of some use. :)

Yeah, you can add any amount of particles with the same lifespan. The particles are kept in a linked list so you're not limited to just one particle per 'slot'.

[edit]I should just explain that the free_particle() function in it's current form can not be used to free an arbitrary particle prior to it's expiration. If you need this functionality, it will involve making the lists doubly-linked. I don't have the time to code this now as I have to go out, but I can do it tomorrow, if needed. Probably better anyway, as I won't be in "Sunday hangover mode" then. :P