Worksheet 5 - Motion and Event Blocks
Assignment Task:
Create a Bouncing Ball Simulation using the Glide Random Block, Point in Direction, and Events.
Steps:
- Choose a Ball Sprite (e.g., basketball, soccer ball, or any round object).
- Set Initial Position: Move the ball to the center of the stage (X: 0, Y: 0).
- Set the Ball’s Direction: Make the ball face a random direction. (Pick any random 0 to 360)
- Make the Ball Move: Use the Glide Random Block to move the ball smoothly around the stage.
- Add Interactivity: When the sprite is clicked, it should change direction and glide again.
- Run the project and observe how the ball moves randomly and changes direction when clicked.
✅ Expected Outcome: The ball will continuously glide to random locations and change direction when clicked.
Bonus Challenge:
- Add sound effects when the ball moves.
- Change the speed of the ball by modifying the glide duration.