Meet the code widget
Try itWelcome
This is a code box. Almost every chapter has one.
The script is on the left. A script is a list of things for a character to do. A little game is on the right. That is where you try the script.
Press Play
Press Play
, under the little game. Then watch the enemy.
What happened?
The script belongs to the enemy. The enemy did just what the script says.
| The script says | So the enemy |
|---|---|
when I start | waits for the game to start |
say "Hello!" | says Hello! in a speech bubble |
patrol | walks back and forth |
You do not have to remember these words. You learn them one at a time, starting in the next chapter.
Play with it
You can not break a code box, so try things.
| Try this | How |
|---|---|
| Move the hero | Click the little game. Then use the arrow keys to walk and jump. |
| Stop the game | Press Stop |
| Change what the enemy says | Press Stop. Click Hello! in the script and type new words. Then press Play. |
| See the script as blocks | Press Blocks |
This section ticks itself when you press Play.

