:information_source: Info :dart: Your Game Mission
Difficulty: ⭐⭐⭐ (3 stars)
Sessions: 2 classes
What you'll build: An epic space game! Control an alien dodging a flying dragon! :rocket::emoji:
mermaid
graph LR
A[Day 1: Build Your Game World] --> B[Day 2: Add Super Powers]
style A fill:#FFE4B5,stroke:#FF8C00,stroke-width:3px
style B fill:#E6E6FA,stroke:#9370DB,stroke-width:3px
Create 3 cool backgrounds
Add your alien hero
Make the scary dragon
Program movement controls
Create collision detection
Add game over screen
Make it more challenging
Celebrate your game!
:emoji:️ Three Cool Screens:
Start screen (how to play)
Game screen (where you play)
Game Over screen (try again!)
:video_game: Fun Game Parts:
Alien hero (you control it!)
Flying dragon (watch out!)
Play button (click to start!)
Cool music (plays all game!)
Crash detection (game ends!)
Click this special link: Avoid The Enemy Project
Click "Remix" to make it yours!
Wait for teacher to begin!
Time to build your space world!
Add 3 backgrounds:
Start screen
Game screen
Game Over screen
Add your heroes:
Alien (that's you!)
Dragon (the enemy!)
:bulb: :star2: Helper Hint!
Look for the backgrounds tab! It has a picture icon!
Let's program your stage!
Find "on start" block
Add "switch to background"
Pick instruction background
Add music that plays forever!
:bulb: :star2: Helper Hint!
The "forever" block makes music play all game long!
Make a button to start!
Add new actor (play button)
Use "go to x: y:" to place it
Program it:
When clicked -> hide button
Broadcast "play" message
Position your hero!
Click on alien actor
Add "on start" block
Use "go to x: y:"
Pick starting spot!
Add arrow key controls!
Add "when I receive play"
Show your alien
Add "forever" loop
Inside forever add:
If up arrow -> move up
If down arrow -> move down
:bulb: :star2: Helper Hint!
Use "change y by" blocks to move up and down!
You built your game world! Tomorrow we add the dragon!
Make your enemy move!
Click dragon actor
Hide dragon at start
Add "forever" loop
Inside add "animate"
When game starts:
Show dragon
Make it fly across!
:bulb: :star2: Helper Hint!
Dragons should start on the right and fly left!
Make crashes end the game!
Add "when...occurs" block
Set to "touching alien"
When they touch:
Hide dragon
Stop music
Show Game Over
Click green flag
Press play button
Use arrows to dodge!
Don't hit the dragon!
Make it harder:
Add 2 dragons!
Make dragons go faster!
Add space rocks!
Make it prettier:
New alien colors!
Sparkle effects!
Rainbow backgrounds!
Make it louder:
Crash sounds!
Victory music!
Alien noises!
:bulb: :star2: Helper Hint!
Start with one change. Test it. Then add more!
How to make 3 game screens
How to control characters
How to detect crashes
How to make a real game!
Save your awesome game
Copy your game link
Submit it here!
You made your first action game! You're amazing!
Show your family! They'll be so proud! :star2:
success :emoji: Achievement Unlocked!
Space Game Master - You created an alien adventure game!