mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
7d79c3eff6
添加母鸡、酷可小弟和狗的新资源文件 调整猫、狗和母鸡的受伤音效频率 修改酷可小弟的最大生命值为20 更新角色碰撞体和贴图设置
58 lines
1.9 KiB
Plaintext
58 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://o0t3oma5l6tu" path="res://resources/characters/hen/hen.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(85.25, 46.5)
|
|
|
|
[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)])
|
|
hurtAudioRate = 0.1
|
|
|
|
[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.29643428, 0.29643428)
|
|
texture = ExtResource("4_1stll")
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
position = Vector2(-7.625, 2.25)
|
|
shape = SubResource("RectangleShape2D_1stll")
|
|
|
|
[node name="hitbox2" type="CollisionShape2D" parent="texture/hurtbox" index="1"]
|
|
position = Vector2(37, -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, -107)
|
|
entity = NodePath("..")
|