Download presentation
Presentation is loading. Please wait.
Published byMarian Booth Modified over 8 years ago
1
Today we are learning to: Understand how actions and events control our game. Completing the catch the clown game – making a room – adding music Gather evidence of your game – test it – explain how you made it! Learning Objectives
2
Events & Actions make games work EventActions Clown Created at beginning of game1. Start moving in a random direction Clown collides or hits against wall1. Bounce of wall 2. Play the bounce sound Click mouse on the clown1. Add 10 pints to the score 2. Play the click sound 3. Jump to a random location 4. Move faster in a random direction
3
Events & Actions make games work Double click an object then click the Add Event button then drag an action the action area. This makes a certain action happen when a certain event occurs it’s like a sensor sensing an input and setting up an output! This is adding control to our game! Event Action Set up action properties
4
Lets make a new game 1. Make a sprite – what the player looks like 2. Create a player (an object) 3. Add some events – tell the player to step forward (the same as pressing the up arrow on the keyboard) – the action is that the player steps forward (we use a move action in game maker) - tell the player to step back (the same as pressing the down arrow on the keyboard) - the action is that the player steps back (we use a move action in game maker) 4. Let’s play it! Does it work? Role play exercise
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.