Hello. I am developing a platforming game that uses a simple tile engine to display the level graphics.
The game is set to run at 60 fps. The game runs fine in the simulator and on apple ipad, but when I test it on android devices, it runs very slow when the game level starts. all objects are very sluggish.
The adroid devices I am testing are the Nexus 7, and Samsung Galaxy S4
After some testing, I found that the slow down was connected to the tile graphics that were generated when a level begins. The more tiles that were built, the slower it ran.
The game resolution is 480 x 320. The tile grid is 30 x 20. Each tile is 16 x 16 pixels @1x. The image sheet they are made from is 64 x 64 pixels @1x.
I have two tables of tiles, so thats 600 tiles each, 1200 in total on screen at once.
The player character’s collision detection is not tied to these graphics.