Archived

This topic is now archived and is closed to further replies.

explosion code

This topic is 6168 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

With sprites just make explosion graphics and cycle through the frames...

With particles just draw say a pixel for each particle in the system and have them move away from the center in random directions.

There are alot of tutorials on the web about particle systems if you want a more in-depth look.


P.S. You can make explosion graphics in photoshop by using a black background setting the airbrush to dissolve and the color white, then spraying the area you want to be a fireball. Next gaussain blur the spots it makes, then Image->Adjust->Variations and up the red and yellow values until it looks right. Masking it is a whole different story, I suggest you just alpha blend it to get rid of the black outline..


Edited by - Caffeine on January 27, 2001 6:56:24 AM

Share this post


Link to post
Share on other sites
If you use triangles to draw your object just multiply an incrseing value to the x,y and z coord. Then draw some explosion sprites in the middle of the objects

Share this post


Link to post
Share on other sites