Browse Source

Revert back for Animated sprites documentation

Mike3D 11 years ago
parent
commit
e142f4f350
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Docs/Reference.dox

+ 2 - 1
Docs/Reference.dox

@@ -1776,7 +1776,8 @@ You can chose from animated sprites, 2D particle emitters and static sprites.
 \section Urho2D_Animated Animated sprites
 \section Urho2D_Animated Animated sprites
 
 
 Workflow for creating animated sprites in Urho2D relies on Spriter (c).
 Workflow for creating animated sprites in Urho2D relies on Spriter (c).
-Spriter is a crossplatform tool for creating 2D animations. It comes both as an almost fully featured free version and a more advanced 'pro' version. Free version is available at http://www.brashmonkey.com/spriter.htm. To get started, scml files from Bin/Data/Urho2D folder can be loaded in Spriter. Note that although currently Spriter doesn't support spritesheets/texture atlases, Urho2D does: you just have to create a xml material file (see \ref Urho2D_Static_Sprites below and imp_all.xml as a sample) using the same name as your atlas image. Example 33_Urho2DSpriterAnimation is a good demonstration of this feature: 'imp_all.xml' material file is provided to match the atlas image ('imp_all.png') used by this example. You could remove the other image files in the 'imp' to test it out. However, keep your individual image files as they are still required if you want to later edit your scml project in Spriter.
+Spriter is a crossplatform tool for creating 2D animations. It comes both as an almost fully featured free version and a more advanced 'pro' version. Free version is available at http://www.brashmonkey.com/spriter.htm. To get started, scml files from Bin/Data/Urho2D folder can be loaded in Spriter. Note that although currently Spriter doesn't support spritesheets/texture atlases, Urho2D does: you just have to use the same name for your scml file and your spritesheet's xml file (see \ref SpriteSheet2D below for details on how to generate this file). Example 33_Urho2DSpriterAnimation is a good demonstration of this feature (scml file and xml spritesheet are both named 'imp' to instruct Urho2D to use the atlas instead of the individual files). You could remove every image files in the 'imp' folder and just keep 'imp_all.png' to test it out. However, keep your individual image files as they are still required if you want to later edit your scml project in Spriter.
+
 
 
 A *.scml file is loaded using AnimationSet2D class (Resource) and rendered using AnimatedSprite2D class (Drawable component):
 A *.scml file is loaded using AnimationSet2D class (Resource) and rendered using AnimatedSprite2D class (Drawable component):