Main > Features > Animated Sprites

Tiny2D supports sprites with multiple animations described using
simple XML format. It also does support sprite sheets / atlases.

To learn more about sprites check this.

Sample code:

// Declaration

Sprite sprite;

// Initialization (from my_sprite.sprite.xml)

sprite.Create("my_sprite");

// Updating

sprite.Update(deltaTime);

// Drawing

sprite.Draw(30, 30);





Contact: contact at pixelelephant dot com
(C) 2013 Pixel Elephant - All Rights Reserved