More work on multiplayer and first pass of the trap icons

This commit is contained in:
2025-12-11 11:40:26 -05:00
parent c6da8344a4
commit 0451361af8
37 changed files with 495 additions and 71 deletions

View File

@@ -0,0 +1,13 @@
extends Node3D
const multiplayer_pc_template = preload("res://templates/multiplayer_pc.tscn")
const camera_template = preload("res://templates/camera.tscn")
@onready var spawner = %Spawner
func _ready() -> void:
print("LEVEL LOADING, ID: " + str(Multiplayer.id))
for key in Multiplayer.players.values():
var pc = multiplayer_pc_template.instantiate()
pc.setup(key)
spawner.add_player(pc)
var camera = camera_template.instantiate()
add_child(camera)