0.1.0
Added a basic test map, options menu, bug fixes, and much more.
This commit is contained in:
parent
d72b5ac57b
commit
2dce012535
34 changed files with 1268 additions and 84 deletions
15
ui/lobby.gd
Normal file
15
ui/lobby.gd
Normal file
|
@ -0,0 +1,15 @@
|
|||
class_name HostGame
|
||||
extends JoinGame
|
||||
|
||||
@onready var start_button: Button = $StartGameButton
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
Multiplayer.playerlist_label = $PlayerList
|
||||
if multiplayer.is_server():
|
||||
start_button.disabled = false
|
||||
start_button.visible = true
|
||||
Multiplayer.request_playerlist.rpc_id(1)
|
||||
|
||||
func _on_start_game_button_pressed() -> void:
|
||||
Multiplayer.switch_scene.rpc("res://maps/test_map.tscn")
|
Loading…
Add table
Add a link
Reference in a new issue