Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | BlueDolphinCow |
I’m new to Godot and I’m making a simple platform game. The game works as expected when played inside the engine however, after exporting to html5, I get an error in the console.
put_char @ index.js:7
index.js:7 **ERROR**: Error calling method from signal 'timeout': 'KinematicBody2D::_on_Ghost_Timer_timeout': Method not found..```
I'm wondering if anyone could explain this or offer any suggestions on how to fix it.
Edit:
The method ```_on_Ghost_Timer_timeout``` is spelled correctly and exists
![image of function](https://i.imgur.com/mGfMdQN.png)
[wrap=comment]
The error is saying that the function `_on_Ghost_Timer_timeout()` doesn't exist, but you have connected the signal to that function. Did you maybe rename it?
[wrap=footnote]kidscancode | 2020-03-10 23:55[/wrap]
[/wrap]
[wrap=comment]
It exists and is spelled correctly. I edited my post and put an image there.
[wrap=footnote]BlueDolphinCow | 2020-03-11 20:37[/wrap]
[/wrap]