From efe93de640d37ccd351e110d52070fd90428f5bf Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 28 Apr 2024 11:15:18 +0200 Subject: [PATCH] Make the `SacrificeStone` capture area visible with visible collision shapes --- entities/sacrifice_stone.tscn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entities/sacrifice_stone.tscn b/entities/sacrifice_stone.tscn index 4fa5058..8bbbab4 100644 --- a/entities/sacrifice_stone.tscn +++ b/entities/sacrifice_stone.tscn @@ -6,7 +6,7 @@ [ext_resource type="Texture2D" uid="uid://d3pn6wuykchoa" path="res://entities/sacrifice_stone.png" id="2_rbklw"] [sub_resource type="CircleShape2D" id="CircleShape2D_yv6hf"] -radius = 0.01 +radius = 4.0 [node name="SacrificeStone" type="Node2D"] script = ExtResource("1_sgl1t") @@ -19,6 +19,7 @@ monitoring = false [node name="Shape" type="CollisionShape2D" parent="StoneArea"] shape = SubResource("CircleShape2D_yv6hf") one_way_collision_margin = 27.5 +debug_color = Color(1, 0, 0, 0.419608) [node name="Edible" parent="StoneArea" instance=ExtResource("1_y58y4")] diet = &"Trap" @@ -34,6 +35,7 @@ texture = ExtResource("2_rbklw") [node name="Shape" type="CollisionShape2D" parent="StoneArea/SacrificeTracker"] shape = SubResource("CircleShape2D_yv6hf") one_way_collision_margin = 27.5 +debug_color = Color(1, 0, 0, 0) [connection signal="tracked" from="StoneArea/SacrificeTracker" to="." method="_on_tracked"] [connection signal="untracked" from="StoneArea/SacrificeTracker" to="." method="_on_untracked"]