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

feat(游戏结束): 添加子弹显示名称并改进死亡信息显示

- 为所有子弹类型添加displayName属性用于显示
- 修改GameOver面板显示死亡原因,包含子弹名称和发射者
- 更新死亡原因文本格式为富文本样式
- 移除GameOver面板中多余的LabelSettings资源
This commit is contained in:
2025-09-13 20:52:19 +08:00
parent 3c1f89f807
commit 08f3067c7f
14 changed files with 155 additions and 149 deletions
+1
View File
@@ -1,6 +1,7 @@
extends Area2D
class_name BulletBase
@export var displayName: String = "未知子弹"
@export var speed: float = 10.0
@export var damage: float = 10.0
@export var penerate: float = 0.0