Begin the lesson with a discussion about different ways a ball moves. Ask the students, "What happens when you throw a ball? How does it move when you dribble it on the ground?"
Guide the conversation to focus on the idea of bouncing, emphasizing that today, theyโll be programming a basketball to bounce just like it would on a real court.
Selecting the Background:
Inserting the Basketball Sprite:
Adding Scratch the Cat:
Creating the Bounce:
Adding Movement:
Using Parallel Coding:
Have the students create a sequence for Scratch the Cat that matches the movement of the basketball. Use the same forward movement blocks.
Encourage the students to press the green flag and observe how Scratch and the basketball move together. If the timing is off, prompt them to adjust the sequences until Scratch dribbles the basketball smoothly down the court.
Setting Up the Shot:
Programming the Shot: