Log In  

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

Cart #56572 | 2018-09-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#56560 2018-09-12 08:13 ( Edited 2018-09-13 03:42)

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.

P#56601 2018-09-12 23:42 ( Edited 2018-09-13 03:42)

[Please log in to post a comment]