feat: implement multiplayer network manager and player movement controller with base game entities and UI

This commit is contained in:
DottsGit
2026-06-06 14:03:57 -04:00
parent 168bd8f1ce
commit 9adbff3968
6 changed files with 120 additions and 24 deletions
+7
View File
@@ -260,6 +260,13 @@ func _ready() -> void:
pl_title.add_theme_constant_override("outline_size", 8)
hl_right.add_child(pl_title)
var port_label = Label.new()
if get_node_or_null("/root/NetworkManager"):
port_label.text = "Port: " + str(get_node("/root/NetworkManager").DEFAULT_PORT)
port_label.add_theme_font_size_override("font_size", 24)
port_label.add_theme_color_override("font_color", Color(0.7, 0.7, 0.7))
hl_right.add_child(port_label)
_host_lobby_players_list = ItemList.new()
_host_lobby_players_list.size_flags_vertical = Control.SIZE_EXPAND_FILL
_host_lobby_players_list.add_theme_font_size_override("font_size", 24)