forked from interstellar_development/freeftf
Milestone 7 Beta 1
Redid the entire serverside and clientside, matchmaking is finally out, bugfixes.
This commit is contained in:
parent
9de67986dd
commit
699320353a
16 changed files with 324 additions and 266 deletions
|
|
@ -14,17 +14,12 @@ func matchmaking():
|
|||
|
||||
func _ready():
|
||||
Game.reset()
|
||||
Server.reset()
|
||||
if !OS.is_debug_build():
|
||||
$main_content/matchmaking.hide()
|
||||
$main_content/matchmaking.disabled = true
|
||||
if DisplayServer.get_name() == "headless":
|
||||
_on_matchmaking_pressed()
|
||||
|
||||
func _on_create_pressed():
|
||||
get_tree().change_scene_to_file("res://menus/create.tscn")
|
||||
|
||||
|
||||
func _on_join_pressed():
|
||||
get_tree().change_scene_to_file("res://menus/create.tscn")
|
||||
|
||||
|
|
@ -35,6 +30,6 @@ func _on_settings_pressed():
|
|||
|
||||
|
||||
func _on_matchmaking_pressed():
|
||||
Server.create_game()
|
||||
Matchmaking.create_game()
|
||||
matchmaking()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue