In Part One of this game-building tutorial, we created a hero ship and a bullet and programmed the two to work in tandem. The ship can be steered via the arrow keys, and the space bar launches the bullet from the ship's location. Now it's time to start turning this experiment from a primitive environment simulator to a real game. This game, like all others, involves conflict, rules, and the potential for loss as well as gain.
Heroes alone make for boring games.
We need a villain. We don't want it smack in the middle, where the ship is. Good enough for government work, as they say. In fact, while we're at it, let's make sure all our layers are named appropriately. I meant every word of it.