This section is about reporting the destruction of the target back to the game class and about other game logic that is going to be going on. Go ahead and open the four classes we have created. We are going to be mostly focusing on the Game class today, but keep the others open for reference.
In this section of How to Make Target Practice, we are going to take a look at (and of course code) the destruction of targets and a simple particle system. Remember to check out the source of this game’s inspiration.
If your .fla and your 2 classes, Game and SquareTarget are not open, go ahead and open them up in your IDE.
So as I stated on my 2 hour game project, here I am with part 1 of I don’t know long the series is to make the game. Perhaps it will only take one section, but I’m thinking about splitting it up. Check out the source of this game’s inspiration.
This tutorial is going to be written using Adobe Flash CS4, from which the original game build was made in. However, I’ve on purposely made it so it would be incredibly easy (and almost the exact same) to be written in another IDE such as FlashDevelop. Everything but embedding a font in your .swf should transfer over flawlessly.
So lets get started in this part 1 of a series on how to make the game: Target Practice. Before beginning however, I am assuming you have a copy of Flash CSX or a similar IDE and you are somewhat familiar with it already, so I won’t have to get into much detail about using the IDE.
