Unity Fireworks

In the March Southampton Code Dojo, I was tasked with creating fireworks within the 2 hour time limit and, for a change from seeing the usual JavaScript or Python entries, I decided to do this using Unity.

The scene consists of a fireworks spawner game object which randomly instantiates firework rockets around itself which move upwards and, after a random amount of time, explode. The firework sparkles explode outwards by the physics collision engine doing its thing since they are all spawned roughly in the same place. Against a backdrop of a night sky, the effect is decent.

Fireworks implemented in Unity.
Fireworks implemented in Unity!

Obviously, since everything is a cube, this Unity scene requires a small amount of artisitic license.

See also