Animation fix and some more tests

This commit is contained in:
2025-04-29 12:04:48 +02:00
parent 08479e83c1
commit fc4285e99d
7 changed files with 81 additions and 64 deletions

View File

@ -105,7 +105,7 @@ animations = [{
"duration": 1.0,
"texture": ExtResource("21_m5o2x")
}],
"loop": true,
"loop": false,
"name": &"hurt",
"speed": 20.0
}, {
@ -201,9 +201,8 @@ collision_layer = 3
position = Vector2(10, 0)
scale = Vector2(0.25, 0.25)
sprite_frames = SubResource("SpriteFrames_brd2m")
animation = &"hurt"
animation = &"walk"
autoplay = "walk"
frame_progress = 0.66798
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
scale = Vector2(2, 2)