mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-21 15:44:23 +00:00
Make the SacrificeStone
capture area visible with visible collision shapes
This commit is contained in:
parent
9a37e4676f
commit
efe93de640
1 changed files with 3 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue