Cosmic Coin Dash Guide
6th Grade Scratch Project Guide
Cosmic Coin Dash
Name:
Date:
Your Mission
Build an arcade space game in Scratch! You will pilot a spaceship with the arrow keys, collect spinning space coins to earn points, and dodge bouncing asteroids.
Events Forever Loops Conditionals (If/Then) Variables
0 Set Up Your Stage & Sprites
1. Backdrop
Delete the cat sprite. Choose a space backdrop like Stars or Galaxy.
2. Three Sprites
Add Rocketship (size 50), Star or Coin (size 40), and Rocks (size 45).
3. Score Variable
Go to Variables → Make a Variable → name it score.
1 Code the Rocketship Controls
Sprite: Rocketship
Make your ship start in the center, reset the score, and glide smoothly when you press the arrow keys.
- Select the Rocketship sprite.
- Start with when green flag clicked.
- Reset
score to 0 and send the ship to x: 0, y: 0.
- Add a forever loop.
- Inside the loop, place four if ... then blocks—one for each arrow key.
- Use change y by 6 (up),
-6 (down), and change x by 6 (right), -6 (left).
Block Recipe
when ⚑ clicked
set [score] to (0)
go to x: (0) y: (0)
forever
if <key up arrow pressed?> then
change y by (6)
if <key down arrow pressed?> then
change y by (-6)
+ repeat for right (+6 x) & left (-6 x)
Checkpoint 1: Test Flight
Tested & Working
Click the Green Flag: Does your ship snap to the center and does score reset to 0?
Press all 4 arrows: Does your ship move smoothly in every direction without getting stuck?
2 Code the Space Coins
Sprite: Star / Coin
When the Rocketship touches a coin, play a sound, add 1 point to score, and teleport the coin to a new random spot.
- Select your Star / Coin sprite.
- Start with when green flag clicked and send it to a go to random position.
- Add a forever loop.
- Inside, check if touching Rocketship?.
- When touched: play a Coin or Collect sound, change
score by 1, and jump to a new random position!
Block Recipe
when ⚑ clicked
go to [random position]
forever
if <touching [Rocketship]?> then
start sound [Collect]
change [score] by (1)
go to [random position]
3 Code the Bouncing Asteroids
Sprite: Rocks
Make an asteroid drift across space and bounce off the edges. If it hits your ship, the game ends!
- Select the Rocks sprite.
- At the start, place it at
x: -180, y: 120 (away from the center) and point in a diagonal direction like 45.
- In a forever loop, use move 4 steps and if on edge, bounce.
- Add an if touching Rocketship? block to say "Game Over!" and stop all.
Block Recipe
when ⚑ clicked
go to x: (-180) y: (120)
point in direction (45)
forever
move (4) steps
if on edge, bounce
if <touching [Rocketship]?> then
say [Game Over!] for (1) secs
stop [all]
Checkpoint 2: Debug & Playtest
Tested & Working
Coin Check: Does collecting a coin add exactly 1 point and move it somewhere new?
Collision Check: Does hitting the asteroid stop the game? Tip: If it ends instantly at start, check the asteroid's starting x/y!
Level-Up Challenges (Pick at least 1!)
1. Double Trouble
Duplicate your Rocks sprite to add a second asteroid at a different speed.
2. Spin & Shine
Make your coin spin using turn 5 degrees inside its forever loop.
3. Win Condition
Add an if score = 15 check to switch to a Victory backdrop!
Finished-Project Checklist
Check off every item before turning in your Scratch project.
Final Review
| Done |
Category |
Requirement |
|
Stage & Sprites |
Space backdrop is set and all sprites (Rocketship, Coin, Asteroid) are sized to fit the screen. |
|
Clean Reset |
Clicking the Green Flag resets score to 0 and places all sprites in safe starting positions. |
|
Ship Controls |
All four arrow keys move the Rocketship smoothly up, down, left, and right. |
|
Coin Scoring |
Touching a coin plays a sound, adds 1 to score, and moves the coin to a new random spot. |
|
Asteroid Hazard |
Asteroid moves continuously, bounces off edges, and ends the game when it touches the ship. |
|
Level-Up Feature |
At least one Level-Up Challenge (extra asteroid, spinning coin, win screen, or custom twist) works. |
|
Title & Notes |
Project is named clearly and the Scratch project page includes brief "How to Play" instructions. |
Mission Debrief (Reflection)
1. Which Level-Up Challenge or custom feature did you add, and how did you code it?
2. Describe one bug you found while testing your game and how you fixed it.
Playtest Sign-Off
Peer Tester Name:
One thing that worked great:
Teacher Check / Initials:
Notes:
Pixel Maze Escape Guide
6th Grade Scratch Project Guide
Pixel Maze Escape
Name:
Date:
Your Mission
Design and code a top-down maze game in Scratch! Guide your explorer through solid maze walls, collect the hidden key to unlock the exit portal, and escape.
Color Sensing Wall Collision Broadcasting Loops & Conditionals
0 Paint Your Maze & Add Sprites
1. Maze Backdrop
Click Paint on Backdrops. Draw thick maze walls using one solid color (like dark purple) with wide paths.
2. Three Sprites
Add Explorer (e.g., Gobo, size 35), Key (size 40), and Portal (e.g., Star or Door, size 50).
3. Start Spots
Drag each sprite into open maze spaces: Explorer at the start, Key in a corner, Portal at the exit.
1 Code Explorer Movement & Wall Bounce
Sprite: Explorer
Move your explorer with the arrow keys. Right after each move, check if it touched the wall color—if so, step right back!
- Select your Explorer sprite.
- Start with when green flag clicked and go to x: y: using your start coordinates.
- Add a forever loop with four if ... then blocks (up, down, right, left).
- Inside each direction, move 4 steps, then immediately check if touching color? (use the eyedropper to pick your wall color) and undo by -4 steps!
Block Recipe
when ⚑ clicked
go to x: (-190) y: (140)
forever
if <key right arrow pressed?> then
change x by (4)
if <touching color [wall]?> then
change x by (-4)
+ repeat for left (-4 / +4 x), up (+4 / -4 y), down (-4 / +4 y)
Checkpoint 1: Wall Test
Tested & Working
Maze Fit: Can your explorer fit cleanly through every hallway without getting stuck?
Solid Walls: Does your explorer stop at the maze walls instead of walking right through them?
2 Code the Magic Key & Broadcast
Sprite: Key
When the Explorer touches the Key, play a chime, hide the key, and send a secret broadcast message so the Exit Portal knows to unlock!
- Select your Key sprite.
- Start with when green flag clicked and show so it reappears every new game.
- Add a forever loop checking if touching Explorer?.
- Inside: play a sound, broadcast [unlock], and hide.
Block Recipe
when ⚑ clicked
show
forever
if <touching [Explorer]?> then
start sound [Magic Spell]
broadcast [unlock]
hide
3 Code the Locked Exit Portal
Sprite: Portal
At the start, the portal looks faded (locked). Once it receives the unlock broadcast, it lights up and lets the player win!
- Select your Portal sprite.
- Script 1: On Green Flag, set set ghost effect to 60 so it looks locked.
- Script 2: Start with when I receive [unlock] and clear graphic effects.
- Add a forever loop: if touching Explorer, say "You Escaped!" and stop all.
Block Recipe (2 Scripts)
when ⚑ clicked
set [ghost] effect to (60)
when I receive [unlock]
clear graphic effects
forever
if <touching [Explorer]?> then
say [You Escaped!] for (2) secs
stop [all]
Checkpoint 2: Key & Portal Test
Tested & Working
Locked Check: If you touch the portal before grabbing the key, does it stay locked?
Unlock Check: Does grabbing the key light up the portal and let you win when you reach it?
Level-Up Challenges (Pick at least 1!)
1. Patrol Guard
Add a moving guard sprite using glide that sends the player back to start.
2. Escape Timer
Create a time variable that counts down from 30 seconds.
3. Level 2 Maze
Paint a second maze backdrop and switch to it when the portal is reached!
Finished-Project Checklist
Check off every item before turning in your Scratch project.
Final Review
| Done |
Category |
Requirement |
|
Maze & Sprites |
Custom maze has solid-color walls and hallways wide enough for the Explorer sprite. |
|
Clean Reset |
Green Flag returns Explorer to start, shows the Key, and resets the Portal to locked (ghost effect). |
|
Wall Collision |
Arrow keys move smoothly and Explorer cannot pass through any maze walls. |
|
Key Broadcast |
Touching the Key plays a sound, hides the key, and broadcasts unlock. |
|
Win Condition |
Portal only unlocks after receiving unlock and ends the game when reached. |
|
Level-Up Feature |
At least one Level-Up Challenge (patrol guard, timer, Level 2, or custom twist) works. |
|
Title & Notes |
Project is named clearly and the Scratch project page includes brief "How to Play" instructions. |
Mission Debrief (Reflection)
1. How does the broadcast block help the Key and Portal work together?
2. Describe one bug you found while testing your maze and how you fixed it.
Playtest Sign-Off
Peer Tester Name:
One thing that worked great:
Teacher Check / Initials:
Notes: