1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-21 15:44:23 +00:00

Move Sprite outside of the StoneArea

This commit is contained in:
Steffo 2024-04-28 17:12:41 +02:00
parent afeede2bea
commit 07f40806be
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -11,6 +11,11 @@ radius = 4.0
[node name="SacrificeStone" type="Node2D"]
script = ExtResource("1_sgl1t")
[node name="Sprite" type="Sprite2D" parent="."]
position = Vector2(0, 32)
scale = Vector2(2, 2)
texture = ExtResource("2_rbklw")
[node name="StoneArea" type="Area2D" parent="."]
collision_layer = 8
collision_mask = 24
@ -27,11 +32,6 @@ diet = &"Trap"
[node name="SacrificeTracker" parent="StoneArea" instance=ExtResource("2_6m7pn")]
collision_mask = 56
[node name="Sprite" type="Sprite2D" parent="StoneArea/SacrificeTracker"]
position = Vector2(0, 32)
scale = Vector2(2, 2)
texture = ExtResource("2_rbklw")
[node name="Shape" type="CollisionShape2D" parent="StoneArea/SacrificeTracker"]
shape = SubResource("CircleShape2D_yv6hf")
one_way_collision_margin = 27.5