We'll make magical stars appear! ✨
We'll create a super fun game! 🎯
We'll learn about clones and scoring! 🎮
Think of clones like magic copies! ✨
Just like copying your favorite toy! 🧸
• Clones help us make many stars! ⭐ • We can make enemies too! 👾 • It's super easy with code! 💻
Let's make our first clone:
💡 Did You Know? 🤔
In video games, clones save time! One star becomes hundreds! ⭐⭐⭐
The clone startup block is special! 🎯
It tells clones what to do! 📝
Super Important! 🚨
Too many clones slow games down! 🐌
Always delete old clones! 🗑️
💡 Did You Know? 🤔
Games can have 300 clones max! That's a lot of stars! ⭐
Want stars to surprise you? 🎉
Let's make them pop up randomly! 🎰
First, grab this special block! 🎯
Now add pick random blocks! 🎰
One for x, one for y! 📐
💡 Did You Know? 🤔
X moves left and right! <->️
Y moves up and down! ↕️
Pick where stars can appear! 🌟
Use numbers like -100 to 100! 🔢
Magic Screen Blocks: 📱
This block watches for changes! 👀
Like a magic alarm bell! 🔔
Every game needs points! 🎯
Let's make it count! 💯
Step One: Click Variables button! 📦
Step 2: Click CREATE VARIABLE! ✨
Step 3: Name it "score"! 🏷️
Step 4: Pick "for all actors"! 🎭
💡 Did You Know? 🤔
Variables are like magic boxes! They remember numbers for us! 📦💫
Your Score Toolbox: 🧰
• Set score to 0 🔄
Start fresh every game! 🆕
• Change score by 1 ⬆️
Yay! You got a point! 🎉
• Change score by -10 ⬇️
Oh no! Enemy touched you! 😱
Catch magical stars at night! ⭐
Avoid the sneaky obstacles! 👾
Get the highest score ever! 🏆
Pick a pretty background! 🖼️
Add Your Game Friends! 🎭
💡 Did You Know? 🤔
Real stars are super hot! But our game stars are friendly! ⭐😊
Step One: Hide the First Star 🙈
# Star's Secret Code
on start
hide # Shhh! Hide me!
Step 2: Make Star Copies! 🌟
# Magic Star Maker
on start
forever
create clone of Star
wait 2 secs # Every 2 seconds!
Step 3: Star Clone Dance! 💃
# Each Star Clone Does This
clone startup
go to x: pick random -200 to 200
go to y: pick random -150 to 150
show # Tada! I appear!
wait 5 secs
delete this clone # Poof! Bye bye!
Use Arrow Keys! ⬆️⬇️⬅️➡️
# Hero Movement Magic
when up arrow pressed
change y by 10 # Jump up!
when down arrow pressed
change y by -10 # Duck down!
when left arrow pressed
change x by -10 # Run left!
when right arrow pressed
change x by 10 # Run right!
💡 Did You Know? 🤔
The arrow keys control games! Just like a game controller! 🎮
Step One: Make a "score" variable! 📊
Step 2: Start at 0 points! 🆕
When You Catch a Star! ⭐
# Star's Happy Code
when occurs touching Player
change score by 10 # Yay! 10 points!
delete this clone # Star collected!
When Enemy Catches You! 😱
# Enemy's Sneaky Code
when occurs touching Player
change score by -5 # Ouch! Lose 5!
delete this clone # Enemy disappears!
You Win! 🎉
# Victory Dance!
when occurs score > 100
say "You Win! Amazing!" for 3 secs
stop all # Game ends!
Game Over! 😭
# Try Again!
when occurs score < -20
say "Game Over! Try again!" for 3 secs
stop all # Game ends!
💡 Did You Know? 🤔
Most games have 3 lives! But you can change it! 🎮💖💖💖
Make It Sparkle! 🌟
Add Fun Sounds! 🎵
Easy Mode (For Beginners!) 🐣
Medium Mode (Getting Better!) 🦆
Hard Mode (You're a Pro!) 🦅
You're now a game maker! 🎮
You learned amazing things! 🌟
💡 Did You Know? 🤔
Real game developers use these same ideas! You're learning like a pro! 🎮👨💻
You built a real game! 🎮
Stars appear like magic! ⭐
Your score goes up and down! 📊
You made something awesome! 🌟
You're a coding superstar! 🌟
Keep creating amazing games! 🚀
The sky's the limit! 🌌
🎊 CONGRATULATIONS! 🎊