spawning chests in csg boxes, working on making them root of scene so they aren't cleared with the scene on exit

This commit is contained in:
derek
2025-04-04 16:30:51 -05:00
parent 6cd06193b5
commit ce08df66e6
15 changed files with 99 additions and 76 deletions

View File

@@ -1,5 +1,6 @@
[gd_scene load_steps=21 format=3 uid="uid://uo43j7bomkf3"]
[gd_scene load_steps=22 format=3 uid="uid://uo43j7bomkf3"]
[ext_resource type="Script" uid="uid://pm8n67yhip1p" path="res://scripts/sublevel.gd" id="1_e6kt2"]
[ext_resource type="PackedScene" uid="uid://cwy8iv8nlwqrc" path="res://assets/realtime_day_night_cycle.tscn" id="3_uc3ig"]
[ext_resource type="Script" uid="uid://12l74jckdnpl" path="res://scripts/room_manager.gd" id="4_iqtg8"]
[ext_resource type="PackedScene" uid="uid://djr7vnr1hcx82" path="res://assets/spider2.tscn" id="5_vb31s"]
@@ -10,8 +11,8 @@
[ext_resource type="PackedScene" uid="uid://24slv0pyxcd5" path="res://assets/level_bounds.tscn" id="16_8ulfh"]
[ext_resource type="PackedScene" uid="uid://bj1y0fbjtul4a" path="res://post_processing.tscn" id="17_6thjn"]
[ext_resource type="PackedScene" uid="uid://dc0fxhbw6x1h3" path="res://tube_top.tscn" id="17_57hjo"]
[ext_resource type="PackedScene" uid="uid://c5t4uqihf8q0i" path="res://scripts/chest_spawner.tscn" id="17_e6kt2"]
[ext_resource type="PackedScene" uid="uid://dt4t2a48204v1" path="res://assets/spikes_1.tscn" id="17_hpnr5"]
[ext_resource type="PackedScene" uid="uid://db7xqf12sayj0" path="res://assets/chest_spawner.tscn" id="17_mw655"]
[ext_resource type="PackedScene" uid="uid://20csd6dmwj4y" path="res://assets/jump_platform.tscn" id="18_1ool5"]
[ext_resource type="PackedScene" uid="uid://c0vc26f4warsi" path="res://scripts/cloud_spawner.tscn" id="18_e6kt2"]
[ext_resource type="PackedScene" uid="uid://do6gt53xr2l23" path="res://assets/garbage_bin.tscn" id="18_r6s5q"]
@@ -29,6 +30,7 @@ albedo_color = Color(0.300579, 0.462784, 0.249767, 1)
size = Vector3(722.834, 289.347, 420.508)
[node name="Highwire" type="Node3D"]
script = ExtResource("1_e6kt2")
[node name="Realtime Day Night Cycle" parent="." instance=ExtResource("3_uc3ig")]
transform = Transform3D(0.510503, -0.00501647, 0.859861, 0.00982605, 0.999952, 1.08313e-09, -0.85982, 0.00844904, 0.510527, -41.021, 0, 40.533)
@@ -299,21 +301,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.9072, -0.1705, 12.0777)
[node name="Spikes 5" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -203.179, -0.1705, 11.0759)
[node name="ChestSpawner" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -197.055, 28.7598, -23.1374)
[node name="ChestSpawner2" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(0.326146, 0, 0.94532, 0, 1, 0, -0.94532, 0, 0.326146, -245.963, 17.0575, -26.9477)
[node name="ChestSpawner3" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(0.419579, 0, 0.907719, 0, 1, 0, -0.907719, 0, 0.419579, -237.2, 1.26645, -39.3357)
[node name="ChestSpawner4" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(0.419579, 0, 0.907719, 0, 1, 0, -0.907719, 0, 0.419579, -237.2, 1.26645, -70.919)
[node name="ChestSpawner5" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(0.419579, 0, 0.907719, 0, 1, 0, -0.907719, 0, 0.419579, -237.2, 1.26645, -98.4264)
[node name="GarbageBin" parent="." instance=ExtResource("18_r6s5q")]
transform = Transform3D(-0.714729, 0, -0.699401, 0, 1, 0, 0.699401, 0, -0.714729, -4.96806, -0.170516, 18.2021)
@@ -352,3 +339,23 @@ size = Vector3(102.386, 146.752, 579.126)
[node name="Cloudspawn6" parent="." instance=ExtResource("18_e6kt2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -567.32, 59.7442, -47.1966)
size = Vector3(102.386, 146.752, 579.126)
[node name="ChestSpawner" parent="." instance=ExtResource("17_e6kt2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -230.434, 17.394, -66.4599)
size = Vector3(39, 4.19531, 120.959)
[node name="ChestSpawner2" parent="." instance=ExtResource("17_e6kt2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -198.325, 27.2852, -20.5712)
size = Vector3(21.75, 2.03613, 19.1631)
[node name="ChestSpawner3" parent="." instance=ExtResource("17_e6kt2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -237.215, 1.4657, -104.908)
size = Vector3(21.75, 2.03613, 19.1631)
[node name="ChestSpawner4" parent="." instance=ExtResource("17_e6kt2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -237.215, 1.83144, -68.4389)
size = Vector3(21.75, 2.03613, 19.1631)
[node name="ChestSpawner5" parent="." instance=ExtResource("17_e6kt2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -237.215, 1.62245, -39.3783)
size = Vector3(21.75, 2.03613, 19.1631)