Add 2D animation tutorial

This commit is contained in:
Chris Bradfield
2019-03-24 12:35:31 -07:00
parent b9c4ef11f6
commit 25fae63f12
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
.. _doc_2d_sprite_animation:
2D Sprite Animation
===================
Introduction
------------
In this tutorial, you'll learn two different ways to create 2D animated
characters. Typically, when you create or download an animated character, it
will come in one of two ways: as individual images or as a single spritesheet
containing all the animation's frames. Depending on which type of assets you
have, you can choose one of the following solutions.
First, we'll use :ref:`AnimatedSprite <class_AnimatedSprite>` to
animate a collection of individual images. Then, to use a spritesheet, we'll
use :ref:`AnimationPlayer <class_AnimationPlayer>` along with the _Animation_
property of :ref:`Sprite <class_Sprite>`.
Individual images with AnimatedSprite
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sprite sheets with AnimationPlayer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@@ -13,3 +13,4 @@
2d_lights_and_shadows
2d_meshes
custom_drawing_in_2d
2d_sprite_animation