I cannot switch from my Gui to my level. I am using collection proxies and I can’t tell the issue.
Error: Could not send message ‘start_game’ from ‘mainmenu:/go#mainmenu’ to ‘main:/go#loader’
My main menu script:
function init(self)
msg.post(".", "acquire_input_focus")
end
function on_input(self, action_id, action)
if(action_id == hash("touch") and action.released == true) then
local textBegin = gui.get_node("startGame")
if(gui.pick_node(textBegin,action.x,action.y)) then
msg.post("main:/go#loader", "start_game")
end
end
if(action_id == hash("touch") and action.released == true) then
local textExit = gui.get_node("exitGame")
if(gui.pick_node(textExit,action.x,action.y)) then
msg.post("@system:", "exit", {code = 0})
end
end
end