Boom! — Particle Explosion Simulation

By | 2002-06-01

Boom! is a particle explosion simulation. It simulates explosions composed of many individual elastic pieces. Each piece also has a shadow, which has a very nice effect when the explosion occurs over a detailed background graphic.

Boom! is a fun little side project that I devised while looking for a quick way to put explosions into another game I’m writing. It turned out well enough to warrant a GUI so that the user can tweak the particle properties. There is also a ‘multiball’ feature, so that you can start up several explosions at once!

In this simulation, each particle is an instance of the same class. I used this approach to show how easy it is to create an array of similar objects, each with dynamic property values. It makes for very concise and understandable code!

Original Author: Jason Merlo

Attachments

FileUploadedSize
CODE_UPLOAD1468.zip9/3/2020 3:45:00 PM507754
Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.