@roaminggamer Thanks!
@Rob Miracle
Thanks for letting me know. Unfortunately the only Android device I have for testing is Nexus 7 and the game looks ok on the iPad (the background covers fully). On the Nexus 7 I did notice the HUD on top left and right is protruding out a little while on iOS devices its aligned to the edge of the screen.
I hope you don’t mind helping me out with something. I noticed that at times the R button in game does not respond to touch (you have to release and touch again for it to respond) and I can’t seem to fix it. Could you take a look at my codes? Thanks!
Group.gateControl = function ( event ) local phase = event.phase local uniqueTouchId = event.id if ("began" == phase) then if (event.target.myName == "button01Radius") then openGateLeft("open") display.getCurrentStage():setFocus(event.target, uniqueTouchId) event.target.hasFocus = true return true end if (event.target.myName == "button02Radius") then openGateRight("open") display.getCurrentStage():setFocus(event.target, uniqueTouchId) event.target.hasFocus = true return true end elseif(event.target.hasFocus) then if ("ended" == phase or "cancelled" == phase) then if (event.target.myName == "button01Radius") then openGateLeft("close") display.getCurrentStage():setFocus(event.target, nil) event.target.hasFocus = false end if (event.target.myName == "button02Radius") then openGateRight("close") display.getCurrentStage():setFocus(event.target, nil) event.target.hasFocus = false end return true end end return false end