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,28 +1,28 @@
[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://csm1127xw2qoh"]
[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://dsxhfu2ekw7j"]
[ext_resource type="Texture2D" uid="uid://cdum44fqvsa71" path="res://assets/sprites/shirts/DP_tors_traje_Anim.png" id="1_6b0p8"]
[sub_resource type="AtlasTexture" id="AtlasTexture_epv7g"]
[sub_resource type="AtlasTexture" id="AtlasTexture_uyq6w"]
atlas = ExtResource("1_6b0p8")
region = Rect2(0, 216, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_areka"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6b0p8"]
atlas = ExtResource("1_6b0p8")
region = Rect2(108, 216, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_n44x0"]
[sub_resource type="AtlasTexture" id="AtlasTexture_epv7g"]
atlas = ExtResource("1_6b0p8")
region = Rect2(216, 216, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_kt4p1"]
[sub_resource type="AtlasTexture" id="AtlasTexture_areka"]
atlas = ExtResource("1_6b0p8")
region = Rect2(324, 216, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_uyq6w"]
[sub_resource type="AtlasTexture" id="AtlasTexture_n44x0"]
atlas = ExtResource("1_6b0p8")
region = Rect2(0, 0, 108, 108)
[sub_resource type="AtlasTexture" id="AtlasTexture_6b0p8"]
[sub_resource type="AtlasTexture" id="AtlasTexture_kt4p1"]
atlas = ExtResource("1_6b0p8")
region = Rect2(108, 0, 108, 108)
@ -62,16 +62,16 @@ region = Rect2(324, 108, 108, 108)
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_uyq6w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6b0p8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_epv7g")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_areka")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_n44x0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kt4p1")
}],
"loop": true,
"name": &"fly",
@ -79,10 +79,10 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_uyq6w")
"texture": SubResource("AtlasTexture_n44x0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6b0p8")
"texture": SubResource("AtlasTexture_kt4p1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xicmt")