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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user