Initial commit

This commit is contained in:
2026-01-21 23:51:53 +01:00
commit 60b208fee0
1703 changed files with 100223 additions and 0 deletions

BIN
test/HugeTestRoom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b6v8etoyl3auu"
path="res://.godot/imported/HugeTestRoom.png-c478520a6ebf27eb024aba143cc3412c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/HugeTestRoom.png"
dest_files=["res://.godot/imported/HugeTestRoom.png-c478520a6ebf27eb024aba143cc3412c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
test/StartTest.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

40
test/StartTest.png.import Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://beyfotpepwav3"
path="res://.godot/imported/StartTest.png-f66fedc25ea6de8acc4c567aa11e3948.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/StartTest.png"
dest_files=["res://.godot/imported/StartTest.png-f66fedc25ea6de8acc4c567aa11e3948.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

48
test/StartTest.tscn Normal file
View File

@@ -0,0 +1,48 @@
[gd_scene load_steps=4 format=3 uid="uid://2v4kbjdwtms7"]
[ext_resource type="Script" uid="uid://lmn08s8c5lfo" path="res://Maps/Spaceship/RoomScripts/BasicRoom.gd" id="1_ext5g"]
[ext_resource type="Texture2D" uid="uid://icwcdyvrtcwe" path="res://test/TestTex1.png" id="2_sgqv8"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ext5g"]
albedo_color = Color(1.0107458e-06, 0.53601325, 5.7756904e-07, 1)
albedo_texture = ExtResource("2_sgqv8")
uv1_scale = Vector3(0.25, 0.25, 0.25)
[node name="StartTest" type="Node3D"]
script = ExtResource("1_ext5g")
metadata/_custom_type_script = "uid://lmn08s8c5lfo"
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0.5, -10)
material_override = SubResource("StandardMaterial3D_ext5g")
use_collision = true
collision_layer = 5
collision_mask = 0
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 2, 10)
size = Vector3(12, 6, 10)
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.5, 1, 5)
operation = 2
size = Vector3(3, 3, 1)
[node name="CSGBox3D5" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 1, 9.5)
operation = 2
size = Vector3(1, 3, 3)
[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.5, 1, 15)
operation = 2
size = Vector3(3, 3, 1)
[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 2, 10)
operation = 2
size = Vector3(11.5, 5, 9.5)
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.8641336, 2.426403, 0)
omni_range = 9.494983

49
test/Test4Way.tscn Normal file
View File

@@ -0,0 +1,49 @@
[gd_scene load_steps=3 format=3 uid="uid://dug63alirqh6t"]
[ext_resource type="Texture2D" uid="uid://icwcdyvrtcwe" path="res://test/TestTex1.png" id="1_tecoy"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_and83"]
albedo_color = Color(1, 0.30980393, 0, 1)
albedo_texture = ExtResource("1_tecoy")
uv1_scale = Vector3(0.25, 0.25, 0.25)
[node name="Test4Way" type="Node3D"]
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
material_override = SubResource("StandardMaterial3D_and83")
use_collision = true
collision_mask = 0
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
size = Vector3(8, 6, 8)
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
operation = 2
size = Vector3(7.5, 5, 7.5)
[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1, 4)
operation = 2
size = Vector3(3, 3, 1)
[node name="CSGBox3D6" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 1, -4)
operation = 2
size = Vector3(3, 3, 1)
[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 1, -0.5)
operation = 2
size = Vector3(1, 3, 3)
[node name="CSGBox3D5" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 1, 0.5)
operation = 2
size = Vector3(1, 3, 3)
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.4179506, 0)
omni_range = 7.3493676

View File

