Fixed Collision layer

This commit is contained in:
Rain Clark 2024-05-12 22:39:28 -04:00
parent 58dabac131
commit 8da8a60d94

View File

@ -8,7 +8,6 @@ size = Vector2(4, 16)
[node name="Bullet" type="Area2D" groups=["bullet"]] [node name="Bullet" type="Area2D" groups=["bullet"]]
position = Vector2(0, -8) position = Vector2(0, -8)
collision_layer = 2
collision_mask = 2 collision_mask = 2
script = ExtResource("1_jyq7a") script = ExtResource("1_jyq7a")
@ -24,4 +23,5 @@ wait_time = 0.5
one_shot = true one_shot = true
autostart = true autostart = true
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="timeout" from="LifeTimer" to="." method="_on_life_timer_timeout"] [connection signal="timeout" from="LifeTimer" to="." method="_on_life_timer_timeout"]