mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
5425e95c2f
添加哈士奇角色,包括角色脚本、贴图资源、子弹效果和音效 - 实现哈士奇的基础AI行为和攻击逻辑 - 添加专属子弹"吼叫声波"及其特效 - 更新Wave配置加入哈士奇角色 - 为猫角色添加中文显示名称 - 优化Ring着色器增加透明度参数
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
[gd_scene load_steps=6 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"]
|
|
|
|
[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
|
|
}]
|
|
|
|
[node name="Dog" instance=ExtResource("1_cbgnh")]
|
|
script = ExtResource("2_pb36u")
|
|
displayName = "哈士奇"
|
|
|
|
[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="normal" type="Node2D" parent="texture/weapons" index="0"]
|
|
|
|
[node name="statebar" parent="." index="4"]
|
|
position = Vector2(0, -150)
|