This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
extensions:esprite [2012/02/26 04:53] – efranford | extensions:esprite [2015/09/14 11:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
+ | ====== ESprite ====== | ||
+ | |||
+ | ---- dataentry extension ---- | ||
+ | type : extension | ||
+ | author_mail | ||
+ | description | ||
+ | lastupdate_dt : 2012-02-25 # the date you created the extension | ||
+ | compatible | ||
+ | depends | ||
+ | tags : sprite, | ||
+ | homepage_url | ||
+ | download_url | ||
+ | ---- | ||
+ | |||
+ | ===== Usage ===== | ||
+ | |||
+ | The Sparrow Enhanced Sprite aims at making and managing sprites easier. | ||
+ | |||
+ | Quick and dirty to make a sprite you can just do: | ||
+ | |||
+ | <code objc> | ||
+ | ESprite* sprite = [[ESprite alloc]initWithESpriteFile: | ||
+ | [self addChild: | ||
+ | </ | ||
+ | |||
+ | To do this you need to define an ESprite in an xml file. The XML object expected looks like: | ||
+ | |||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | <ESprite name=" | ||
+ | <State name=" | ||
+ | ... | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | I recommend [[https:// | ||
+ | |||
+ | ===== Example Screenshot ===== | ||
+ | {{ http:// | ||
+ | ===== Changelog ===== | ||
+ | |||
+ | * // | ||
+ | |||
+ | ===== Source Code ===== | ||
+ | |||
+ | %gist(1912407)% | ||
+ | |||
+ | ===== Discussion ===== | ||
+ | |||
+ | //No comments so far. Feel free to edit this part of the page.// |