Hello!
First of all, I am fresh landed to Corona from the Flash World
Been working with corona for about 6 days now and I almost got a game prototype ready, wich is AWESOME!!
So a BIG thank you for your awesome work!!
However, before purchasing I just went to test misc things and run into some nasty issue:
I got a sprite exported with TexturePacker and is basically just a circle growing from 10% to 100% and then back to 10%âŚ
Everything goes well in the simulator but when testing on the device (iPhone4) the script just adds the bgImage and then freezes and does nothing.
Here is the script:
local sprite = require(âspriteâ)
local test = require(âassets/sprites/HitCircleâ)
local spriteData = test.getSpriteSheetData()
local spriteSheet = sprite.newSpriteSheetFromData(âassets/sprites/HitCircle.pngâ, spriteData)
local spriteSheetSet = sprite.newSpriteSet(spriteSheet, 1, 35)
sprite.add(spriteSheetSet, âcircleLoopâ, 1, 35, 1000, 1)
local circleSpriteAnim = sprite.newSprite(spriteSheetSet)
circleSpriteAnim:prepare( âcircleLoopâ )
circleSpriteAnim:play()
But my question is how come everything goes well in the simulator?
Any advice? Is there anyway to debug the app while on device? I allways work with the Corona Terminal Window opened.
Thank you! [import]uid: 125690 topic_id: 21957 reply_id: 321957[/import]
