Supernova's Fancy 2D Explosion Engine

by Guova


Posted on January 12, 2014 at 7:19 AM



Want an exciting explosion rather than just a boring and/or crappy GIFs that takes a bit more file size? This is your choice! Also the explosion used ONLY one single sprite without any extra subimages!

Made for Game Maker 8.0 and 8.1 (Pro ONLY). Game Maker 6, Game Maker 7(both Windows and Mac), Game Maker: Studio compatible as well if you imported the codes.



JID commented January 12, 2014 at 7:44 AM
pretty simple but gets the job done.

i do wish it was a bit more pretty to look at though - but still a pretty cool effect. 7/10
Moikle commented January 12, 2014 at 6:31 PM
WHY ARE YOU NOT USING PARTICLE EFFECTS?

Particle effects are awesome and everyone should use them.

caps are not meant to be angry at you or whatever, just ... I love particle effects
Guova commented January 14, 2014 at 1:46 AM
WHY ARE YOU NOT USING PARTICLE EFFECTS?

Particle effects are awesome and everyone should use them.

caps are not meant to be angry at you or whatever, just ... I love particle effects
Quote
There's already an engine that explains particle effects (See GameCave particle engine). This example is good for making 8/16-bit games without graphic clashing.
Moikle commented January 14, 2014 at 3:14 AM
the built in particle engine is not restricted to the crappy built in particle sprites, you could create this exact effect with particles instead.
Crazy Star commented January 14, 2014 at 1:09 PM
*Agrees*
part_type_sprite(ind,sprite,animat,stretch,random) Sets your own sprite for the particle type. With animate you indicate whether the sprite should be animated (1) or not (0). With stretch (1 or 0) you indicate whether the animation must be stretched over the lifetime of the particle. And with random (1 or 0) you can indicate whether a random subimage must be choosen as starting image.
Quote
Moikle commented January 15, 2014 at 3:24 PM
^ this, and use transparency in the sprite instead of relying on blend modes which set the alpha of a pixel based on its brightness. this means you can have both shading and transparency in your particles, to get stuff like this (shameless self plug... sorta)