mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 23:11:54 +08:00
7d79c3eff6
添加母鸡、酷可小弟和狗的新资源文件 调整猫、狗和母鸡的受伤音效频率 修改酷可小弟的最大生命值为20 更新角色碰撞体和贴图设置
68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://bb363wvwvs7m4"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_cbgnh"]
|
|
[ext_resource type="Texture2D" uid="uid://cew1kecisufy4" path="res://resources/characters/dog/hsq.png" id="2_oospf"]
|
|
[ext_resource type="Script" uid="uid://soehdxfbpmc0" path="res://scripts/Contents/Characters/Dog.gd" id="2_pb36u"]
|
|
[ext_resource type="AudioStream" uid="uid://llx2exxpf6k6" path="res://resources/sounds/effect/Dog1.wav" id="3_tn3v8"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_pb36u"]
|
|
animations = [{
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_tn3v8"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_oospf")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_e644g"]
|
|
size = Vector2(118, 64)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_s2gll"]
|
|
radius = 27.018513
|
|
|
|
[node name="Dog" instance=ExtResource("1_cbgnh")]
|
|
script = ExtResource("2_pb36u")
|
|
displayName = "哈士奇"
|
|
hurtAudioRate = 0.1
|
|
|
|
[node name="hurt" parent="sounds" index="3"]
|
|
stream = ExtResource("3_tn3v8")
|
|
|
|
[node name="texture" parent="." index="3"]
|
|
sprite_frames = SubResource("SpriteFrames_pb36u")
|
|
|
|
[node name="staticAnimation" parent="texture" index="1"]
|
|
position = Vector2(0, -19.999998)
|
|
scale = Vector2(0.35093215, 0.35093215)
|
|
sprite_frames = SubResource("SpriteFrames_tn3v8")
|
|
animation = &"idle"
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
position = Vector2(-14, -22)
|
|
shape = SubResource("RectangleShape2D_e644g")
|
|
|
|
[node name="hitbox2" type="CollisionShape2D" parent="texture/hurtbox" index="1"]
|
|
position = Vector2(46, -51)
|
|
shape = SubResource("CircleShape2D_s2gll")
|
|
|
|
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
|
position = Vector2(53, -35)
|
|
|
|
[node name="statebar" parent="." index="4"]
|
|
position = Vector2(0, -150)
|