Moved the test things.

This commit is contained in:
Relintai 2022-02-12 18:47:23 +01:00
parent 73e37907e6
commit a5cd083be4
35 changed files with 89 additions and 89 deletions

View File

@ -2,7 +2,7 @@
[ext_resource path="res://modules/planets/test_planet/dungeons/dung_teleporter.gd" type="Script" id=1]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/test_brick_albedo.png" type="Texture" id=2]
[ext_resource path="res://test_dungeon/Dungeon.tscn" type="PackedScene" id=3]
[ext_resource path="res://tests/test_dungeon/Dungeon.tscn" type="PackedScene" id=3]
[ext_resource path="res://modules/planets/test_planet/dungeons/dung_back_teleporter.tscn" type="PackedScene" id=4]
[sub_resource type="CubeMesh" id=1]

View File

@ -1,14 +0,0 @@
[gd_scene load_steps=7 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]
[ext_resource path="res://test_rooms/RoomPlug.tres" type="PropData" id=6]
[node name="Dungeon" type="Spatial"]
script = ExtResource( 1 )
start_room = ExtResource( 5 )
rooms = [ ExtResource( 4 ), ExtResource( 3 ), ExtResource( 2 ) ]
plug = ExtResource( 6 )

View File

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

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://test_dungeon/Dungeon.tscn" type="PackedScene" id=1]
[ext_resource path="res://tests/test_dungeon/Dungeon.tscn" type="PackedScene" id=1]
[ext_resource path="res://debug/FreeLookCamera.gd" type="Script" id=3]
[sub_resource type="ProceduralSky" id=2]

View File

@ -4,7 +4,7 @@
[ext_resource path="res://modules/species/Human/Female/character_models/huf_spine1.tres" type="MeshDataResource" id=2]
[ext_resource path="res://modules/species/Human/Female/character_textures/100_seamless/armor_green_scarf.png" type="Texture" id=3]
[ext_resource path="res://modules/species/Human/Female/character_textures/100_seamless/armor_red_scarf.png" type="Texture" id=4]
[ext_resource path="res://test_props/MeshDataInstance2.tres" type="PropData" id=5]
[ext_resource path="res://tests/test_props/MeshDataInstance2.tres" type="PropData" id=5]
[sub_resource type="PropDataMeshData" id=1]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.879526, 0, 0.182433 )

View File

@ -4,7 +4,7 @@
[ext_resource path="res://modules/species/Human/Female/character_textures/100_seamless/armor_red_scarf.png" type="Texture" id=2]
[ext_resource path="res://modules/species/Human/Female/character_models/huf_spine1.tres" type="MeshDataResource" id=3]
[ext_resource path="res://modules/species/Human/Female/character_textures/100_seamless/armor_green_scarf.png" type="Texture" id=4]
[ext_resource path="res://test_props/MeshDataInstance2.tres" type="PropData" id=5]
[ext_resource path="res://tests/test_props/MeshDataInstance2.tres" type="PropData" id=5]
[sub_resource type="Image" id=8]
data = {

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://test_props/MeshDataInstance.tres" type="PropData" id=1]
[ext_resource path="res://tests/test_props/MeshDataInstance.tres" type="PropData" id=1]
[sub_resource type="SpatialMaterial" id=1]
flags_vertex_lighting = true

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://test_props/MeshDataInstance.tres" type="PropData" id=1]
[ext_resource path="res://tests/test_props/MeshDataInstance.tres" type="PropData" id=1]
[ext_resource path="res://debug/FreeLookCamera.gd" type="Script" id=2]
[node name="Spatial" type="Spatial"]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://test_props/MeshDataInstance.tres" type="PropData" id=1]
[ext_resource path="res://tests/test_props/MeshDataInstance.tres" type="PropData" id=1]
[node name="Spatial" type="Spatial"]

View File

@ -1,8 +1,8 @@
[gd_resource type="PropData" load_steps=13 format=2]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=1]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=4]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=8]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=1]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=3]
[sub_resource type="PropDataPortal" id=1]
transform = Transform( -1, 0, -9.61651e-07, 0, 1, 0, 9.61651e-07, 0, -1, 2, 1, 0 )
@ -12,49 +12,49 @@ points = PoolVector2Array( -1, 1, -1, -1, 0, -1, 0, 1 )
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5, 0, 0 )
width = 6
heigth = 3
data = ExtResource( 1 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=3]
transform = Transform( 1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 0, 0, -6 )
width = 6
heigth = 3
data = ExtResource( 1 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=4]
transform = Transform( -1, 0, 3.17865e-08, 0, 1, 0, -3.17865e-08, 0, -1, 5, 0, -6 )
width = 5
heigth = 3
data = ExtResource( 1 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=5]
transform = Transform( -1, 0, 3.17865e-08, -3.17865e-08, -5.96046e-08, -1, 2.66454e-15, -1, 5.96046e-08, 5, 0, 0 )
width = 5
heigth = 6
data = ExtResource( 1 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=6]
transform = Transform( -1, 0, 3.17865e-08, 3.17865e-08, 5.96046e-08, 1, -1.77636e-15, 1, -5.96046e-08, 5, 3, -6 )
width = 5
heigth = 6
data = ExtResource( 1 )
data = ExtResource( 2 )
collision = false
[sub_resource type="PropDataTiledWall" id=7]
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 0, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 1 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=8]
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 3, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 1 )
data = ExtResource( 2 )
[sub_resource type="PropDataMeshData" id=9]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0 )
mesh = ExtResource( 8 )
texture = ExtResource( 4 )
mesh = ExtResource( 1 )
texture = ExtResource( 3 )
[resource]
props = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ) ]

