today we are learning to: understand how flow charts are used to design games add events to our...
DESCRIPTION
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 propertiesTRANSCRIPT
Today we are learning to:• Understand how flow charts are used to design games
• Add events to our objects to control stuff in our game – (Using the user guide numbers 7 to11)
Learning Objectives
Events & Actions make games workEvent Actions
Clown Created at beginning of game 1. Start moving in a random direction
Clown collides or hits against wall 1. Bounce of wall
2. Play the bounce sound
Click mouse on the clown 1. Add 10 pints to the score
2. Play the click sound
3. Jump to a random location
4. Move faster in a random direction
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