Testing my particle system with @justin_cyr's food and drink sprites.
The code uses sget() to analyse the colour spread in the sprite, and then uses the correct proportion of coloured pixels in the explosion.
I've always loved the look of particle explosions, especially the bouncy colourful sort, so this was a must as my second project.
EDIT: As of 0.3 the buttons are now:
Button 1 [Z]: Explode the fruit
Button 2 [X]: Switch the new "heat" affector* on/off
Left/Right: Decrease/increase gravity
Down/Up: Decrease/increase bounce rate
* Particles glow white hot for a while, then fade to original colour and finally darken
Good but maybe make it or have option to have particles move a lot slower so viewers can see that every single pixel that makes up the fruit truly is exploding.
[Please log in to post a comment]