go to x: [240] y: [-150] , glide [1] secs to x: [-240] y: [-150] Stop if sprites touch if then [stop all] 4. Track Score Increase score per obstacle cleared change [score] by [1]
The player controls a chick that "jumps" by changing its vertical ( ) position. A simple jump uses a repeat loop to increase go to x: [240] y: [-150] , glide
Breaking down a complex movement (jumping) into sequential steps. You can find further inspiration and specific tutorials
You can find further inspiration and specific tutorials on YouTube or the Scratch Foundation's Learning Library . How to Make a Jumping Game in Scratch | Tutorial Quick Implementation Guide Key Scratch Blocks 1
For students in technical fields like a polytechnic, this simple game serves as a bridge to professional :
A score variable increases every time an egg successfully crosses the screen or when the player completes a jump. Engineering & Polytechnic Applications
Students "debug" their code by testing jump heights and obstacle speeds to ensure the game is balanced and playable. Quick Implementation Guide Key Scratch Blocks 1. Jump Trigger jump on space key pressed repeat , change y by [10] , then change y by [-10] 2. Move Obstacle Make the egg move from right to left