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

feat: 重构角色和子弹系统,添加伤害标签和Boss状态条

This commit is contained in:
2025-08-26 13:56:12 +08:00
parent 727c40e1f0
commit 5c64d01f7c
19 changed files with 335 additions and 44 deletions
+27
View File
@@ -0,0 +1,27 @@
[gd_scene load_steps=3 format=3 uid="uid://ofpg5s3j7esv"]
[ext_resource type="Script" path="res://scripts/Statemachine/EntityStateBar.gd" id="1_q4vrr"]
[ext_resource type="PackedScene" uid="uid://d1ulrvupa76ap" path="res://components/UI/ColorBar.tscn" id="1_uxey7"]
[node name="BossBar" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_q4vrr")
[node name="health" parent="." instance=ExtResource("1_uxey7")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.2
anchor_top = 1.0
anchor_right = 0.8
anchor_bottom = 1.0
offset_top = -40.0
offset_right = 0.0
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 0