princess/sprites: rechargement des sprites

Actualisation des animations avec le nouveau travail de P0nce. Merci!
This commit is contained in:
Thomas Lavocat
2023-05-28 18:27:49 +02:00
parent 583517dc2c
commit e011094b98

View File

@@ -16,6 +16,30 @@ region = Rect2(0, 0, 24, 50)
atlas = ExtResource("2_hholp")
region = Rect2(0, 50, 24, 50)
[sub_resource type="AtlasTexture" id="AtlasTexture_501l0"]
atlas = ExtResource("2_hholp")
region = Rect2(0, 0, 24, 50)
[sub_resource type="AtlasTexture" id="AtlasTexture_oobtw"]
atlas = ExtResource("2_hholp")
region = Rect2(0, 50, 24, 50)
[sub_resource type="AtlasTexture" id="AtlasTexture_etom6"]
atlas = ExtResource("2_hholp")
region = Rect2(0, 100, 24, 50)
[sub_resource type="AtlasTexture" id="AtlasTexture_psvxe"]
atlas = ExtResource("2_hholp")
region = Rect2(0, 150, 24, 50)
[sub_resource type="AtlasTexture" id="AtlasTexture_2mvwc"]
atlas = ExtResource("2_hholp")
region = Rect2(0, 200, 24, 50)
[sub_resource type="AtlasTexture" id="AtlasTexture_wfvda"]
atlas = ExtResource("2_hholp")
region = Rect2(0, 250, 24, 50)
[sub_resource type="AtlasTexture" id="AtlasTexture_fyqwp"]
atlas = ExtResource("3_kbaya")
region = Rect2(0, 0, 24, 50)
@@ -100,10 +124,28 @@ animations = [{
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e23c2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_501l0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oobtw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_etom6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_psvxe")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2mvwc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wfvda")
}],
"loop": true,
"name": &"falling_diagonals",
"speed": 4.0
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
@@ -170,7 +212,7 @@ animations = [{
}],
"loop": true,
"name": &"walk",
"speed": 12.0
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
@@ -193,7 +235,7 @@ animations = [{
}],
"loop": true,
"name": &"wall_stick",
"speed": 12.0
"speed": 10.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"]
@@ -269,8 +311,8 @@ COYOTE_GRAB_LENGTH = 4
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_q52wx")
animation = &"walk"
frame_progress = 0.705596
animation = &"falling_diagonals"
frame_progress = 0.0129146
[node name="wall_detect_left" type="RayCast2D" parent="."]
target_position = Vector2(-6, 0)