Massive work on level, UI, sound, and player functionality, small progress on netcode. Renamed project to Net Gunner.
This commit is contained in:
@@ -33,7 +33,8 @@ func join_game(new_handle : String) -> Error:
|
||||
print("%s %d" % [handle, multiplayer.get_unique_id()])
|
||||
return !error
|
||||
|
||||
|
||||
func is_server() -> bool:
|
||||
return multiplayer && multiplayer.is_server()
|
||||
|
||||
func _add_player_to_game(id : int) -> void:
|
||||
print("Player %s joined the game!" % id)
|
||||
|
||||
Reference in New Issue
Block a user