With the new Safe Area mode in game.project it seems that buttons that are pushed away from the safe area are not triggering properly on Android, are they? I need to tap on the position they were before considering the safe area instead of their current position.
In this menu, centered buttons work perfectly but the “Web ACL” button only triggers if I tap on the dashed rectangle, which is its true position when there’s no safe area.
I’m using this code:
local button_quit = gui.get_node(“button_quit”)
if (gui.pick_node(button_quit,action.x,action.y)) then
gui.animate(button_quit, “scale”, 0.65, go.EASING_LINEAR, 0.25, 0, function ()
sys.open_url(“\`\`https://portal.academiacanarialengua.org/juegos-con-el-dbc/\`\`”)
end, gui.PLAYBACK_ONCE_PINGPONG)
end
