Hello there!
Short background:
Basically I have found defold a few days ago - bonafide newbie here - , I have created a main collection and created a label object, set up input_bindings (Space, h, mouse_left, mouse_right) and it took me an hour to get the label to change content base on the inputs. Started to make a rudimentary text game and all was fine and working 100%, but I run into the issue, that I could not restart my game when it ended >> parsing the defold manual I found out about collection proxies that can be reset (load/unload levels) and it was the perfect solution for my problem.
Following the manual I have created a new collection, a collection proxy, moved all objects and code over to the new collection from main, set up proxy loading, message passing and after a while I managed to load the same stuff, but now via a proxy. Hurray!
And now I can not make the input messages pass between the main and the proxy.
After reading trough this forum I have found and added the debug code that solved someones misnamed proxy/game object Id problem, but I found that I have no such misnaming in my code.
Based on the defold manual and the defold teams video âThe basics of addressing and message passingâ all the code seems to be correct.
Can you help me what am I missing/doing wrong - why does the code not work?
Win10_x64 - HTML5 project
I have uploaded the project to git:
Thanks in advance!