🧠Concept
Pick the right answer.
delete this clone. Why is this important?<key [left arrow ▾] pressed?> inside a forever loop, not when [left arrow ▾] key pressed. What is the advantage?high-scores list. The player clicks the green flag again. What happens to the list?change y by (30) each frame. The small enemy moves toward it. What problem can happen?👀Code Reading
Look at the blocks. Predict what happens.
enemies-in-wave at the start of wave 3?when flag clicked
set [wave v] to (1)
set [enemies-in-wave v] to (5)
forever
set [spawned v] to (0)
repeat (enemies-in-wave)
spawn-enemy ::custom
change [spawned v] by (1)
wait (pick random (0.5) to (1.5)) secs
end
wait until <(enemies-remaining) = (0)>
change [wave v] by (1)
change [enemies-in-wave v] by (2)
endlives reaches 0?when I receive [ship-hit v] set [color v] effect to (25) wait (0.2) secs clear graphic effects change [lives v] by (-1) if <(lives) = (0)> then broadcast [game-over v] and wait end
stamp do here?when flag clicked
set y to (180)
forever
stamp
change y by (-3)
if <(y position) < (-180)> then
set y to (180)
set x to (pick random (-220) to (220))
end
end🐛Find the Bug
Something is broken. Pick the fix.
Bullets travel upward and stop at enemies, but the score never increases and the enemies keep falling. The enemy clone script is shown below. What is wrong?
when I start as a clone show repeat until <(y position) < (-180)> change y by ((speed) * (-1)) end change [enemies-remaining v] by (-1) delete this clone
🛠️Build It
Pick a level. Build it. Check the boxes.
Keep the ship on the screen.
More
Build the core ship. Add a Rocketship sprite on a Stars backdrop. Create score and lives variables and display them on stage. When the flag is clicked, set rotation style to "don't rotate", set lives to 3 and score to 0. Use a forever loop to move the ship left and right with arrow keys.
Done when
The ship moves smoothly left and right. Rotation style is "don't rotate" so the ship always faces up. score and lives are visible on stage with correct starting values.
Shoot a bullet and score.
More
Add bullets and enemies to the ship from EASY. Define a fire-bullet custom block on the ship that creates a Bullet clone. The bullet clone travels upward and deletes itself when it reaches y > 180 or touches an Enemy. Create an Enemy sprite that spawns clones from random x positions at y: 180 and moves them downward. When a bullet touches an enemy, change score by 10 and delete both the bullet clone and the enemy clone. When an enemy touches the ship, decrease lives by 1.
Done when
Bullets fire from the ship's current position. Bullets travel upward and disappear at the top edge. Enemies fall from random x positions at the top. Score increases by 10 on each bullet-enemy hit. Lives decrease by 1 on each enemy-ship collision.
Count waves, then save the score.
More
Complete the full Space Patrol game from MEDIUM. Add: a wave system where each wave spawns enemies-in-wave enemies (starting at 5, adding 2 each wave), waiting until enemies-remaining = 0 before launching the next wave. Add a high-scores list that stores the player's score when lives reach 0, then displays the most recent entry and stops all. Add a star field: a Star sprite that jumps to 40 random spots, stamps one star at each spot, then hides.
Done when
All five systems (ship, bullets, enemies, wave controller, scoring) work together without breaking. enemies-remaining tracks active clones correctly. The high-scores list receives the score on game over. A stamped star field sits behind the game and the ship flies over it. The game ends cleanly with a score display.
Review the student's project, then check each thing they did.
Project Evaluation
0 of 4 ticked
💬Talk About It
Present your project to your teacher or a classmate.
- 1️⃣Show a friend your game over.
- 2️⃣Point to your
broadcast [game-over] and waitblock. - 3️⃣Say one thing it does.
Watch the student present, then check each thing they did.
Presentation Checklist
0 of 4 ticked
📤Submit
Send your results to your teacher and parent.
0 of 0 answered