The Sparrow Enhanced Sprite aims at making and managing sprites easier.
Quick and dirty to make a sprite you can just do:
ESprite* sprite = [[ESprite alloc]initWithESpriteFile:@"sprite.xml" AndInitialAnimation:@"startingAnimation"]; [self addChild:sprite];
To do this you need to define an ESprite in an xml file. The XML object expected looks like:
<?xml version="1.0" encoding="UTF-8"?> <ESprite name="spriteName" spriteAtlas="atlasFile.xml"> <State name="someState" animationPrefix="prefixInAtlas" animationFPS="#" loop="bool" /> ... </ESprite>
I recommend downloading the example on github and trying that out.
No comments so far. Feel free to edit this part of the page.