Optimized scene tree and debugged some area detection

This commit is contained in:
VoidTwo
2021-11-30 23:06:42 -06:00
parent 34f7407d6a
commit 34d4e0454e
27 changed files with 380 additions and 481 deletions

View File

@@ -12,9 +12,7 @@ height = 2.0
[sub_resource type="CircleShape2D" id=2]
radius = 50.0
[node name="Glowing Ghost" type="KinematicBody2D" groups=[
"enemies",
]]
[node name="Glowing Ghost" type="KinematicBody2D" groups=["enemies"]]
collision_layer = 2
script = ExtResource( 4 )
@@ -29,10 +27,10 @@ position = Vector2( 0, -3 )
shape = SubResource( 1 )
[node name="Player Detector" type="Area2D" parent="."]
input_pickable = false
monitorable = false
collision_layer = 0
collision_mask = 2
input_pickable = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
visible = false