Game Development Reference
In-Depth Information
This window will tell the sprite to move at a certain angle and at a certain distance. The
angle
0
is the direct right of the sprite. Angle
180
is the direct left of the sprite. Angle
90
is straight down from the sprite and angle
270
is straight up. We want to move the sprite
straight up, so type in
270
where it says
Angle
and press
Done
. Once you do that, you
should see the following on the screen:
Setting keys for other directions
We have two options to set up commands to move in the other three directions. The first
option is to manually do everything all over again, and the second option is to simply
copy-and-paste the action. In order to copy-and-paste, you need to click on the purple bar
below an event, press
Ctrl
+
C
to copy, and then press
Ctrl
+
V
to paste. Do this three
more times so that we have four events in total, as shown in the following screenshot: