Wednesday, January 27, 2010
Particle Expansion
The particle system has been extended and integrated with the scene manager. Objects can now start particle animations as part of their object, manage them and then abandon them if necessary. The object passes it's particle emitters to the scene and the scene completes the particle simulation before deleting the emitter from the scene.
Subscribe to:
Post Comments (Atom)

What is generating the particles? the tree or the pea? and why/when?
ReplyDeleteI guess that's not very obvious. The peas that are falling down are exploding and leaving the particle effect behind, which the scene manager takes over and completes before deleting the abandoned particle emitter.
ReplyDeletePrior to this change any object that wanted to spew particles had to tick and render the particles in it's step() and render() functions, and if you deleted that object the particles were then deleted.
Oh yeah, and a little new feature added too. You'll notice perhaps that the particles are picking up a percentage of the speed of the object that spawned them.
ReplyDeleteooh cool!!
ReplyDelete