mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-07 04:07:13 +08:00
feat(角色): 添加Gobo角色及相关资源
添加Gobo角色,包括武器、召唤物和治疗导弹功能 - 新增Gobo角色模型和动画资源 - 实现Gobo武器系统,可召唤Gobo单位 - 添加治疗导弹功能,Gobo受伤时会发射治疗友军 - 优化实体基础类,添加生命值初始化方法 - 修改子弹伤害判定逻辑,支持友军伤害设置
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ds6yxgj6r8f4v"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_1wl5l"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpvk6pja35rdb" path="res://resources/items/apple-white.png" id="2_0jb7f"]
|
||||
[ext_resource type="Script" uid="uid://d2ubbdwexom6t" path="res://scripts/Contents/Bullets/HealingMissle.gd" id="2_nxr84"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_nxr84"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_0jb7f")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="HealingMissle" instance=ExtResource("1_1wl5l")]
|
||||
script = ExtResource("2_nxr84")
|
||||
speed = 1.0
|
||||
lifeTime = 5000.0
|
||||
allowFriendlyDamage = true
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
modulate = Color(0.0068707466, 1, 0, 1)
|
||||
scale = Vector2(0.44360867, 0.44360867)
|
||||
sprite_frames = SubResource("SpriteFrames_nxr84")
|
||||
Reference in New Issue
Block a user