Closed mdiebolt closed 12 years ago
I added dust_emitter to PixieDust. It provides defaults for the emitter and bundles a dust particle. It isn't super flexible right now, but we can add that later. Now the API for adding dust particles is very clean.
# adds a dust emitter at the foot of the calling object
engine.add 'DustEmitter'
x: I.x
y: I.y + I.height / 2
We should start collecting good looking particle effects and naming them so that they are easier to use.
A few ideas: Explosion, Splatter, Dust.
We could even embed some base64 encoded images as the sprites for the particles.