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

feat(UI): 添加波次开始提示并优化提示框功能

- 在Wave.gd中添加波次开始时的UI提示
- 调整UI.tscn中提示框的布局和位置
- 修复TipBox.gd中实例化组件的错误
- 修改UIState.gd中提示框的显示逻辑,支持自动销毁
This commit is contained in:
2026-01-24 15:54:42 +08:00
parent 6be95a5658
commit a6ece59c71
4 changed files with 19 additions and 14 deletions
+1
View File
@@ -97,5 +97,6 @@ static func next(waves: Array):
wave = instance_from_id(wave.get_instance_id())
EntityBase.generate(ComponentManager.getCharacter(wave.entity), wave.entityPosition, true, wave.isBoss)
current += 1
UIState.showTip("%d波开始!" % current, true)
static func startWith(wave: int):
return wave - 1