princesse/animations: régler un chouilla la vitesse des sprite

60 frames / 5 images, nous donnes 12, alors j'ai réflé au pif avec ce
multiple.
This commit is contained in:
Thomas Lavocat
2023-05-26 18:38:19 +02:00
parent 4411ad7e87
commit c7212686bc

View File

@@ -103,7 +103,7 @@ animations = [{
}], }],
"loop": true, "loop": true,
"name": &"falling_diagonals", "name": &"falling_diagonals",
"speed": 5.0 "speed": 4.0
}, { }, {
"frames": [{ "frames": [{
"duration": 1.0, "duration": 1.0,
@@ -114,7 +114,7 @@ animations = [{
}], }],
"loop": true, "loop": true,
"name": &"falling_straight", "name": &"falling_straight",
"speed": 5.0 "speed": 4.0
}, { }, {
"frames": [{ "frames": [{
"duration": 1.0, "duration": 1.0,
@@ -147,7 +147,7 @@ animations = [{
}], }],
"loop": true, "loop": true,
"name": &"jumping", "name": &"jumping",
"speed": 5.0 "speed": 4.0
}, { }, {
"frames": [{ "frames": [{
"duration": 1.0, "duration": 1.0,
@@ -170,7 +170,7 @@ animations = [{
}], }],
"loop": true, "loop": true,
"name": &"walk", "name": &"walk",
"speed": 10.0 "speed": 12.0
}, { }, {
"frames": [{ "frames": [{
"duration": 1.0, "duration": 1.0,
@@ -193,7 +193,7 @@ animations = [{
}], }],
"loop": true, "loop": true,
"name": &"wall_stick", "name": &"wall_stick",
"speed": 5.0 "speed": 12.0
}] }]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"]