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

@ -108,7 +108,7 @@ animations = [{
"duration": 1.0,
"texture": ExtResource("21_to6c5")
}],
"loop": true,
"loop": false,
"name": &"hurt",
"speed": 20.0
}, {
@ -206,10 +206,8 @@ shape = SubResource("CircleShape2D_ra45u")
position = Vector2(10, 0)
scale = Vector2(0.2, 0.186)
sprite_frames = SubResource("SpriteFrames_gxpsl")
animation = &"hurt"
animation = &"walk"
autoplay = "walk"
frame = 11
frame_progress = 0.9629
[node name="Area2D" type="Area2D" parent="CharacterBody2D"]