From The Mana World
Revision as of 20:51, 18 June 2013 by Jaxad0127 (talk | contribs) (Jaxad0127 moved page Talk:Particle engine to Dev talk:Particle engine)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Possible additions

Delayed Effects

In composite effects, it is often desirable to start a certain effect only after a certian amount of time has passed; for example, we might want to fade in a circle and only then suddenly flash a pentagram in its centre. This could be accomplished by an `on-death' emitter that is spawned when its parent particle dies.

Death effects would also be useful for a lot of other purposes like magic projectiles which explode on impact. I would suggest to implement this in the xml files as an attribute "activate-at" for emitters. Possible values are "immediately" (current behavior), "death" or a number of frames. --Crush 18:51, 22 June 2008 (CEST)


Random animation entry points

Right now, animation cels are looped through sequentially. For some effects, randomly picking one element each interval, or at least starting out at a random entry, may be preferable.

The animation tag should get a new attribute "sequence" with the values "loop" (current behavior), "once" (animation is played once and then the particle dies) and "random"--Crush 18:51, 22 June 2008 (CEST)


Particles orbiting moving particles

Orbitting particles need a reference point; right now this is fixed to be the `base' particle. We need an option to choose the parent, grandparent, ... instead.

I would do this with a new particle property acceleration-parent. The value is the number of recursion steps in the particle tree the particle is following. --Crush 18:51, 22 June 2008 (CEST)