1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/components/Summons/Gobo.tscn
T
fallingshrimp 4990a3e300 feat(角色): 添加Gobo角色及相关资源
添加Gobo角色,包括武器、召唤物和治疗导弹功能
- 新增Gobo角色模型和动画资源
- 实现Gobo武器系统,可召唤Gobo单位
- 添加治疗导弹功能,Gobo受伤时会发射治疗友军
- 优化实体基础类,添加生命值初始化方法
- 修改子弹伤害判定逻辑,支持友军伤害设置
2026-01-28 20:20:55 +08:00

47 lines
1.4 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://b2ilo4ag801m2"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_hgynr"]
[ext_resource type="Texture2D" uid="uid://xen2edbhf052" path="res://resources/characters/gobo/gobo-a.svg" id="2_e0tdx"]
[ext_resource type="Script" uid="uid://cqax27sw0wlme" path="res://scripts/Contents/Summons/Gobo.gd" id="2_ftr65"]
[ext_resource type="Texture2D" uid="uid://s12imwmfics6" path="res://resources/characters/gobo/gobo-b.svg" id="3_ftr65"]
[ext_resource type="Texture2D" uid="uid://d38bjxoowbg7t" path="res://resources/characters/gobo/gobo-c.svg" id="4_w2qsx"]
[sub_resource type="SpriteFrames" id="SpriteFrames_0xeeo"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_e0tdx")
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_e0tdx")
}, {
"duration": 1.0,
"texture": ExtResource("3_ftr65")
}, {
"duration": 1.0,
"texture": ExtResource("4_w2qsx")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[node name="Gobo" instance=ExtResource("1_hgynr")]
script = ExtResource("2_ftr65")
attraction = 0.0
displayName = "Gobo"
[node name="texture" parent="." index="3"]
sprite_frames = SubResource("SpriteFrames_0xeeo")
animation = &"walk"
frame = 2
frame_progress = 0.92641157
[node name="statebar" parent="." index="4"]
position = Vector2(0, -122)