I’ll preface by saying that I’m brand new to Defold (as in, first heard the name 3 days ago new). I’ve been banging my head against this problem for far too long. I’ve set up a scene manager that seemed fairly straight forward - breaking each page out into their own collections and loading/unloading the collection proxies. The problem is, I’m unable to detect any input in the loaded scene.
Upon project build, main.collection
loads a menu_proxy.collectionproxy
and displays the GUI for my main menu. The .gui_script
I’ve attached to this GUI initializes fine (tested via a print
statement in the init
function), it updates fine (tested via print
statements in the update
function), but no matter what I do, I cannot get anything to happen in the on_input
function.
I’ve dug into documentation and forums but can’t seem to come up with a reason as to why. I’ve zipped the project and attached the whole thing here mainly because I’m not sure what file/structure the problem could be stemming from. Any pointers/tips/solutions would be greatly appreciated.
Outpost Zero.zip (258.0 KB)