Linear room spawner

This commit is contained in:
MaddoScientisto 2025-04-14 23:04:41 +02:00
commit c6a0b73ed2
5 changed files with 90 additions and 20 deletions

View file

@ -16,7 +16,7 @@
[ext_resource type="Script" uid="uid://cnkipcolyj61w" path="res://Scripts/AlarmManager.cs" id="12_eoca5"]
[ext_resource type="PackedScene" uid="uid://b3tyacxxw88lx" path="res://Scenes/Utils/StreamPlayerWithName.tscn" id="13_4n7t6"]
[node name="GameScene" type="Node2D" node_paths=PackedStringArray("NavigationRegion")]
[node name="GameScene" type="Node2D"]
process_mode = 3
script = ExtResource("1_wbqvu")
MapResource = ExtResource("2_k5t51")
@ -24,12 +24,12 @@ PlayerTemplate = ExtResource("2_3fyis")
SpawnMarkers = Dictionary[int, NodePath]({
0: NodePath("PlayerStartPosition")
})
NavigationRegion = NodePath("")
[node name="Maps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
process_mode = 1
script = ExtResource("4_jtlua")
Rooms = Array[Object]([ExtResource("5_gwtv6"), ExtResource("6_gwtv6"), ExtResource("7_wbqvu"), ExtResource("8_3fyis"), ExtResource("9_go1yg")])
DungeonLength = 4
[node name="CameraController" type="Camera2D" parent="."]
process_mode = 1