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:
parent
afeede2bea
commit
07f40806be
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue