Sparkle

Try itChanging how it looks

In the last chapter, a rule waited for the hero to swing a sword. Now that rule will change how the slime looks.

​

Swing at the slime

  1. Press Play Play this script.
  2. Click the little game.
  3. Walk the hero toward the slime. Stop about two blocks away.
  4. Press the X key to swing the sword.

The slime bursts into sparkles. The event set off the rule, and the rule changed the slime.

Pick a new effect

  1. Press Stop Stop.
  2. Make sure Code Code is picked, at the top left of the code box.
  3. Click sparkles in the script. A list of effects opens.
  4. Pick one, such as fire.
  5. Press Play Play this script and swing again.

This section ticks itself when you press Play.

Press Play in the code box to finish this section.