Create & Learn
Background

Try Unicorn and Wizard's Island Journey for fun Scratch Project!

Unicorn and Wizard's Island Journey

Platform: Scratch
Level: intermediate

Develop a story where the player decides if the Unicorn and Wizard explore the island's castle or venture into the spooky forest. Use messaging to switch between story backdrops and characters' costumes to show different emotions. Implement cloning to display multiple scattered items or obstacles, and variables to remember which path was chosen to influence later choices.

Save to Account
See All Projects

Backdrop And Sprite Images For The Project

background
background
1024 x 1024
Unicorn
Unicorn
1024 x 1024
Wizard
Wizard
1024 x 1024

Unicorn and Wizard's Island Journey: Solution Outline

These are the high level steps to create this project. Try to create the project on your own first as much as possible, before checking the detailed solution samples below.

  1. Set up characters, backdrops, and variables.
  2. Create the story introduction and player choice.
  3. Use messaging to switch backdrops and change character costumes for emotions.
  4. Use clones to create scattered items or obstacles.
  5. Use variables and sensing to influence later choices.

Unicorn and Wizard's Island Journey Sample Solutions

This section provides detailed, step-by-step instructions on how to build the project. There are many ways to create a project, so feel free to explore different approaches. Please note that these instructions are Al-generated, so errors may occur and the coding blocks may not map to Scratch exactly. But it should serve as very valuable references. Stay attentive as you follow along, and enjoy!

1. Set up characters, backdrops, and variables.

Create the Unicorn and Wizard sprites. Add at least two backdrops: one for the island, one for the castle, and one for the spooky forest. Make a variable called 'PathChosen' to remember which path the player picks.

2. Create the story introduction and player choice.

Use the 'say' block to introduce the story. Ask the player if they want to explore the castle or the spooky forest. When the player clicks a button or sprite, set the 'PathChosen' variable and broadcast a message to switch scenes.

3. Use messaging to switch backdrops and change character costumes for emotions.

When the player chooses a path, use 'broadcast' to switch to the correct backdrop. Change the Unicorn and Wizard's costumes to show excitement or fear, depending on the path.

4. Use clones to create scattered items or obstacles.

In each path, use the 'create clone of myself' block to scatter items (like gems in the castle or spooky eyes in the forest). Use 'when I start as a clone' to set random positions for each clone.

5. Use variables and sensing to influence later choices.

Use the 'PathChosen' variable to change what happens next. For example, if the player picked the castle, maybe they find a key; if they picked the forest, they find a magic potion. Use 'if' blocks to check the variable and show different outcomes.

Common Potential Issues in Unicorn and Wizard's Island Journey Project

It is common to have bugs in the code. Here are some of issues you might run into.

  • Forgetting to hide clones after they are collected or no longer needed, which can clutter the screen.
  • Not using 'broadcast' messages correctly, which can cause scenes or costumes to not change as expected.
  • Forgetting to reset variables and sprites when the green flag is clicked, leading to unexpected behavior when replaying the project.

Extra Challenges For Unicorn and Wizard's Island Journey

  • Add a timer to make the player choose quickly, and show a different outcome if time runs out.
  • Let the player collect items by touching them, and keep score with a variable.

Learn Scratch Coding Skills

Enroll your child in award-winning online Scratch coding classes led live by experts and designed by professionals from Google, Stanford, and MIT.

Scratch Junior
Scratch Junior
Grades K-2
Start coding with ScratchJr, and make interactive stories and games
Learn More
Scratch Ninja
Free Intro
Scratch Ninja
Grades 2-6
Code games and animations with beginner-friendly Scratch coding
Accelerated Scratch
Free Intro
Accelerated Scratch
Grades 5-9
Fast-paced introduction to coding: build games, stories, and animations
Intermediate Game Building with Scratch
Intermediate Game Building with Scratch
Grades 3-6
Code a new fun Scratch game every week

Explore More Fun Scratch Practice

The challenge continues: Enjoy even more Scratch tutorials dreamed up by other students or use your imagination to make your own!

backgroundTry The Tutorial
Develop My Own Idea

Find Best Classes For Your Child

Explore your child's grade level to find computer science classes and learning pathways that set your student up for success.