I’m experiencing just absolutely terrible performance on a Samsung Galaxy S when trying to run a test application that has some assets from my upcoming game. I’m on build 484, building on Windows, not a subscriber (yet, perf is holding me back). It looks great in the simulator.
Here is the source code:
[lua]for i = 0, 21 do
for q = 0, 25 do
display.newImage(“Tile.png”, i * 34, q * 24)
end
end
pieces = {}
numPieces = 16
for i = 1, numPieces do
table.insert(pieces, display.newImage(“Piece.png”, math.random(750), math.random(350)))
end
local function movePieces()
for i = 1, numPieces do
transition.to(pieces[i], { time = 1000, x = math.random(750), y = math.random(350)})
end
end
Runtime:addEventListener(“touch”, movePieces)[/lua]
And I’ve uploaded my entire project folder here: http://simplyv4.com/Tactitest.zip
On the galaxy I get about 3-4 FPS. On a HTC Evo 4G I get about 20FPS (better, but definitely not very smooth animation). On a Nexus One I get probably 20FPS again, and very noticable lag on every touch. On the EVO the lag is not too crazy, but its there.
On an Atrix 4G the app doesn’t run, on a Xoom tablet it doesn’t run (not sure if Honeycomb works yet or not).
Am I doing something wrong? What’s the deal here, it doesn’t look like the graphical demands of my app are that high, and that little demo doesn’t feel smooth enough to use on any of the devices I’ve tested. [import]uid: 50524 topic_id: 9133 reply_id: 309133[/import]
[import]uid: 50524 topic_id: 9133 reply_id: 33299[/import]