Theory
🤔 18. Pick a peach
🍑 Goal:
🎯 Find the ripe peach on the tree.
👆 Tap a peach to check its ripeness; if ready, it falls.
🎮 Game Creation:
📝 Script the peaches on the tree for the game.
📚 What You’ll Learn:
🚦 Learn to start scripts by tapping characters.
🖱️ Use the Start on Tap block.
🔍 Explore the Shrink block.
🏠 Learn about the Go Home block.
🔄 Understand the Reset Characters button.
🍑 Adjust Size:
🟪 Tap the purple looks blocks category.
📉 Drag the Shrink block to your peach’s programming area.
👆 Tap it twice to decrease the size of the peach.
🍑 Adjust Size:
🔍 Drag the Shrink block back to the blocks palette to delete it.
Choose Trigger:
🟨 Tap the yellow triggering blocks category.
📱 Select the Start on Tap block to bring characters to life with a tap.
🖱️ Drag Start on Tap Block:
👉 Drag the Start on Tap block to the programming area.
🔄 Add Blue Motion Blocks:
🟦 Attach blue motion blocks to make the peach wiggle and fall from the tree.
🍑 Try it Out:
👆 Tap the peach and observe its action.
🔄 Reset Character Position:
🔄 Tapping the peach again restarts its script from the ground.
🔄 Use the Reset Characters button to return the peach to the tree.
🔁 Reset Characters:
🏠 Returns all characters to their home positions.
🍑 Reset Specific Character:
🔄 If you want only the peach character to return home.
8️⃣ Find Go Home Block:
🔵 Tap the blue motion blocks category to locate the Go Home block.
Move the Go Home Block:
🔄 Drag the Go Home block to the end of the peach’s script.
Now the peach will hop back up onto the tree after it has fallen, and you can
play the game again!