#Bullet hovering over Mobs and Trees

1 messages · Page 1 of 1 (latest)

mental wyvern
#

Hi, it seems I followed the tutorial
"First 2D GAME From Zero with GODOT 4! Vampire Survivor Style"
https://www.youtube.com/watch?v=GwCiGixlqiU
correctly

Yet, when i start the game and shoot the bullet just continues and doesnt stop
I put the mobs in layer 2, player and trees in 1
and bullet mask 1 and 2 and layer 0
Collisions and all in place

Also the print in _on_body_entered doesnt print so i guess it doesnt even recognize it

someone stumbbled in this problem?
Thanks 🙂

🖪↷PROJECT FILES: https://gdquest.com/tutorial/godot/2d/first-2d-game-godot-4/

▶︎ GODOT 4 COURSES: https://school.gdquest.com/godot-4-early-access
Preorder Below Launch Price for a Limited Time Only.

🎓 FREE APP to Learn GDScript From Zero: https://www.gdquest.com

🎮 FREE INTERACTIVE TOUR - The Godot Editor - https://www.gdquest.com/tutorial/god...

▶ Play video
lyric wagon
#

Did you connect the body_entered signal to the _on_body_entered(body) function ? I don`t see that green little icon next to the function (line 17 in the screenshot from the video)