ERROR E 0:00:04.110 emit_signal: Error calling method from signal ‘body_entered’: ‘KinematicBody2D(Enemy.gd)::_on_stompDetector_body_entered’: Method not found…
<C++ Source> core/object.cpp:1242 @ emit_signal()
which is because the stomp isnt capitalized your method is called
onStompDectectorbodyentered
if you change your method to have a lower case S in stomp it should work
I tried it and it’s not the same and error says.
E 0:00:13.410 emit_signal: Error calling method from signal ‘body_entered’: ‘KinematicBody2D(Enemy.gd)::_on_stompDetector_body_entered’: Method not found…
<C++ Source> core/object.cpp:1242 @ emit_signal()
Anantasak08 | 2022-11-15 14:20
You also have a spelling error in the originally posted code.
If you perform a search (in the Godot editor) for the method name shown in the error and iterate through the matches, you’ll see that it won’t find your actual method (because of the typo) - indicating the problem…