View File

@ -2,7 +2,7 @@
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=4]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=5]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[sub_resource type="SpatialMaterial" id=3]
albedo_texture = ExtResource( 4 )

View File

@ -4,7 +4,7 @@
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=3]
[ext_resource path="res://modules/species/Human/Female/character_textures/100_seamless/armor_simple.png" type="Texture" id=4]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=5]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=5]
[sub_resource type="PropDataPortal" id=1]
transform = Transform( -1, 0, -9.61651e-07, 0, 1, 0, 9.61651e-07, 0, -1, 2, 1, 0 )

View File

@ -4,7 +4,7 @@
[ext_resource path="res://modules/species/Human/Female/character_textures/100_seamless/armor_simple.png" type="Texture" id=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=4]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=5]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[sub_resource type="SpatialMaterial" id=3]
albedo_texture = ExtResource( 4 )

View File

@ -1,50 +1,50 @@
[gd_resource type="PropData" load_steps=16 format=2]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=1]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=2]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=3]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=3]
[sub_resource type="PropDataTiledWall" id=1]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5, 0, 0 )
width = 10
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=2]
transform = Transform( 1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 0, 0, -10 )
width = 10
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=3]
transform = Transform( -1, 0, 3.17865e-08, -3.17865e-08, -5.96046e-08, -1, 2.66454e-15, -1, 5.96046e-08, 5, 0, 0 )
width = 5
heigth = 10
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=4]
transform = Transform( -1, 0, 3.17865e-08, 3.17865e-08, 5.96046e-08, 1, -1.77636e-15, 1, -5.96046e-08, 5, 3, -10 )
width = 5
heigth = 10
data = ExtResource( 3 )
data = ExtResource( 2 )
collision = false
[sub_resource type="PropDataTiledWall" id=5]
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 0, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=6]
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 3, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataMeshData" id=7]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0 )
mesh = ExtResource( 1 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )
[sub_resource type="PropDataPortal" id=8]
transform = Transform( -1, 0, -9.61651e-07, 0, 1, 0, 9.61651e-07, 0, -1, 2, 1, 0 )
@ -54,18 +54,18 @@ points = PoolVector2Array( -1, 1, -1, -1, 0, -1, 0, 1 )
transform = Transform( -1, 0, -1.43059e-07, 0, 1, 0, 1.43059e-07, 0, -1, 5, 0, -10 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=10]
transform = Transform( -1, 0, -1.43059e-07, 0, 1, 0, 1.43059e-07, 0, -1, 2, 0, -10 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataMeshData" id=11]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 3, 2, -10 )
mesh = ExtResource( 1 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )
[sub_resource type="PropDataPortal" id=12]
transform = Transform( 1, 0, 1.04907e-06, 0, 1, 0, -1.04907e-06, 0, 1, 3, 1, -10 )

View File

@ -2,7 +2,7 @@
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=4]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=5]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[sub_resource type="SpatialMaterial" id=3]
albedo_texture = ExtResource( 4 )

