fix: dragon sprite was getting cut

This commit is contained in:
Gerard Gascón 2025-04-14 23:47:06 +02:00
parent b78167f24d
commit 9f2b78c1bd
3 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@
[ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" path="res://assets/animations/decor/rosa.tres" id="12_rhebu"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"]
size = Vector2(108, 88)
size = Vector2(108, 108)
[node name="Dragon" type="Node2D" node_paths=PackedStringArray("hat", "shirt", "decor", "color")]
script = ExtResource("1_oaoux")
@ -27,11 +27,11 @@ color_outfits = ExtResource("5_x2k4p")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(54, 44)
position = Vector2(54, 54)
shape = SubResource("RectangleShape2D_oaoux")
[node name="Dragon" type="AnimatedSprite2D" parent="."]
position = Vector2(54, 34)
position = Vector2(54, 54)
sprite_frames = ExtResource("6_yf7bj")
animation = &"idle"