princess/sprites: rechargement des sprites
Actualisation des animations avec le nouveau travail de P0nce. Merci!
This commit is contained in:
@@ -16,6 +16,30 @@ region = Rect2(0, 0, 24, 50)
|
|||||||
atlas = ExtResource("2_hholp")
|
atlas = ExtResource("2_hholp")
|
||||||
region = Rect2(0, 50, 24, 50)
|
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"]
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fyqwp"]
|
||||||
atlas = ExtResource("3_kbaya")
|
atlas = ExtResource("3_kbaya")
|
||||||
region = Rect2(0, 0, 24, 50)
|
region = Rect2(0, 0, 24, 50)
|
||||||
@@ -100,10 +124,28 @@ animations = [{
|
|||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_e23c2")
|
"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,
|
"loop": true,
|
||||||
"name": &"falling_diagonals",
|
"name": &"falling_diagonals",
|
||||||
"speed": 4.0
|
"speed": 10.0
|
||||||
}, {
|
}, {
|
||||||
"frames": [{
|
"frames": [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
@@ -170,7 +212,7 @@ animations = [{
|
|||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": &"walk",
|
"name": &"walk",
|
||||||
"speed": 12.0
|
"speed": 10.0
|
||||||
}, {
|
}, {
|
||||||
"frames": [{
|
"frames": [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
@@ -193,7 +235,7 @@ animations = [{
|
|||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": &"wall_stick",
|
"name": &"wall_stick",
|
||||||
"speed": 12.0
|
"speed": 10.0
|
||||||
}]
|
}]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"]
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"]
|
||||||
@@ -269,8 +311,8 @@ COYOTE_GRAB_LENGTH = 4
|
|||||||
|
|
||||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
sprite_frames = SubResource("SpriteFrames_q52wx")
|
sprite_frames = SubResource("SpriteFrames_q52wx")
|
||||||
animation = &"walk"
|
animation = &"falling_diagonals"
|
||||||
frame_progress = 0.705596
|
frame_progress = 0.0129146
|
||||||
|
|
||||||
[node name="wall_detect_left" type="RayCast2D" parent="."]
|
[node name="wall_detect_left" type="RayCast2D" parent="."]
|
||||||
target_position = Vector2(-6, 0)
|
target_position = Vector2(-6, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user