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.
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!
Test out the explosions generated with Detonator for yourself below. Click to start the webplayer:
[WP_UnityObject altimage=”https://blogs.unity3d.com/wp-content/uploads/2009/09/Detonator_Webplayer_Alt_Image.png” src=”https://blogs.unity3d.com/wp-content/uploads/2009/09/Detonator.unity3d” width=”640″ height=”360″ css=”http://unity3d.com/u3d.css” /]
If you’re doing explosions in your Unity game, Detonator can probably help you create good looking, scalable effects in less time!
Get the Detonator Parametric Explosion Framework from our Resources section and populate your own game with spectacular explosions. If you’d like to follow the continued development, check out Ben’s site at http://variancetheory.com.
32 ComentáriosInscrever-se nos comentários