Title: My First Game
1My First Game
Catch the Clown
2My First Game
Catch the Clown
Description
A clown is moving around in a room, and the
player is trying to catch him. The player catches
the clown by clicking on him with the mouse. If
the player catches the clown, the clown gets away
and begins to move faster. The score goes up
every time the player catches the clown.
3My First Game
Catch the Clown
Design
GAME OBJECTS The clown, and the wall. GAME
SOUNDS The bounce sound, when the clown hits
the wall.
The click sound, when the player clicks on the
clown. GAME CONTROLS
The mouse. GAME SCORE The score is set to 0, and
increases after each
capture. The game ends, when the Esc key is
pressed. GAME LEVEL
One level.
4My First Game
Catch the Clown
Development
ADD TWO SPRITES The clown and the wall.
Click transparent for
each sprite. ADD TWO SOUND FILES The sound of
the clown hitting the
wall.
The sound of the player
clicking on the
clown.
5My First Game
Catch the Clown
Development
ADD A 1ST OBJECT Wall Name obj_wall (visible,
solid) Events none Actions none
6My First Game
Catch the Clown
Development
ADD A 2ND OBJECT Clown Name obj_clown
(visible) Event 1 create, Action 1 (move)
start moving (8 arrows, self, speed 4,
ok.) Event 2 collision (wall), Action 2a (move)
bounce (self, not precisely, solid objects,
ok.) Action 2b (main1) sounds, bounce sound,
loopfalse, ok.
7My First Game
Catch the Clown
Development
2ND OBJECT Clown (continued) Event 3 mouse
(left pressed), Action 3a (score) set the
score (new score 10, relative, ok.) Action 3b
(main1) sounds, bounce sound, loopfalse, ok.
Action 3c (move) jump to a random position
(self, snap hor.0, snap vert.0, ok.) Action 3d
(move) start moving (8 arrows, self, speed
0.5, relative, ok.)
8My First Game
Catch the Clown
Development
ADD A ROOM Size of tiles snap x 32, snap y
32 (images are 32 x 32) Go to Object to add
with left mouse to insert the items
below Obj_wall (Use your mouse to insert a
wall, one at a time, all around the room. Use the
shift key and mouse to insert multiple
walls) Obj_clown ( Use your mouse to add one
clown in the middle of the room)
9My First Game
Catch the Clown
Development
- SAVE THE GAME
- It is always best to save your work frequently
- Go to File ---Save As
- Select a location
- Type in a name for the file
- Click ok
10My First Game
Catch the Clown
Evaluation
TEST THE GAME Go to Run -? Run Normally Some
questions to ask Does the game fit on the
computer screen? Is the initial speed ok? Does
the speed increase adequately. Is the game
suitable for the intended audience? Press the
Esc key to end the game
11My First Game
Catch the Clown
Development Spice Up
ADD A MIDI SOUND FILEName snd_background Go
to the clown object then the create event to do
the following Action 3e (main1) sounds,
snd_background, looptrue, ok. ADD A BACKGROUND
IMAGEChoose a background image (transparent
none)Go to the Room and uncheck Draw background
color Insert background image, check tile hor
and vert,
12My First Game
Catch the Clown
Development Spice Up (continued)
CHANGE CLOWNS DIRECTION IN A TIMELY MANNER Go
to the clown object then the create event to do
the following Action 3f (main2) set an alarm
clock, self, number of steps50, in alarm no0,
Relativeuncheck, ok. Event 3 mouse (left
pressed), Action 3a (score) set the score (new
score 10, relative, ok.) Action 3b (main1)
sounds, bounce sound, loopfalse, ok. Action 3c
(move) jump to a random position (self, snap
hor.0, snap vert.0, ok.)
13My First Game
Catch the Clown
Delivery
MAKE AN EXECUTABLE FILE Go to File -? Create
Executable Select a location Type in a name for
the file Click ok