View File

@ -1,50 +1,50 @@
[gd_resource type="PropData" load_steps=16 format=2]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=1]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=2]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=3]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=3]
[sub_resource type="PropDataTiledWall" id=1]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5, 0, 0 )
width = 16
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=2]
transform = Transform( 1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 0, 0, -16 )
width = 16
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=3]
transform = Transform( -1, 0, 3.17865e-08, -3.17865e-08, -5.96046e-08, -1, 2.66454e-15, -1, 5.96046e-08, 5, 0, 0 )
width = 5
heigth = 16
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=4]
transform = Transform( -1, 0, 3.17865e-08, 3.17865e-08, 5.96046e-08, 1, -1.77636e-15, 1, -5.96046e-08, 5, 3, -16 )
width = 5
heigth = 16
data = ExtResource( 3 )
data = ExtResource( 2 )
collision = false
[sub_resource type="PropDataTiledWall" id=5]
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 0, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=6]
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 3, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataMeshData" id=7]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0 )
mesh = ExtResource( 1 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )
[sub_resource type="PropDataPortal" id=8]
transform = Transform( -1, 0, -9.61651e-07, 0, 1, 0, 9.61651e-07, 0, -1, 2, 1, 0 )
@ -54,18 +54,18 @@ points = PoolVector2Array( -1, 1, -1, -1, 0, -1, 0, 1 )
transform = Transform( -1, 0, -1.43059e-07, 0, 1, 0, 1.43059e-07, 0, -1, 5, 0, -16 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=10]
transform = Transform( -1, 0, -1.43059e-07, 0, 1, 0, 1.43059e-07, 0, -1, 2, 0, -16 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataMeshData" id=11]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 3, 2, -16 )
mesh = ExtResource( 1 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )
[sub_resource type="PropDataPortal" id=12]
transform = Transform( 1, 0, 1.04907e-06, 0, 1, 0, -1.04907e-06, 0, 1, 3, 1, -16 )

View File

@ -2,7 +2,7 @@
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=4]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=5]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[sub_resource type="SpatialMaterial" id=3]
albedo_texture = ExtResource( 4 )

View File

@ -1,33 +1,33 @@
[gd_resource type="PropData" load_steps=22 format=2]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=1]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=2]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=3]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=3]
[sub_resource type="PropDataTiledWall" id=1]
transform = Transform( -1, 0, 3.17865e-08, -3.17865e-08, -5.96046e-08, -1, 2.66454e-15, -1, 5.96046e-08, 5, 0, 0 )
width = 5
heigth = 6
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=2]
transform = Transform( -1, 0, 3.17865e-08, 3.17865e-08, 5.96046e-08, 1, -1.77636e-15, 1, -5.96046e-08, 5, 3, -6 )
width = 5
heigth = 6
data = ExtResource( 3 )
data = ExtResource( 2 )
collision = false
[sub_resource type="PropDataTiledWall" id=3]
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 0, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=4]
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 3, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataPortal" id=5]
transform = Transform( -1, 0, -9.61651e-07, 0, 1, 0, 9.61651e-07, 0, -1, 2, 1, 0 )
@ -36,19 +36,19 @@ points = PoolVector2Array( -1, 1, -1, -1, 0, -1, 0, 1 )
[sub_resource type="PropDataMeshData" id=6]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0 )
mesh = ExtResource( 1 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )
[sub_resource type="PropDataTiledWall" id=7]
transform = Transform( -1, 0, -1.43059e-07, 0, 1, 0, 1.43059e-07, 0, -1, 5, 0, -6 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=8]
transform = Transform( -1, 0, -1.43059e-07, 0, 1, 0, 1.43059e-07, 0, -1, 2, 0, -6 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataPortal" id=9]
transform = Transform( 1, 0, 1.04907e-06, 0, 1, 0, -1.04907e-06, 0, 1, 3, 1, -6 )
@ -57,19 +57,19 @@ points = PoolVector2Array( -1, 1, -1, -1, 0, -1, 0, 1 )
[sub_resource type="PropDataMeshData" id=10]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 3, 2, -6 )
mesh = ExtResource( 1 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )
[sub_resource type="PropDataTiledWall" id=11]
transform = Transform( 6.75612e-08, 0, -1, 0, 1, 0, 1, 0, 6.75612e-08, 0, 0, -6 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=12]
transform = Transform( 6.75612e-08, 0, -1, 0, 1, 0, 1, 0, 6.75612e-08, 3.57747e-08, 0, -3 )
width = 3
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataPortal" id=13]
transform = Transform( -9.73576e-07, 0, 1, 0, 1, 0, -1, 0, -9.73576e-07, 2.38498e-08, 1, -4 )
@ -78,19 +78,19 @@ points = PoolVector2Array( -1, 1, -1, -1, 0, -1, 0, 1 )
[sub_resource type="PropDataMeshData" id=14]
transform = Transform( 1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 2.38498e-08, 2, -4 )
mesh = ExtResource( 1 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )
[sub_resource type="PropDataTiledWall" id=15]
transform = Transform( -9.93477e-08, 0, 1, 0, 1, 0, -1, 0, -9.93477e-08, 5, 0, 0 )
width = 2
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataTiledWall" id=16]
transform = Transform( -9.93477e-08, 0, 1, 0, 1, 0, -1, 0, -9.93477e-08, 5, 0, -3 )
width = 3
heigth = 3
data = ExtResource( 3 )
data = ExtResource( 2 )
[sub_resource type="PropDataPortal" id=17]
transform = Transform( 1.00536e-06, 0, -1, 0, 1, 0, 1, 0, 1.00536e-06, 5, 1, -2 )
@ -99,7 +99,7 @@ points = PoolVector2Array( -1, 1, -1, -1, 0, -1, 0, 1 )
[sub_resource type="PropDataMeshData" id=18]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5, 2, -2 )
mesh = ExtResource( 1 )
texture = ExtResource( 2 )
texture = ExtResource( 3 )
[resource]
props = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ) ]

