2
That should be good enough for the moment. We can now start creating the game. So start up Game
Maker and let's get going. Note that this tutorial uses version 8.0 of Game Maker. If you use a different
version, the images look a bit different. It also assumes the program runs in simple mode. You can
switch between simple and advanced mode by clicking on the menu item Advanced Mode in the File
menu. In advanced mode there are many more options in the different menus and forms but we won’t
need these for our simple game.
The game we are going to create is already given in the folder Example that comes with this tutorial.
You can load it from there but you are recommended to recreate it by following the steps described
below. In this way you will better understand how a game is being made in Game Maker. All the sprites,
images, and sounds we will use are provided in the folder Resources.
Adding Sprites and Sounds
As the game design document describes we will need two images for the two game objects. Such images
are called sprites in Game Maker. There is a lot to know about sprites but for the moment, simple think
Catch the Clown Design Document
Game objects
There will be just two game objects: the clown and the wall. The wall object has a square like image.
The wall surrounding the playing area is made out of these objects. The wall object does nothing. It
just sits there to stop the clown from moving out of the area. The clown object has the image of a
clown face. It moves with a fixed speed. Whenever it hits a wall object it bounces. When the player
clicks on the clown with the mouse the score is raised with 10 points. The clown jumps to a random
place and the speed is increased with a small amount.
Sounds
We will use two sounds in this game. A bounce sound that is used when the clown hits a wall, and a
click sound that is used when the player manages to click with the mouse on the clown.
Controls
The only control the player has is the mouse. Clicking with the left mouse button on the clown will
catch it.
Game flow
At the start of the game the score is set to 0. The room with the moving clown is shown. The game
immediately begins. When the player presses the <Esc> key the game ends.
Levels
There is just one level. The difficulty of the game increases because the speed of the clown increases
after each successful catch.
Tidak ada komentar:
Posting Komentar