Small changes to the test dungeon.

This commit is contained in:
Relintai 2021-08-26 00:18:39 +02:00
parent 4f02de36d9
commit 7ee9a14b01
2 changed files with 15 additions and 10 deletions

View File

@ -0,0 +1,12 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://scripts/dungeons/dungeon.gd" type="Script" id=1]
[ext_resource path="res://test_rooms/Room5.tres" type="PropData" id=2]
[ext_resource path="res://test_rooms/Room4.tres" type="PropData" id=3]
[ext_resource path="res://test_rooms/Room3.tres" type="PropData" id=4]
[ext_resource path="res://test_rooms/Room1.tres" type="PropData" id=5]
[node name="Dungeon" type="Spatial"]
script = ExtResource( 1 )
start_room = ExtResource( 5 )
rooms = [ ExtResource( 4 ), ExtResource( 3 ), ExtResource( 2 ) ]

View File

@ -1,11 +1,7 @@
[gd_scene load_steps=9 format=2] [gd_scene load_steps=5 format=2]
[ext_resource path="res://scripts/dungeons/dungeon.gd" type="Script" id=1] [ext_resource path="res://test_dungeon/Dungeon.tscn" type="PackedScene" id=1]
[ext_resource path="res://test_rooms/Room1.tres" type="PropData" id=2]
[ext_resource path="res://debug/FreeLookCamera.gd" type="Script" id=3] [ext_resource path="res://debug/FreeLookCamera.gd" type="Script" id=3]
[ext_resource path="res://test_rooms/Room3.tres" type="PropData" id=4]
[ext_resource path="res://test_rooms/Room5.tres" type="PropData" id=5]
[ext_resource path="res://test_rooms/Room4.tres" type="PropData" id=6]
[sub_resource type="ProceduralSky" id=2] [sub_resource type="ProceduralSky" id=2]
@ -23,10 +19,7 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, -3 )
current = true current = true
script = ExtResource( 3 ) script = ExtResource( 3 )
[node name="Dungeon" type="Spatial" parent="."] [node name="Dungeon" parent="." instance=ExtResource( 1 )]
script = ExtResource( 1 )
start_room = ExtResource( 2 )
rooms = [ ExtResource( 4 ), ExtResource( 6 ), ExtResource( 5 ) ]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 1 ) environment = SubResource( 1 )