We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug setFrame metho doens't works if time parameter is provide to SpriteObject Same issue if you use timeScale property
To Reproduce local coinModule = require('texturePack.coin') local tCoinBank = graphics.newImageSheet('texturePack/coin.png', coinModule:getSheet()); local coin = display.newSprite(tCoinBank, {start=1, count=30, time = 1000, loopCount = 0 }); coin.x = 100 coin.y = 100 --coin:setFrame(10) coin:play()
removing -- before setFrame call will stop animation (and not start at frame 10)
Target platform and where build was made: Simulator, HTML and Android (probably all)
Additional context
whole test project or build.settings Please attach project your issue can be reproduced on to speed up debugging coin.zip
One more thing! Can you add a new method SetTime to set a more accurate frame, or allow a float value for setFrame ? It could ne very nice !
Thank's. Etienne
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
setFrame metho doens't works if time parameter is provide to SpriteObject
Same issue if you use timeScale property
To Reproduce
local coinModule = require('texturePack.coin')
local tCoinBank = graphics.newImageSheet('texturePack/coin.png', coinModule:getSheet());
local coin = display.newSprite(tCoinBank, {start=1, count=30, time = 1000, loopCount = 0 });
coin.x = 100
coin.y = 100
--coin:setFrame(10)
coin:play()
removing -- before setFrame call will stop animation (and not start at frame 10)
Target platform and where build was made:
Simulator, HTML and Android (probably all)
Additional context
whole test project or build.settings
Please attach project your issue can be reproduced on to speed up debugging
coin.zip
One more thing!
Can you add a new method SetTime to set a more accurate frame, or allow a float value for setFrame ?
It could ne very nice !
Thank's.
Etienne
The text was updated successfully, but these errors were encountered: