Particle Engine

Blitz3D Forums/Blitz3D Beginners Area/Particle Engine

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.

What Is A Particle Engine?

--------------------------

My understanding is a sequence of code which creates a generic system of sprites/similar that are created, move in a defined pattern and are recycled or are deleted at the end of their cycle.
They can be used to represent flames, waterfalls, magic spells, special light effects, explosions, smoke - you name it!

Just define the colours etc of the individual particles, and the paths that they need to follow and set 'em off!

-------------------------------

If the above i correct, then I have been assuming correctly so far :)

Also, I have devised my first-ever particle system (YAY!) Which puts an engine trail on the back of a spaceship. The more thrust-the brighter the trail, and when the particles (sprites in this case) have faded completely, they are deleted so as not to waste memory.

If I can re-extract it from my game, I will stick it into code archives for general usage!