Hey guys, I am following Brackley’s tutorial with making a game.
I am very new to Godot.
My character is not colliding with the slime for whatever reason.
I swear I am following what the tutorial is doing, but it is just not detecting it.
See here:
Please let me know if there is a better way to share my code.
The Killzone works, but when I put it on the slime, no collision occurs.
You don’t have a CollisionShape2D in the killzone.tscn, you only have a CollisionShape2D parented to the killzone in the slime.tscn. And the _on_body_entered function doesn’t seem to be connected in killzone.gd.
I think you should remove the CollisionShape2D from slime.tscn, add it to killzone.tscn and connect it.