View File

@ -2,7 +2,7 @@
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=4]
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=5]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[sub_resource type="SpatialMaterial" id=3]
albedo_texture = ExtResource( 4 )

View File

@ -1,6 +1,6 @@
[gd_resource type="PropData" load_steps=3 format=2]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=1]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=1]
[sub_resource type="PropDataTiledWall" id=1]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0.5, -1, 0 )

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
[node name="RoomPLug" type="Spatial"]

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://test_rooms/Room1.tscn" type="PackedScene" id=1]
[ext_resource path="res://test_rooms/Room2.tscn" type="PackedScene" id=2]
[ext_resource path="res://test_rooms/RoomManagerGD.gd" type="Script" id=3]
[ext_resource path="res://tests/test_rooms/Room1.tscn" type="PackedScene" id=1]
[ext_resource path="res://tests/test_rooms/Room2.tscn" type="PackedScene" id=2]
[ext_resource path="res://tests/test_rooms/RoomManagerGD.gd" type="Script" id=3]
[node name="Spatial" type="Spatial"]

View File

@ -1,7 +1,7 @@
[gd_resource type="TiledWallData" load_steps=2 format=2]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=6]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=1]
[resource]
tiling_type = 3
textures = [ ExtResource( 6 ) ]
textures = [ ExtResource( 1 ) ]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://test_rooms/Room1.tres" type="PropData" id=1]
[ext_resource path="res://tests/test_rooms/Room1.tres" type="PropData" id=1]
[node name="Spatial" type="Spatial"]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://test_world_generator/WorldGeneratorTest.gd" type="Script" id=1]
[ext_resource path="res://tests/test_world_generator/WorldGeneratorTest.gd" type="Script" id=1]
[node name="WorldGeneratorTest" type="Sprite"]
script = ExtResource( 1 )

View File

@ -4,7 +4,7 @@
[ext_resource path="res://tw/TerrainWorldBlocky.gd" type="Script" id=2]
[ext_resource path="res://tw/world_generator.tres" type="TerrainLevelGenerator" id=3]
[ext_resource path="res://scripts/settings/DirectionalLightSettings.gd" type="Script" id=4]
[ext_resource path="res://test_props/MeshDataInstance.tres" type="PropData" id=5]
[ext_resource path="res://tests/test_props/MeshDataInstance.tres" type="PropData" id=5]
[sub_resource type="ProceduralSky" id=2]
sky_top_color = Color( 0.34902, 0.643137, 0.705882, 1 )