mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 04:37:13 +08:00
feat(角色): 添加KukeChild角色并增强KukeMC能力
新增KukeChild角色及相关资源文件,包括贴图、场景和脚本 调整KukeMC属性,增加新攻击类型可召唤KukeChild 修改EntityBase基础逻辑,添加spawnTime属性和timeLived方法 移除Rooster.gd中未使用的heal方法
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://c5q7djx12phem"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_3ohuq"]
|
||||
[ext_resource type="Texture2D" uid="uid://lorraj4pe2lt" path="res://resources/characters/kukechild/KukeChild.png" id="2_7vbs6"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Characters/KukeChild.gd" id="2_ywxbd"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_5rcbd"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_7vbs6")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_7vbs6")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"walk",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="KukeChild" instance=ExtResource("1_3ohuq")]
|
||||
script = ExtResource("2_ywxbd")
|
||||
|
||||
[node name="texture" parent="." index="2"]
|
||||
sprite_frames = SubResource("SpriteFrames_5rcbd")
|
||||
animation = &"walk"
|
||||
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
position = Vector2(47, 11)
|
||||
|
||||
[node name="statebar" parent="." index="3"]
|
||||
position = Vector2(0, -125)
|
||||
@@ -38,6 +38,7 @@ animation = &"walk"
|
||||
shape = SubResource("RectangleShape2D_farlp")
|
||||
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
position = Vector2(-22, 18)
|
||||
|
||||
[node name="statebar" parent="." index="3"]
|
||||
position = Vector2(0, -140)
|
||||
|
||||
Reference in New Issue
Block a user