Kiki on the Move
Goal: Master Kiki's Movement
In this tutorial, you'll learn how to control Kiki's position on the stage using X and Y coordinates with the MOVE
command.
- Understanding the stage coordinate system (X for horizontal, Y for vertical).
- Using the
MOVE CharacterName TO X Y
command. - Making Kiki perform a simple "jump" sequence.
- Using
WAIT
to pause actions.
Let's Write Some Script!
- The script already sets a "forest" background and places Kiki at X:50, Y:150.
- **Move to Middle:** Add a new line and type:
MOVE Kiki TO 200 150
- **Make Kiki Jump:**
- On the next line, type:
MOVE Kiki TO 200 100
(Kiki moves up) - Then, type:
WAIT 0.5
(Kiki pauses in the air for half a second) - Finally, type:
MOVE Kiki TO 200 150
(Kiki lands back)
- On the next line, type:
- **Move to Right:** After the jump sequence, add a line:
MOVE Kiki TO 350 150
- Click the "▶️ Run Story" button to see Kiki's adventure!
Remember: The stage is like a grid. X values change left-to-right, and Y values change bottom-to-top (though here, smaller Y is higher up). Experiment with different numbers!