I’ve been trying to get an animated sprite to work and had to luck on the literature I found from Corona… I was just always doing something wrong and couldn’t figure it out. I found a tutorial that got me here… This code works but I need to be able to adjust the frame rate or frame change speed. How could I accomplish this?
[lua]require “sprite”
local rocketSheet = sprite.newSpriteSheet(“rocketSprite.png”, 92, 51)
local spriteSet = sprite.newSpriteSet(rocketSheet, 1,2)
local instance = sprite.newSprite(spriteSet)
instance.x = display.contentWidth / 2
instance.y = display.contentHeight / 2
instance:play()
[import]uid: 20272 topic_id: 35203 reply_id: 335203[/import]