animation

  291grup.jpg

How to play animation , am I need to write some code ?

Yes you need to use Sprite Sheets.

http://coronalabs.com/blog/2013/05/14/sprites-and-image-sheets-for-beginners/

If you have imported the spritesheets into Level Director and setup the animation correctly then in theory you do not need to write any code.

Providing the ‘Default’ and ‘Play’ flags are set (see below), LD will automatically play that animation sequence when you load the level.

animation.PNG

The animation window in level director

Yes you need to use Sprite Sheets.

http://coronalabs.com/blog/2013/05/14/sprites-and-image-sheets-for-beginners/

If you have imported the spritesheets into Level Director and setup the animation correctly then in theory you do not need to write any code.

Providing the ‘Default’ and ‘Play’ flags are set (see below), LD will automatically play that animation sequence when you load the level.

animation.PNG

The animation window in level director