Scrolling shooter game


Game Overview: In this game the player flies in a plane over a sea and enemy planes try to destroy the player. You encounter an increasing number of enemy planes that try to destroy you. You should avoid these or shoot them. The goal is to stay alive as long as you can and to destroy as many enemy planes as you can.

  • The background is formed by a scrolling sea with some islands. This creates the illusion of motion. The player’s plane flies over this sea.
  • You can shoot bullets that destroy enemy planes.
  • The player controls the game with the arrow keys.
  • With the space key you fire a bullet. 

Starting file

Make sure you have a copy of the starting game with all the sprites already loaded and ready to go. Go to Student Share> Koppejan> GameMaker Resources...

Make sure you're in Advanced Mode!

simple mode
simple mode
advanced mode
advanced mode

If you expand your folders with the "+" beside them, you'll see all the sprites etc that are loaded for you.

Tips:

We can use GameMaker variables to test things like if something is still in the room. Some of the ones you'll be using in this game:

  • hspeed 
  • vspeed 
  • speed
  • direction
  • room_width*
  • room_height*
  • view_yview * (the y value of the current room view)

*We can test/set using the width/height of our room but if we decide later to redesign our rooms and make them bigger, then we don't have to change anything, it'll automatically work.