Adding particle effects
The game itself currently works, but it could use some more polish. One of the things we do to increase the polish of game is make use of particle systems; let's get started:
- First, select the
Player
in theHierarchy
window and right-click and selectEffects
|Particle
System
. This will make this system a child of the player, which will be good for what we are going to do. - Change the
Start Speed
to0
and the SimulationSpace
toWorld
.
- Open up the
Shape
section by clicking on it. Change theShape
toSphere
and set theRadius
to0
(it will automatically change to0.01
). - Then, change the
Start Color
to something to make it easy to see, such as purple:

This is a step in the right direction.The particles are now following the player, but there's still a number of things we can do to improve this.
- Instead of just a single color, we can change it so that we pick randomly between two colors. To do that, go to the right side of the
Start Color
, and you'll see a little downward...