Objectives
On completion of this tutorial and practical, you will be able to…
• Build a game with more than 1 room • Use views to navigate around the Game World • Understand what are and how to use variables
Practical
You have already created a simple game using Game Maker in your last lab. In this lab we will build on our existing knowledge and create the first part of the Bugs Shooter Game. The second part of the game will be done in the next lab session.
The Game Idea
You may be familiar with a genre of games known as Top-down shooters, where you usually control a plane which moves in the bottom of the screen and shoot at enemies at the top. There are also variants that let you control a plane which is located at the left of the screen and you shoot enemies to the right. We will now try to create a simple game of this genre.
Here is our description of the game:
Bugs Shooter
The game involves a fighter plane (Main character) than will shoot down flying bugs. For each bugs destroy the plane will be rewarded with points. The plane will try to destroy as many bugs as possible.
The game has two rooms (Game World). In the first room, the plane will kill ordinary bugs that can be destroyed with one hit. The second level involves an enemy spaceship that requires multiple hits to destroy.
The Design Document
The next step in creating a game is to write a design document. You are recommended to always do this before making your game. Here is our design document for Bugs Shooter.
Game Objects
Sounds
Controls
Game flow
Levels
Variables and Properties
Before we can develop the bug shooter game we need to delve a bit into an important concept of Game Maker: the use of variables. This simple concept will provide a very powerful mechanism to enable much more interesting game play.
So what