Now About Social Code
summaryrefslogtreecommitdiff
path: root/prefabs
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-09-20 08:38:26 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-09-20 08:38:26 +0100
commited9e5a394fa41758b739e7298852f1c9e2f70a03 (patch)
treef5f14739d873d0222b6bf5f3ea088163a26817ba /prefabs
parent91f52909087dca648df82ea7fe77c2348a18c06f (diff)
bsp_level_generator: Switch to grid based approach
Generate levels on grid and use grid to place doors. Basic POC of BSP levels is now working.
Diffstat (limited to 'prefabs')
-rw-r--r--prefabs/test_arena.tscn6
1 files changed, 2 insertions, 4 deletions
diff --git a/prefabs/test_arena.tscn b/prefabs/test_arena.tscn
index b5e45db..81bd235 100644
--- a/prefabs/test_arena.tscn
+++ b/prefabs/test_arena.tscn
@@ -79,8 +79,7 @@ environment = SubResource("Environment_2poci")
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, -0.0795405)
[node name="Player" parent="." node_paths=PackedStringArray("HEAD", "HEADBOB_ANIMATION") instance=ExtResource("1_vc6b5")]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.97532, -1.28752, 0.602886)
-motion_mode = 1
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 3)
HEAD = NodePath("PlayerCam")
HEADBOB_ANIMATION = NodePath("PlayerCam/HeadAnimation")
LEFT = "left"
@@ -91,7 +90,6 @@ jumping_enabled = false
in_air_momentum = false
sprint_enabled = false
crouch_enabled = false
-gravity_enabled = false
[node name="PlayerCam" type="Node3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
@@ -111,7 +109,7 @@ libraries = {
}
[node name="Enemy" parent="." node_paths=PackedStringArray("target") instance=ExtResource("3_4ykmj")]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.49959, -1.54414, -8.92046)
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20, 0, 20)
collision_layer = 5
motion_mode = 0
target = NodePath("../Player")