I’ve completed the Defold tutorial upto Step5 and also the first 7 points of Step6. However, I when I hit
space the frog object does not jump. I keep seeing the below messages in the console.
WARNING:DLIB: Failed to send announce message (-22)
Also, if I place the frog object at some height above the ground it does not ‘fall’ but just runs its animation.
What could be wrong? I don’t think that I can copy the entire contents here as there is so much, can anyone share a working source for the tutorial?
ERROR:GAMEOBJECT: Instance ‘/ground/controller’ could not be found when dispatching message ‘set_speed’ sent from main:/hero#script
INFO:DLIB: SSDP: Started on address 192.168.0.107
WARNING:DLIB: Failed to send announce message (-22)
WARNING:DLIB: Failed to send announce message (-22)
If you have followed this section of the tutorial, you should have a 'hero.go' game object file that you must add the script to.
Add the script as a Script component to the hero object (right-click the root of hero.go in the Outline and select Add Component from File, then select the hero.script file).