Events change things

Try itChanging how it looks

Now put the two ideas together. An event happens, and the slime changes how it looks.

​
​

A new event

when I lose the {Hero} is the other half of when I see the {Hero}. It happens when the hero goes too far away to be seen.

Scare the slime

  1. Press Play Play this script.
  2. Click the little game.
  3. Walk the hero toward the slime. It sees him, and fades.
  4. Walk the hero back to where he began. The slime loses sight of him, and fades back in.

How it works

RuleIts eventWhat the slime does
1The game startsStands still.
2It sees the heroFades out.
3It loses the heroFades back in.

Walk up and back as many times as you like. Each time an event happens, its rule runs again.

This section ticks itself when you press Play Play this script.

Press Play in the code box to finish this section.