I’m working on a spriteset, which need to be played from actual Frame to Frame X forward or (if nearer in Animation-Phase) backwards.
I’ve found the object:reverse()-Function and used it for my Sprite, but got a runtime error (attempt to call method ‘reverse’ (a nil value)).
In the API-Docs the Funktion is described: “Starts the animated sprite playing in the Reverse direction”
- Is this function only for Movieclips?
- How to realize without ‘reverse’ a seamless animation for a rotating cannon-sprite, which should align on a moving enemy?
Could anybody give me an advice, I’m a newbee in Corona.
[import]uid: 88516 topic_id: 21457 reply_id: 321457[/import]
[import]uid: 52491 topic_id: 21457 reply_id: 85148[/import]