From The Mana World
m (Jaxad0127 moved page Talk:Particle engine to Dev talk:Particle engine) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
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. | 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.'' --[[User:Crush|Crush]] 18:51, 22 June 2008 (CEST) | :''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.'' --[[User:Crush|Crush]] 18:51, 22 June 2008 (CEST) | ||
===Random animation entry points=== | ===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. | 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"''--[[User:Crush|Crush]] 18:51, 22 June 2008 (CEST) | :''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"''--[[User:Crush|Crush]] 18:51, 22 June 2008 (CEST) | ||
===Particles orbiting moving particles=== | ===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. | 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.'' --[[User:Crush|Crush]] 18:51, 22 June 2008 (CEST) | :''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.'' --[[User:Crush|Crush]] 18:51, 22 June 2008 (CEST) |
Latest revision as of 20:51, 18 June 2013
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)