Added a basic test map, options menu, bug fixes, and much more.
This commit is contained in:
Patrick 2025-08-08 10:57:42 +02:00
parent d72b5ac57b
commit 2dce012535
34 changed files with 1268 additions and 84 deletions

View file

@ -3,10 +3,12 @@ extends Control
func _on_host_game_button_pressed() -> void:
Multiplayer.host_server()
if get_tree().change_scene_to_file("res://ui/host_game.tscn") != OK:
print("Failed to change to scene.")
func _on_join_game_button_pressed() -> void:
Multiplayer.join_server()
if get_tree().change_scene_to_file("res://ui/join_game.tscn") != OK:
print("Failed to change to scene.")
func _on_options_button_pressed() -> void:
if get_tree().change_scene_to_file("res://ui/options_menu.tscn") != OK:
print("Failed to change to scene.")