Running the code
Now our fireballs are ready! Run the game and gaze in awe (but not forgetting to use the radar and the spatialized sound to keep out the way) at the fireballs we have coded.
Figure 20.2: Fireballs
We can also hear the directional sound. The sound tells you where a fireball is coming from, and the minimap warns you in advance if you need to get out of the way.