Objects Rotation

Hi people
How can i rotate a object like the rotation of the star on this new game?
http://www.youtube.com/watch?v=EWBf1QFVsNI

i only know two ways:

object:rotation
and
using spritesSheets, can do this type of rotation with other code?

Thanks [import]uid: 26056 topic_id: 22829 reply_id: 322829[/import]

Since corona is a 2D platform, unless i am mistaken, the only way you could rotate a star like the ones in that game would be through the use of animations like sprite sheets. i could be wrong that’s for sure since i have not tried this. Also i believe that object.rotation rotates an object on its Z axis so you could not use that to rotate and object on its X axis like in that game. [import]uid: 126161 topic_id: 22829 reply_id: 91180[/import]

Spritesheets or movieclip - see;
CoronaSDK > SampleCode > Graphics > Movieclip

Peach :slight_smile: [import]uid: 52491 topic_id: 22829 reply_id: 91210[/import]

It is what i was thinking, only with moviecips or spritesheets.
Thanks for both of answers :slight_smile: [import]uid: 26056 topic_id: 22829 reply_id: 91252[/import]