@@ -0,0 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://dssru1oxhemfm"]
[ext_resource type="Texture2D" uid="uid://icwcdyvrtcwe" path="res://test/TestTex1.png" id="1_q0ldl"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r5mi5"]
albedo_color = Color(0.8928247, 0.92421544, 0.92723864, 1)
albedo_texture = ExtResource("1_q0ldl")
[node name="TestConnectFloorTile" type="Node3D"]
[node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0)
material_override = SubResource("StandardMaterial3D_r5mi5")
use_collision = true
collision_mask = 0
size = Vector3(1, 0.5, 1)
[node name="CSGBox3D2" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, 0)
material_override = SubResource("StandardMaterial3D_r5mi5")
use_collision = true
collision_mask = 0
size = Vector3(1, 0.5, 1)

View File

@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://dehgby0nj76ko"]
[ext_resource type="Texture2D" uid="uid://icwcdyvrtcwe" path="res://test/TestTex1.png" id="1_qmi2d"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m22c6"]
albedo_color = Color(0.6952713, 0.7717677, 0.7797104, 1)
albedo_texture = ExtResource("1_qmi2d")
[node name="TestConnectFloorWallCorner" type="Node3D"]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
[node name="CSGBox3D3" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -0.4)
material_override = SubResource("StandardMaterial3D_m22c6")
use_collision = true
collision_mask = 0
size = Vector3(1, 4.5, 0.2)

View File

@@ -0,0 +1,16 @@
[gd_scene load_steps=3 format=3 uid="uid://cedgghypxofb1"]
[ext_resource type="Texture2D" uid="uid://icwcdyvrtcwe" path="res://test/TestTex1.png" id="1_pku77"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qmi2d"]
albedo_color = Color(0.6952713, 0.7717677, 0.7797104, 1)
albedo_texture = ExtResource("1_pku77")
[node name="TestConnectFloorWall" type="Node3D"]
[node name="CSGBox3D3" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.41, 2, -0.41)
material_override = SubResource("StandardMaterial3D_qmi2d")
use_collision = true
collision_mask = 0
size = Vector3(0.2, 4.5, 0.2)

BIN
test/TestTex1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

41
test/TestTex1.png.import Normal file
View File

@@ -0,0 +1,41 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://icwcdyvrtcwe"
path.s3tc="res://.godot/imported/TestTex1.png-b16a7699133f98c4a629c273b3a2fb2d.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://test/TestTex1.png"
dest_files=["res://.godot/imported/TestTex1.png-b16a7699133f98c4a629c273b3a2fb2d.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

22
test/debugCube.tscn Normal file
View File

@@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://d3ny31fbtn7eb"]
[ext_resource type="Script" uid="uid://dpmo4x21ey2de" path="res://test/debug_cube.gd" id="1_1vpg2"]
[sub_resource type="BoxMesh" id="BoxMesh_uwfbc"]
size = Vector3(0.2, 0.2, 0.2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1vpg2"]
albedo_color = Color(1, 0.4, 1, 1)
[node name="DebugCube" type="Node3D"]
script = ExtResource("1_1vpg2")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.560883, 0)
mesh = SubResource("BoxMesh_uwfbc")
surface_material_override/0 = SubResource("StandardMaterial3D_1vpg2")
[node name="Label3D" type="Label3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 1, 0)
visible = false
text = "Test"

5
test/debug_cube.gd Normal file
View File

@@ -0,0 +1,5 @@
extends Node3D
func _ready():
await get_tree().process_frame
$Label3D.text = str(global_transform.origin.x/7) + " | " + str($".".global_transform.origin.z/7)

1
test/debug_cube.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://dpmo4x21ey2de

17
test/doorBlockTest.tscn Normal file
View File

@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://blc3s7fewh1t4"]
[ext_resource type="Texture2D" uid="uid://icwcdyvrtcwe" path="res://test/TestTex1.png" id="1_63rrq"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_63rrq"]
albedo_color = Color(0.7176471, 0.7176471, 0.7176471, 1)
albedo_texture = ExtResource("1_63rrq")
metallic = 0.7
[node name="DoorBlockTest" type="Node3D"]
[node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 1.5, -0.625)
material_override = SubResource("StandardMaterial3D_63rrq")
use_collision = true
collision_mask = 0
size = Vector3(0.25, 3, 3)

3
test/player.tscn Normal file
View File

@@ -0,0 +1,3 @@
[gd_scene format=3 uid="uid://cu2dhnrn3jpab"]
[node name="Test" type="Node3D"]

60
test/spaceship_test.tscn Normal file
View File

@@ -0,0 +1,60 @@
[gd_scene load_steps=15 format=3 uid="uid://cftfv7v8syhig"]
[ext_resource type="Script" uid="uid://c7ea7hd1t6ucj" path="res://script/ShipLogic.gd" id="1_iuibe"]
[ext_resource type="Texture2D" uid="uid://cimsjl61nhh5s" path="res://assets/2D/HDR_blue_nebulae-1.hdr" id="4_fd4og"]
[ext_resource type="Script" uid="uid://cq0sxwn7k47n6" path="res://Maps/MapGenerator/levelGenerator.gd" id="4_yoeks"]
[ext_resource type="PackedScene" uid="uid://b02a2mfgj520w" path="res://Maps/Spaceship/Misc/BasicDoor.tscn" id="5_27t57"]
[ext_resource type="PackedScene" uid="uid://blc3s7fewh1t4" path="res://test/doorBlockTest.tscn" id="5_fd4og"]
[ext_resource type="PackedScene" uid="uid://dssru1oxhemfm" path="res://test/TestConnectFloorTile.tscn" id="5_yoeks"]
[ext_resource type="PackedScene" uid="uid://cedgghypxofb1" path="res://test/TestConnectFloorWallCorner.tscn" id="6_7qc4s"]
[ext_resource type="PackedScene" uid="uid://dehgby0nj76ko" path="res://test/TestConnectFloorWall.tscn" id="7_27t57"]
[sub_resource type="Gradient" id="Gradient_2meun"]
colors = PackedColorArray(0.047058824, 0, 0, 1, 0.6629716, 0.92782706, 0.9999992, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_fd4og"]
gradient = SubResource("Gradient_2meun")
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_yoeks"]
panorama = ExtResource("4_fd4og")
[sub_resource type="Sky" id="Sky_ly181"]
sky_material = SubResource("PanoramaSkyMaterial_yoeks")
[sub_resource type="Environment" id="Environment_7qc4s"]
background_mode = 2
background_color = Color(1, 1, 1, 1)
background_energy_multiplier = 3.0
sky = SubResource("Sky_ly181")
ambient_light_source = 3
ambient_light_color = Color(0.23392558, 0.2339254, 0.23392549, 1)
ambient_light_sky_contribution = 0.7
ssr_enabled = true
glow_enabled = true
glow_intensity = 1.1
adjustment_color_correction = SubResource("GradientTexture1D_fd4og")
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_iuibe"]
[node name="SpaceshipTest" type="Node3D"]
script = ExtResource("1_iuibe")
metadata/_custom_type_script = "uid://c7ea7hd1t6ucj"
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7qc4s")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_iuibe")
[node name="LevelGenerator" type="Node3D" parent="." node_paths=PackedStringArray("mapLogic")]
script = ExtResource("4_yoeks")
mapLogic = NodePath("..")
doorBlock = ExtResource("5_fd4og")
doorOBJ = ExtResource("5_27t57")
tile = ExtResource("5_yoeks")
tileWall = ExtResource("7_27t57")
tileCorner = ExtResource("6_7qc4s")
metadata/_custom_type_script = "uid://cq0sxwn7k47n6"

View File

@@ -0,0 +1,52 @@
[gd_scene load_steps=10 format=3 uid="uid://cftfv7v8syhig"]
[ext_resource type="Script" uid="uid://c7ea7hd1t6ucj" path="res://script/ShipLogic.gd" id="1_iuibe"]
[ext_resource type="PackedScene" uid="uid://d3ny31fbtn7eb" path="res://test/debugCube.tscn" id="3_6dd4g"]
[ext_resource type="Texture2D" uid="uid://cimsjl61nhh5s" path="res://assets/2D/HDR_blue_nebulae-1.hdr" id="4_fd4og"]
[ext_resource type="Script" uid="uid://cq0sxwn7k47n6" path="res://Maps/MapGenerator/levelGenerator.gd" id="4_yoeks"]
[ext_resource type="Texture2D" uid="uid://v848hb3emx1j" path="res://test/StartTest.png" id="5_fd4og"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_yoeks"]
panorama = ExtResource("4_fd4og")
[sub_resource type="Sky" id="Sky_ly181"]
sky_material = SubResource("PanoramaSkyMaterial_yoeks")
[sub_resource type="Environment" id="Environment_7qc4s"]
background_mode = 2
sky = SubResource("Sky_ly181")
ambient_light_source = 2
ambient_light_color = Color(0.241156, 0.241156, 0.241156, 1)
ssr_enabled = true
glow_enabled = true
glow_intensity = 1.1
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_iuibe"]
[node name="SpaceshipTest" type="Node3D"]
script = ExtResource("1_iuibe")
metadata/_custom_type_script = "uid://c7ea7hd1t6ucj"
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7qc4s")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0445775, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_iuibe")
[node name="DebugCube" parent="." instance=ExtResource("3_6dd4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.733945, 0.261625)
[node name="DebugCube2" parent="." instance=ExtResource("3_6dd4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.552344, -0.0315728)
[node name="DebugCube3" parent="." instance=ExtResource("3_6dd4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.306636, -0.391098, -0.0315728)
[node name="LevelGenerator" type="Node3D" parent="."]
script = ExtResource("4_yoeks")
gridSize = 20
testTexture = ExtResource("5_fd4og")
metadata/_custom_type_script = "uid://cq0sxwn7k47n6"

View File

@@ -0,0 +1,45 @@
[gd_scene load_steps=10 format=3 uid="uid://cftfv7v8syhig"]
[ext_resource type="Script" uid="uid://c7ea7hd1t6ucj" path="res://script/ShipLogic.gd" id="1_iuibe"]
[ext_resource type="PackedScene" uid="uid://d3ny31fbtn7eb" path="res://test/debugCube.tscn" id="3_6dd4g"]
[ext_resource type="Texture2D" uid="uid://cimsjl61nhh5s" path="res://assets/2D/HDR_blue_nebulae-1.hdr" id="4_fd4og"]
[ext_resource type="Script" uid="uid://cq0sxwn7k47n6" path="res://Maps/MapGenerator/levelGenerator.gd" id="4_yoeks"]
[ext_resource type="Texture2D" uid="uid://b6v8etoyl3auu" path="res://test/HugeTestRoom.png" id="5_7qc4s"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_yoeks"]
panorama = ExtResource("4_fd4og")
[sub_resource type="Sky" id="Sky_ly181"]
sky_material = SubResource("PanoramaSkyMaterial_yoeks")
[sub_resource type="Environment" id="Environment_7qc4s"]
background_mode = 2
sky = SubResource("Sky_ly181")
ambient_light_source = 2
ambient_light_color = Color(0.241156, 0.241156, 0.241156, 1)
ssr_enabled = true
glow_enabled = true
glow_intensity = 1.1
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_iuibe"]
[node name="SpaceshipTest" type="Node3D"]
script = ExtResource("1_iuibe")
metadata/_custom_type_script = "uid://c7ea7hd1t6ucj"
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7qc4s")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0445775, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_iuibe")
[node name="DebugCube" parent="." instance=ExtResource("3_6dd4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.552344, 0)
[node name="LevelGenerator" type="Node3D" parent="."]
script = ExtResource("4_yoeks")
testTexture = ExtResource("5_7qc4s")
metadata/_custom_type_script = "uid://cq0sxwn7k47n6"

View File

@@ -0,0 +1,45 @@
[gd_scene load_steps=10 format=3 uid="uid://cftfv7v8syhig"]
[ext_resource type="Script" uid="uid://c7ea7hd1t6ucj" path="res://script/ShipLogic.gd" id="1_iuibe"]
[ext_resource type="PackedScene" uid="uid://d3ny31fbtn7eb" path="res://test/debugCube.tscn" id="3_6dd4g"]
[ext_resource type="Texture2D" uid="uid://cimsjl61nhh5s" path="res://assets/2D/HDR_blue_nebulae-1.hdr" id="4_fd4og"]
[ext_resource type="Script" uid="uid://cq0sxwn7k47n6" path="res://Maps/MapGenerator/levelGenerator.gd" id="4_yoeks"]
[ext_resource type="Texture2D" uid="uid://b6v8etoyl3auu" path="res://test/HugeTestRoom.png" id="5_7qc4s"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_yoeks"]
panorama = ExtResource("4_fd4og")
[sub_resource type="Sky" id="Sky_ly181"]
sky_material = SubResource("PanoramaSkyMaterial_yoeks")
[sub_resource type="Environment" id="Environment_7qc4s"]
background_mode = 2
sky = SubResource("Sky_ly181")
ambient_light_source = 2
ambient_light_color = Color(0.241156, 0.241156, 0.241156, 1)
ssr_enabled = true
glow_enabled = true
glow_intensity = 1.1
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_iuibe"]
[node name="SpaceshipTest" type="Node3D"]
script = ExtResource("1_iuibe")
metadata/_custom_type_script = "uid://c7ea7hd1t6ucj"
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7qc4s")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0445775, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_iuibe")
[node name="DebugCube" parent="." instance=ExtResource("3_6dd4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.552344, 0)
[node name="LevelGenerator" type="Node3D" parent="."]
script = ExtResource("4_yoeks")
testTexture = ExtResource("5_7qc4s")
metadata/_custom_type_script = "uid://cq0sxwn7k47n6"

View File

@@ -0,0 +1,50 @@
[gd_scene load_steps=9 format=3 uid="uid://cftfv7v8syhig"]
[ext_resource type="Script" uid="uid://c7ea7hd1t6ucj" path="res://script/ShipLogic.gd" id="1_iuibe"]
[ext_resource type="PackedScene" uid="uid://d3ny31fbtn7eb" path="res://test/debugCube.tscn" id="3_6dd4g"]
[ext_resource type="Texture2D" uid="uid://cimsjl61nhh5s" path="res://assets/2D/HDR_blue_nebulae-1.hdr" id="4_fd4og"]
[ext_resource type="Script" uid="uid://cq0sxwn7k47n6" path="res://Maps/MapGenerator/levelGenerator.gd" id="4_yoeks"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_yoeks"]
panorama = ExtResource("4_fd4og")
[sub_resource type="Sky" id="Sky_ly181"]
sky_material = SubResource("PanoramaSkyMaterial_yoeks")
[sub_resource type="Environment" id="Environment_7qc4s"]
background_mode = 2
sky = SubResource("Sky_ly181")
ambient_light_source = 2
ambient_light_color = Color(0.241156, 0.241156, 0.241156, 1)
ssr_enabled = true
glow_enabled = true
glow_intensity = 1.1
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_iuibe"]
[node name="SpaceshipTest" type="Node3D"]
script = ExtResource("1_iuibe")
metadata/_custom_type_script = "uid://c7ea7hd1t6ucj"
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7qc4s")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0445775, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_iuibe")
[node name="DebugCube" parent="." instance=ExtResource("3_6dd4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.733945, 0.261625)
[node name="DebugCube2" parent="." instance=ExtResource("3_6dd4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.552344, -0.0315728)
[node name="DebugCube3" parent="." instance=ExtResource("3_6dd4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.306636, -0.391098, -0.0315728)
[node name="LevelGenerator" type="Node3D" parent="."]
script = ExtResource("4_yoeks")
gridSize = 150
metadata/_custom_type_script = "uid://cq0sxwn7k47n6"

768
test/test.tscn Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,30 @@
[gd_scene load_steps=5 format=3 uid="uid://ct2gxkwg5fb3m"]
[ext_resource type="PackedScene" uid="uid://rvvjguhqjtpb" path="res://actors/player_character.tscn" id="1_syuel"]
[ext_resource type="PackedScene" uid="uid://10bx1tluk6fg" path="res://assets/PCB.glb" id="2_8a8pi"]
[sub_resource type="Environment" id="Environment_syuel"]
ambient_light_color = Color(0.60933, 0.60933, 0.60933, 1)
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_yr2l0"]
[node name="Test" type="Node3D"]
[node name="geometrie" type="Node3D" parent="."]
[node name="PlayerCharacter" parent="." instance=ExtResource("1_syuel")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 1.07014, -0.0941736)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_syuel")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.596225, 0.802817, 0, -0.802817, 0.596225, 0, 8.53603, 0)
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_yr2l0")
[node name="PCB" parent="." instance=ExtResource("2_8a8pi")]
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, -3.1363, 0.169454, -7.97793)

BIN
test/test4Way.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

40
test/test4Way.png.import Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://3eu3qgmnaqla"
path="res://.godot/imported/test4Way.png-0bbbb4b30c7aad0dacb4802f5b383c65.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/test4Way.png"
dest_files=["res://.godot/imported/test4Way.png-0bbbb4b30c7aad0dacb4802f5b383c65.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1