fully sync player movements over network

This commit is contained in:
2023-01-17 13:54:26 +01:00
parent 1ef5d54d6c
commit 9893bc45b4
19 changed files with 434 additions and 62 deletions

View File

@@ -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()