1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-29 23:41:54 +08:00
Files
Dog-Lynx-And-HCN/components/Characters/Hen.tscn
T
fallingshrimp fd08e669c2 feat: 调整游戏平衡性参数
修改敌人生命值和伤害增长比例,降低难度曲线
调整母鸡掉落物数量范围,增加资源获取
修正小鸡激光子弹的纹理偏移位置
2025-08-29 14:46:53 +08:00

54 lines
1.7 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" path="res://scripts/Contents/Characters/Hen.gd" id="2_8u5a0"]
[ext_resource type="Texture2D" uid="uid://b5m0fpg3ewfum" path="res://resources/characters/hen/hen-a.svg" id="2_k7xxq"]
[ext_resource type="Texture2D" uid="uid://3o0oqobnr3b2" path="res://resources/characters/hen/hen-b.svg" id="3_cpiwr"]
[ext_resource type="AudioStream" uid="uid://cxhsnyjhrnicl" path="res://resources/sounds/effect/Glug.wav" id="3_ojyt7"]
[sub_resource type="SpriteFrames" id="SpriteFrames_xwexj"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_k7xxq")
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_k7xxq")
}, {
"duration": 1.0,
"texture": ExtResource("3_cpiwr")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_0uubu"]
radius = 40.0
[node name="Hen" instance=ExtResource("1_twxai")]
script = ExtResource("2_8u5a0")
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(6, 12), Vector2(4, 8)])
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_ojyt7")
[node name="texture" parent="." index="1"]
sprite_frames = SubResource("SpriteFrames_xwexj")
animation = &"walk"
[node name="hitbox" parent="texture/hurtbox" index="0"]
shape = SubResource("CircleShape2D_0uubu")
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
[node name="statebar" parent="." index="2" node_paths=PackedStringArray("entity")]
position = Vector2(0, -114)
entity = NodePath("..")