Move ( ) Steps
-
Prerequisite
The Move ( ) Steps Block
This block makes a sprite move some number of steps forward:
ccimg2||250||,
Number of Steps
Suppose we write 50 in the input, then it will make the sprite move forward 50 steps.
ccimg||900||,
Moving Direction
By default, a sprite will move to the right of the stage. If we change the sprite’s direction, such as making it make a right turn, then it will move in the new direction.
Trapped inside the Player Window
A sprite can never move outside of the player window. It will get stuck at the edge, leaving a small “tail” for us to catch it.
ccimg3||600||,
-
info-creaticode