Game Development Reference
In-Depth Information
Building the animated sprites
Right-click inside
Content Browser
. Choose the
Sprite Flipbook
type from within the
Animation
submenu and you'll be able to add an empty animated sprite to your project dir-
ectory.
Double-click on this new asset to open its proper animation editor, which looks like (and is
actually) a very simple and easy-to-use editor.
To keep the animations as simple as possible, I managed to build only two:
•
Idle animation
: This will be displayed when the player is in the air
•
Running animation
: This will be displayed as long as the player is on the ground
By selecting all of the frames from the
Sprites
folder and dragging them into the lower-left
corner of the animation editor, you can place them into this animated sprite. Now you'll be
able to see a live view of the frames playing.
Search WWH ::
Custom Search