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#] | Code | 2018-09-12 | License: CC4-BY-NC-SA | Embed
2

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

:: dw817

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]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-10-14 00:34 | 0.030s | 2097k | Q:23