[Resolved] display.newSprite not animating

I started to implement the new features in our game. But for some reason the animation is not occurring. I tried setting the frames manually but the results where the same.

I know that the sprite sheet is loaded correctly because if I change the start property in the sequence data it will show the correct frame.

I am using build 2012.849

Thanks in advanced :slight_smile:

See the code below

[code]
local imageSheet = graphics.newImageSheet( “images/sprite_sheet_256.png”, { width = 256, height = 256, numFrames = 24, sheetContentWidth = 2048, sheetContentHeight = 1536 } )

local dolphin_eyes = display.newSprite( imageSheet, { name=“blink”, start=17, count=8, time = 1000 } )

local dolphin_body = display.newSprite( imageSheet, { name=“swim”, start=1, count=8, time=700 } )
[/code] [import]uid: 69021 topic_id: 28717 reply_id: 328717[/import]

NVM It was an stupid question. I found the solution myself.

You have to call play the play method in order to start the animation.

[import]uid: 69021 topic_id: 28717 reply_id: 115751[/import]

Thanks for updating and well done on figuring this out. Marking as resolved :wink: [import]uid: 52491 topic_id: 28717 reply_id: 115800[/import]