After testing out my game on the iPhone 4. The graphics were exceptionally Blurry. Please see attached.
Here are some of my concerns that may be cause the problem.
I’ve loaded all the graphics that I will need into the game at the start, so that there are no glitches durring the game play. This includes 34 sprite sheets. How much Memory Usage is to much? My game uses MemUsage: 718, TexMem: 362.
Code for calculating Memory Usage
[lua]
local monitorMem = function()
collectgarbage()
print( "MemUsage: " … collectgarbage(“count”) )
local textMem = system.getInfo( “textureMemoryUsed” ) / 1000000
print( "TexMem: " … textMem )
end
Runtime:addEventListener( “enterFrame”, monitorMem )
[/lua]
My Sprite Sheets are laid out Horizontally, for example one image is 540x540 and the sprite sheet is 9720x540.
The stretching from my config file may be causing an issue.
[lua]
application =
{
content =
{
width = 1536,
height = 2048,
scale = “letterbox”,
yAlign = “top”
}
}
[/lua]