Creating a class
In my work with UnrealScript, one of the most common questions I see is "I understand how the language works, but I have no idea where to start writing my own code. What do I do?" For any project, before you start writing code it's best to have an idea of what you want your game to be. For most games this involves a design document. Let's see if we can come up with a quick one for our Awesome Game that we'll refer to when making programming decisions.
Awesome Game quicky design document
Most design documents have a detailed description of the game, from the storyline right down to the control scheme. However, we're going to keep things a little simplified for this. First of all we need to decide what type of game this will be.
Awesome Game is a top-down shooter like Alien Swarm or Nation Red.
Having examples of other games in the style that you want helps define what programming needs your game will have. Let's see if we can expand this further:
Enemies will spawn off screen...