Hi all,
I’m also getting some performance issues on a Galaxy S, even on the simplest code (below). I’ve tested this on a Nexus S as well, so it could be a Samsung thing… The simulator runs super fast.
I’ve made a simplified version of my code that just makes a circle move up and down when the screen is tapped:
local obj = display.newCircle(display.contentWidth/2, 10, 40)
local function move(event)
if obj.y == 10 then
obj.y = 300
else
obj.y = 10
end
end
Runtime:addEventListener("tap", move)
On the simulator, the object changes location super fast, but on my Galaxy S, it takes nearly a second to move. I am new to Corona so maybe I’ve made a huge newbie mistake, but I can’t see a bottleneck in such a simple program. I’m trying to find a friend with a non-Samsung Android phone and try it out on theirs. The idea for my app relies heavily on users quickly tapping to move an object, so a one second response time is way too much.
Having said all that, I’ve been incredibly impressed by Corona and hope to continue using it.
Cheers,
James [import]uid: 57198 topic_id: 9133 reply_id: 36089[/import]