Summer of Code: Detonator Framework Released!This blog post is written by Ben Throop who has been working on a Detonator framework to generate great-looking explosions in Unity games. The project was one of the four selected projects that were selected for the Unity Summer of Code and the first to be wrapped up and released. The original post can be found here.
Explosions are a really common element in games, but they can be difficult to create. Starting from scratch can be time consuming and requires expertise with particle systems, lighting, texturing, and animation. Tweaking existing effects to fit a game can also be a challenge because its difficult to change the size or color of a set of particle emitters in unison. Making explosions should be fun, fast, and rewarding instead. That’s why Detonator was created.
Detonator for Unity makes incorporating good explosions easier for all types of developers. At its most basic level, Detonator is a component that can be attached to any GameObject. At runtime it then creates an explosion with configurable color, size, duration, detail, and sub-elements like sparks, smoke, and shockwaves. For those that want to dig in a bit, Detonator is an explosion framework. Customize each sub-component or create new ones if you want to write a bit of code. Tweak detail levels with a single parameter and save your favorites to prefabs… or dynamically link color to damage type and size to damage amount!
If you’re doing explosions in your Unity game, Detonator can probably help you create good looking, scalable effects in less time!If you’d like to follow the continued development, check out Ben’s site at http://variancetheory.com.