Stage 10: Finish Screen and Demo Mode
Stage 10: Finish Screen and Demo Mode
Keep your Scratch project tab open all week. Open in a new tab so you don’t leave the course.
win/lose screens, rank, and demo checklist
how a game communicates the ending
a finished Scratch game ready for parent demo
- Paint a Message sprite with two costumes: crash and complete.
- Create a rank variable with names based on score.
- Show score, time, and rank when the game ends.
- Walk through the parent demo: play, explain one script, show one custom asset.
The big idea
The final screen turns a run into a story. It tells the player what happened, how they did, and why they should try again.
- finish screen
- the screen shown when a game ends
- rank
- a named result based on score
- demo
- showing and explaining your project to someone else
- showcase
- the polished version people get to play
Stages 1-9 should be complete enough to play from green flag to crash or win.
Students may follow these examples or draw their own versions in Scratch. Keep the sprite names from the lesson.
Follow the target shapes shown here so your scripts match the lesson quickly.
Draw a custom cube, spikes, portal, or backdrop in Scratch. Keep the same sprite names so the code still works.
The cube stays near the left side while the level scrolls toward it. Jump timing is the whole game.
Build it
- Paint a Message sprite with a Crash costume and a Complete costume.
- Create a rank variable for all sprites.
- When gameOn becomes 0, choose the correct costume based on levelComplete.
- Set rank using the score cascade.
- Show score, time, and rank for the demo.
Rank cascade
when green flag clicked hide set [rank v] to [Rookie] forever if <(gameOn) = (0)> then set [rank v] to [Rookie] if <(score) > (150)> then set [rank v] to [Jumper] end if <(score) > (300)> then set [rank v] to [Rhythm Runner] end if <(score) > (450)> then set [rank v] to [Portal Master] end if <(levelComplete) = (1)> then switch costume to [Complete v] else switch costume to [Crash v] end show stop [this script v] end end
Understand it
The rank cascade starts low, then upgrades as the score passes thresholds. The last true check wins, which is the same pattern used in many game reward systems.
Try this
Try this
Three short experiments. Predict before you run, then test your guess.
Test your stage
- Crash shows the crash costume.
- Winning shows the complete costume.
- score, time, and rank are visible at the end.
- The project is saved and share-ready.
If it breaks
- If the wrong costume shows, check levelComplete before gameOn switches to 0.
- If the message never appears, make sure the Message sprite is running its forever loop.
Keep students moving on the default path first. Custom assets are encouraged, but the required names and variables are not optional. If debugging takes more than a few minutes, compare the student's sprite names, variable names, and block order against the stage test list.