Game Development Reference
In-Depth Information
Setting up the direction of the sprite's movement
In the
Add action
window, we can see all of the possible actions we can add for a sprite.
In this situation, we want the sprite to move up when the user presses the
W
key. Scroll
down until you see
Size & Position
and double-click on
Move at angle
as shown in the
following screenshot:
Once you have done that, it should bring up the
Parameters for Sprite: Move at angle
window shown in the following screenshot: