Presentation is loading. Please wait.

Presentation is loading. Please wait.

Learning about Conditional Selection before using it inside a Game

Similar presentations


Presentation on theme: "Learning about Conditional Selection before using it inside a Game"— Presentation transcript:

1 Learning about Conditional Selection before using it inside a Game

2 Condition starts action
If you are hungry put your hand up If you like computing smile If you are 8 or older Stand Sit

3 Condition switches between actions
If you are a girl Stand Else Bow If you like marmite Wave Frown

4 Condition stops repeated action
Repeat until shout stop Stand Sit Repeat until teacher raises arm Smile Frown Wave once

5 Sometimes we want the condition to be checked many times so we put it in a forever loop

6 Condition starts action
Forever loop checks the condition over and over again Forever If you are hungry put your hand up If you like computing smile

7 Condition switches between actions
Forever If you are a girl Stand Else Bow Forever loop checks the condition over and over again

8 Condition stops repeated action
Repeat until shout stop Stand Sit Repeat until teacher raises arm Smile Frown Wave once

9 On the playground there are lots of shapes like these
When you get to a shape look at your algorithm to see what actions you should be doing

10 What algorithms will you write for your friends to do?
Forever If touching __________ ___________ if touching _________ ____________ Else Forever If touching __________ ___________ Repeat until touching ________ _____________ What algorithms will you write for your friends to do?

11 Three stage game design and make
Plan how to move and steer a sprite (Purple Planning) Program a sprite to move and steer (Pink Programming) Test and debug movement and steering (Teal Testing) Plan how sprite will respond to colours on the stage Program sprite to respond to colours on the stage Test and debug how the sprite responds to colours Plan any extra additions Program extra additions Test and debug extra additions


Download ppt "Learning about Conditional Selection before using it inside a Game"

Similar presentations


Ads by Google