Spriteloq v1.4.0 out

v1.4.0 - 12/3/2011
-Added Include Reverse export setting for assets at the bottom of the asset controls panel. When enabled includes additional sprite information in the metadata that allows for a sprite's animation to be played in reversed.

If your sprite name is 'hero run' then checking "Include Reverse" will add an additional sprite in the metadata so you can play 'hero run reverse'.

1
2
3
4
5
local sf = require('loq_sprite').newFactory('sheet')
 
local hero = sf:newSpriteGroup('hero run')
-- if Include Reverse is checked for 'hero run' then
hero:play('hero run reverse')
views:1269 update:2012/1/1 13:29:50
corona forums © 2003-2011