1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-06 19:57:12 +08:00

feat(UI): 添加编译提示面板并更新启动流程

在启动单机游戏时显示编译提示面板
扩展FullscreenPanelBase增加afterOpen和beforeClose钩子
添加CompilingTip面板相关资源和脚本
This commit is contained in:
2026-01-25 21:18:25 +08:00
parent 41d16ffd58
commit e170dbee6d
10 changed files with 129 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
@tool
extends FullscreenPanelBase
func afterOpen(_args: Array = []):
UIState.closeCurrentPanel()
@@ -0,0 +1 @@
uid://dubab2jnii6et
+1 -1
View File
@@ -65,7 +65,7 @@ func startSingleplayerGame():
MultiplayerState.playerName = playerNameInput.text
EntityBase.generatePlayer(playerNameInput.text)
WorldManager.rootNode.spawnWave(Vector2.ZERO)
UIState.closeCurrentPanel()
UIState.setPanel("CompilingTip")
func _ready():
historyStack = Composables.useHistoryStack(playerNameInput)