feat: animations working

This commit is contained in:
Gerard Gascón 2025-04-12 17:12:04 +02:00
parent 2a9e824a9e
commit 2445a71f0c
63 changed files with 3023 additions and 1408 deletions

View file

@ -1,60 +1,60 @@
[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://bbae8y4w7du3j"]
[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://d4jne76ck2l1w"]
[ext_resource type="Texture2D" uid="uid://cs2mds1fjgoi0" path="res://assets/sprites/shirts/DP_tors_tutu_Anim.png" id="1_g26hv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_1s6pj"]
[sub_resource type="AtlasTexture" id="AtlasTexture_g26hv"]
atlas = ExtResource("1_g26hv")
region = Rect2(0, 216, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_nvh52"]
[sub_resource type="AtlasTexture" id="AtlasTexture_1s6pj"]
atlas = ExtResource("1_g26hv")
region = Rect2(108, 216, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_i40w0"]
[sub_resource type="AtlasTexture" id="AtlasTexture_nvh52"]
atlas = ExtResource("1_g26hv")
region = Rect2(216, 216, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_mdjac"]
[sub_resource type="AtlasTexture" id="AtlasTexture_i40w0"]
atlas = ExtResource("1_g26hv")
region = Rect2(324, 216, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_3n6r8"]
[sub_resource type="AtlasTexture" id="AtlasTexture_mdjac"]
atlas = ExtResource("1_g26hv")
region = Rect2(0, 0, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_lvejb"]
[sub_resource type="AtlasTexture" id="AtlasTexture_3n6r8"]
atlas = ExtResource("1_g26hv")
region = Rect2(108, 0, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_adymh"]
[sub_resource type="AtlasTexture" id="AtlasTexture_lvejb"]
atlas = ExtResource("1_g26hv")
region = Rect2(216, 0, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_rdwbh"]
[sub_resource type="AtlasTexture" id="AtlasTexture_adymh"]
atlas = ExtResource("1_g26hv")
region = Rect2(324, 0, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_kg1pc"]
[sub_resource type="AtlasTexture" id="AtlasTexture_rdwbh"]
atlas = ExtResource("1_g26hv")
region = Rect2(432, 0, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_y6n83"]
[sub_resource type="AtlasTexture" id="AtlasTexture_kg1pc"]
atlas = ExtResource("1_g26hv")
region = Rect2(540, 0, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_kty36"]
[sub_resource type="AtlasTexture" id="AtlasTexture_y6n83"]
atlas = ExtResource("1_g26hv")
region = Rect2(0, 108, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_butvq"]
[sub_resource type="AtlasTexture" id="AtlasTexture_kty36"]
atlas = ExtResource("1_g26hv")
region = Rect2(108, 108, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_v4jan"]
[sub_resource type="AtlasTexture" id="AtlasTexture_butvq"]
atlas = ExtResource("1_g26hv")
region = Rect2(216, 108, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_vto6e"]
[sub_resource type="AtlasTexture" id="AtlasTexture_v4jan"]
atlas = ExtResource("1_g26hv")
region = Rect2(324, 108, 108, 108)
@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108)
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_g26hv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1s6pj")
}, {
"duration": 1.0,
@ -69,9 +72,6 @@ animations = [{
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i40w0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mdjac")
}],
"loop": true,
"name": &"fly",
@ -79,6 +79,9 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mdjac")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3n6r8")
}, {
"duration": 1.0,
@ -92,9 +95,6 @@ animations = [{
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kg1pc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_y6n83")
}],
"loop": true,
"name": &"idle",
@ -102,6 +102,9 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_y6n83")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kty36")
}, {
"duration": 1.0,
@ -109,9 +112,6 @@ animations = [{
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v4jan")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vto6e")
}],
"loop": true,
"name": &"walk",