1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

更新Rooster.tscn,调整动画速度并设置默认动画为“walk”

This commit is contained in:
2025-08-26 10:58:24 +08:00
parent df3abdb852
commit c6c16d4977
+3 -2
View File
@@ -13,7 +13,7 @@ animations = [{
}],
"loop": true,
"name": &"idle",
"speed": 5.0
"speed": 1.0
}, {
"frames": [{
"duration": 1.0,
@@ -24,7 +24,7 @@ animations = [{
}],
"loop": true,
"name": &"walk",
"speed": 5.0
"speed": 3.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_h1v0q"]
@@ -36,6 +36,7 @@ script = ExtResource("2_oqdqd")
[node name="texture" parent="." index="0"]
position = Vector2(0, -70)
sprite_frames = SubResource("SpriteFrames_4v2ol")
animation = &"walk"
[node name="hitbox" parent="texture/hurtbox" index="0"]
position = Vector2(12, 16)