Create the colorful explosion at the end of the firework by adding a circular shape to the particles that imitate how fireworks look when they explode.
Select the first empty emitter stack and right-click.
Select Copy from the dropdown menu.
Right-click in the System Editor and select Paste from the dropdown menu.
Double-click the emitter name and change to Explosion.
Particle Spawn
These settings determine how the particles behave when they spawn.
Click Initialize Particle to open the Initialize Particle settings in the Details panel.
Change the Lifetime Min value to 3.0.
Change the Lifetime Max value to 2.0.
Set Color Mode to Unset. You will set the color of the explosion in Particle Update.
Click Sprite under Initialize Particle to open the Sprite Attribute settings.
Set the Sprite Size Mode to Uniform.
Change the Uniform Sprite Size to 20.0. This sets the size of the sprites that spawn.
Click the Plus icon next to the Particle Spawn module settings and select Add Velocity from the dropdown menu. The Add Velocity settings automatically open in the Details panel.
Set the Velocity Mode setting to From Point. This creates the center of the explosion and causes the particles to explode in all directions.
Click the down arrow in the Velocity Speed field and select Random Range Float from the dropdown menu. The explosions will happen at random speeds.
Set the Minimum value to 900.0.
Set the Maximum value to 1200.0. The minimum and maximum values determine how fast the particles move. Higher values will make the particles shoot further.
Particle Update
These settings tell the particles how to behave and the parameters they work within during the firework sequence.
Click the Plus icon next to Particle Update and select Drag from the dropdown menu.
Click the Plus icon next to Particle Update and select Gravity Force from the dropdown menu. The Gravity Force settings open automatically in the Details panel. Drag and Gravity Force add resistance and gravity to the particles as they fall.
Change the Gravity settings to the following:
X = 0.0
Y = 0.0
Z = -100.0
Click the Plus icon next to Particle Update and select Color from the dropdown menu. The Color settings open automatically in the Details panel.
Double-click the empty box beside Color to open the Color Picker.
Move the circle from the center of the color wheel to select the color you want for the explosion.
Set the V value to 50.0. This adds an emissive color to the particles.
Click OK to save the color for the sprite.
Event Handler
Adding an event handler causes the Explosion emitter stack to be directly bound to an event, and will activate in a chain of events when signaled. This event handler looks for the source of the event to say a particle died.
Select Receive Location Event under the Event Handler module and press the Delete key to delete the Location Event module . This module should activate when signaled by a death event, not a location event.
Click Event Handler to open the Event Handler settings in the Details panel.
Select Death Event from under Head in the Source dropdown menu. This emitter will activate when signaled by the death event of the Head particle.
Set the Spawn Number value to 500. This sets the number of particles that spawn when the emitter is signaled.
You can set Spawn Number to any amount you want depending on how you want your firework to look when it explodes.
Click the Plus icon next to the Event Handler module and select Receive Death Event from the dropdown menu.
Select the Reset arrow from the Velocity(Vector2) field to reset the default value if Reset is still set to Apply.
Your emitter will now act more like a firework in the preview window.
The last piece invloves reinforcing the sprites of the first explosion by creating another explosion using a different render type. Create the next explosion emitter for a beautiful firework effect.