I’m working on a game for Android, but I’m coming across a very tedious problem. My code is written with variables that should work universally, but on some devices I can see what is off screen on another device.
Here’s an example. Say I have a wall that’s off-screen on the bottom of the device. I write it so that it’s right along the edge but isn’t visible. Here’s what it would look like:
\_W = display.contentWidth
\_H = display.contentHeight
local wallBottom = display.newRect( 0, \_H - 5, \_W, 5)
This code will work on say, the Nexus 1, but when I display it on the Galaxy I see the wall.
How do I go about fixing this? Is it something in config.lua that I would have to modify? Any help would be greatly appreciated! [import]uid: 66386 topic_id: 12010 reply_id: 312010[/import]