Comments
Asteroids
written by Mark Overmars
images by Billy McQuown
Goal
Asteroids is traditional game. You have to avoid the asteroids with your spaceship while trying to destroy them. The more asteroids you destroy, the more points you get.
Playing
Rotate your spaceship using the left and right arrow keys. Increase speed using the up arrow key. Use the down arrow key to teleport yourself away from a dangerous situation (but be careful, you might end up in an asteroid). Use the spacebar to shoot. That's all. You can always quit using the Esc key.
Extras
You will met some special objects when you move along:
- Life bringing stars
- Stupid large UFO's that shoot without aiming
- More clever small UFO's
- Very fast rockets that try to ram you
One word of advice: Keep moving!
Special Keys
<Esc> ends the game
<F1> shows the help file
<F4> toggles fullscreen mode
<F6> pause game
<F12> creates a screen shot
Design
This is not a trivial game to create. The main problem is in creating the enemy ufo's in some reasonable way. Two scripts are used for this. A number of variables are used though to e.g. remember the direction the spaceship is facing (which need not be the same as the moving direction). Friction is used to slow down the spaceship. Some standard scripts are used for pausing the game and for initializing the highscore table. Finally, sprite rotation is used to show the spaceship in the correct orientation.
Made With Gamemaker 8.1 Standard #shooter #arcade #gamemaker