mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-30 07:51:54 +08:00
feat(多人游戏): 添加多人游戏功能及相关UI组件
- 在WorldManager中初始化ENetMultiplayerPeer - 移除EntityBase中冗余的peer初始化 - 添加多人游戏面板及相关输入控件 - 更新难度显示格式为范围表示 - 为主题添加LineEdit字体大小设置
This commit is contained in:
@@ -12,5 +12,5 @@ func _ready():
|
||||
UIState.closeCurrentPanel()
|
||||
)
|
||||
func _physics_process(_delta):
|
||||
levelShow.text = "%s/10" % diffEdit.value
|
||||
levelShow.text = "%d ∈ [%d, %d]" % [diffEdit.value, diffEdit.min_value, diffEdit.max_value]
|
||||
GameRule.difficulty = diffEdit.value
|
||||
|
||||
Reference in New Issue
Block a user