Add a map-loader sctipt

This commit is contained in:
2025-01-28 19:32:38 +01:00
parent b54ffaeb0d
commit 9b1ab02b94
32 changed files with 16268 additions and 2790 deletions

View File

@ -0,0 +1,22 @@
extends Node
# This script shoud be able to find the player
var players: Dictionary = {}
func spawn_a_bullet():
# -- Get
pass
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
var world: MapController = find_parent("Map")
# Get all the players on the server and add
# corresponding nodes to them
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

View File

@ -0,0 +1,8 @@
[gd_scene format=3 uid="uid://sh5diukewgs5"]
[node name="BulletSpawner" type="Node3D"]
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
spawn_path = NodePath("../Node3D")
[node name="Node3D" type="Node3D" parent="."]