Download presentation
Presentation is loading. Please wait.
Published byDorothy McDonald Modified over 9 years ago
1
CATCH SCRATCH! Programming from Scratch
2
Remember Scratch?
3
Learning Cycle Outcome & Objective Outcome Create a simple game called “Catch Scratch!” Objective Know the basics of the following computer programming concepts: 1. Loops (iteration) 2. Selection 3. Variables
4
Step 1: Moving a sprite Add this code block to your cat sprite. What do you think will happen?
5
Step 2: Moving Forever Use the forever block to create a loop What is different now? This forever block creates a loop (it happens lots of times)
6
Step 3: Bounce! You can bounce off the edges… Why do I go upside-down?
7
Step 4: Click to catch… Add an IF block… What should I say when I get caught? This if block is called a selection (it only happens IF it is true)
8
Step 5: Count the catches “catches” is a variable (a number that can vary) How many times can you catch me?
9
Advanced Challenges a) Can you make Scratch face in a random direction before moving? b) Can you make Scratch jump to another place on the screen after being caught? c) Can you make Scratch speed up after being caught? (Tip: try use another variable called speed)
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.