130 likes | 309 Views
Homework: Complete homework 14 and homework 15 Date Due: Wednesday 29 th June Open Scratch: All Programs Department Software ICT Scratch. Scratch . Lesson 2: Pong Game. Objectives. Level 3 Level 4 Level 5. To be able to use the Paint Editor to create new sprites
E N D
Homework: • Complete homework 14 and homework 15 • Date Due: Wednesday 29th June • Open Scratch: • All Programs • Department Software • ICT • Scratch
Scratch Lesson 2: Pong Game
Objectives • Level 3 • Level 4 • Level 5 • To be able to use the Paint Editor to create new sprites • To be able to add sequences of code to the following sprites: • Ball • Paddle • To be able to use a variable in your script
Activity 1 • Create a Ball Sprite • Change the name of your sprite to ball • Create a Paddle Sprite • Change the name of your sprite to paddle
Activity 2: Make your Ball Move Ball Script • Make your Ball move around the stage • Click on the Ball Sprite • Copy the Ball Script onto your script area.
Activity 3: Control your paddle with a mouse Paddle Script • Control your paddle with a mouse • Click on the paddle sprite • Copy the paddle script onto your script area.
Extension: Keep Track of Lives • Create a variable called lives • Click on stage • Add script below:
Plenary 1. Which starts the game? 2. Which instruction creates a random number? 3. Which instruction checks to see if one sprite is touching another sprite? 4. Which instruction moves a sprite to specific coordinates? 5. Which instruction turns a sprite s number of Degrees? Draw a line to the correct part of the script.