1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 16:31:54 +08:00
Files
Dog-Lynx-And-HCN/components/Characters/Hen.tscn
T
fallingshrimp 657cd6ba3f feat(角色): 添加新角色公鸡和相关资源
- 添加公鸡角色资源文件及音效
- 调整猫角色的攻击冷却时间和冲刺倍数
- 更新猫角色的音效和动画设置
- 重构公鸡角色的动画和碰撞体设置
2025-11-16 13:48:55 +08:00

57 lines
1.9 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://c8h1abpbe6cww"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_twxai"]
[ext_resource type="Script" uid="uid://dsfht8qodraln" path="res://scripts/Contents/Characters/Hen.gd" id="2_8u5a0"]
[ext_resource type="AudioStream" uid="uid://cougu5tprpf8d" path="res://resources/sounds/effect/Growl.wav" id="3_1stll"]
[ext_resource type="Texture2D" uid="uid://ylvq4hek5qem" path="res://resources/characters/hen/hsl.png" id="4_1stll"]
[sub_resource type="SpriteFrames" id="SpriteFrames_xwexj"]
animations = [{
"frames": [],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1stll"]
size = Vector2(114.5, 43)
[sub_resource type="CircleShape2D" id="CircleShape2D_rwj47"]
radius = 19.026299
[node name="Hen" instance=ExtResource("1_twxai")]
script = ExtResource("2_8u5a0")
displayName = "母鸡"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(6, 12), Vector2(4, 8)])
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_1stll")
volume_db = 10.0
[node name="texture" parent="." index="3"]
sprite_frames = SubResource("SpriteFrames_xwexj")
[node name="staticBackground" parent="texture" index="0"]
scale = Vector2(-0.452, 0.452)
texture = ExtResource("4_1stll")
[node name="hitbox" parent="texture/hurtbox" index="0"]
position = Vector2(7, 4)
shape = SubResource("RectangleShape2D_1stll")
[node name="hitbox2" type="CollisionShape2D" parent="texture/hurtbox" index="1"]
position = Vector2(72, -28)
shape = SubResource("CircleShape2D_rwj47")
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
[node name="statebar" parent="." index="4" node_paths=PackedStringArray("entity")]
position = Vector2(0, -114)
entity = NodePath("..")