1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat(召唤物): 添加哈基米召唤物及相关功能

添加新的哈基米(HJM)召唤物,包括动画资源、攻击逻辑和武器配置。主要变更:
- 新增HJM召唤物脚本和场景,包含6帧动画
- 添加HJM专属子弹类型HJMAttack
- 修改SummonBase基类添加atk属性
- 调整武器系统支持召唤物攻击
- 优化子弹系统支持召唤者追踪
- 降低LGBT旗帜召唤物的生命值
This commit is contained in:
2025-11-08 20:19:24 +08:00
parent e2570491aa
commit 062219c5b9
29 changed files with 396 additions and 16 deletions
+9 -4
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=40 format=3 uid="uid://cvogxi7mktumf"]
[gd_scene load_steps=41 format=3 uid="uid://cvogxi7mktumf"]
[ext_resource type="Script" uid="uid://ds3j3f82li68h" path="res://scripts/Statemachine/EntityBase.gd" id="1_mvol6"]
[ext_resource type="Texture2D" uid="uid://dwwpkn4q07ja2" path="res://icon.svg" id="2_7lpu0"]
@@ -21,6 +21,8 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="SpriteFrames" id="SpriteFrames_tiuhe"]
[sub_resource type="CircleShape2D" id="CircleShape2D_buhm1"]
radius = 40.0
@@ -372,7 +374,7 @@ alpha_curve = SubResource("CurveTexture_vvfxd")
[sub_resource type="CircleShape2D" id="CircleShape2D_34h7q"]
[node name="EntityBase" type="CharacterBody2D"]
[node name="HJM" type="CharacterBody2D"]
collision_layer = 0
script = ExtResource("1_mvol6")
@@ -401,6 +403,11 @@ position = Vector2(0, -50)
sprite_frames = SubResource("SpriteFrames_wcqpm")
animation = &"idle"
[node name="staticBackground" type="Sprite2D" parent="texture"]
[node name="staticAnimation" type="AnimatedSprite2D" parent="texture"]
sprite_frames = SubResource("SpriteFrames_tiuhe")
[node name="hurtbox" type="Area2D" parent="texture"]
unique_name_in_owner = true
@@ -449,8 +456,6 @@ one_shot = true
explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_f3xas")
[node name="static" type="Sprite2D" parent="texture"]
[node name="statebar" parent="." instance=ExtResource("2_uje1g")]
unique_name_in_owner = true
position = Vector2(0, -100)