fully sync player movements over network
This commit is contained in:
7
Game.gd
7
Game.gd
@@ -5,9 +5,7 @@ signal game_loaded
|
||||
|
||||
var init_config
|
||||
|
||||
func load_map():
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||
|
||||
func _ready():
|
||||
init_config = Runtimeloader.loadConfig("init.cfg") as ConfigFile
|
||||
|
||||
print("Loading PCK...")
|
||||
@@ -20,7 +18,8 @@ func load_map():
|
||||
Runtimeloader.loadPCK(weapon)
|
||||
|
||||
print("Loading Resources Done.")
|
||||
|
||||
|
||||
func load_map():
|
||||
Runtimeloader.loadScene("maps/test_map.tscn", self)
|
||||
#Runtimeloader.get_all_entities(node)
|
||||
game_loaded.emit()
|
||||
|
||||
Reference in New Issue
Block a user