Feat/1 movement foundation #5

Merged
Dotts merged 40 commits from feat/1-movement-foundation into main 2026-06-03 21:34:25 -07:00
Showing only changes of commit f2bcbb6ac2 - Show all commits
+38 -2
View File
@@ -1,21 +1,45 @@
[gd_scene format=3] [gd_scene load_steps=5 format=3]
[node name="TestLevel" type="Node3D"] [node name="TestLevel" type="Node3D"]
[node name="StaticFloor" type="StaticBody3D" parent="."] [node name="StaticFloor" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.1, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.1, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticFloor"]
shape = SubResource(1)
[node name="FloorMesh" type="MeshInstance3D" parent="StaticFloor"]
mesh = BoxMesh.new()
[node name="WallN" type="StaticBody3D" parent="."] [node name="WallN" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -15) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -15)
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallN"]
shape = SubResource(2)
[node name="WallEMesh" type="MeshInstance3D" parent="WallE"]
mesh = BoxMesh.new()
[node name="WallE" type="StaticBody3D" parent="."] [node name="WallE" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 3, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 3, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallE"]
shape = SubResource(3)
[node name="WallEMesh" type="MeshInstance3D" parent="WallE"]
mesh = BoxMesh.new()
[node name="WallW" type="StaticBody3D" parent="."] [node name="WallW" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 3, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 3, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallW"]
shape = SubResource(4)
[node name="WallWMesh" type="MeshInstance3D" parent="WallW"]
mesh = BoxMesh.new()
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.92388, -0.25, 0.288675, 0, 0.866025, 0.5, -0.382683, -0.433013, 0.75, 0, 8, 0) transform = Transform3D(1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 8, 0)
light_color = Color(1, 0.95, 0.85, 1) light_color = Color(1, 0.95, 0.85, 1)
light_energy = 1.0 light_energy = 1.0
shadow_enabled = true shadow_enabled = true
@@ -43,3 +67,15 @@ text = "WASD Move | Sprint=Shift | Slide=Ctrl+S | Double-Jump=Space twice | Dash
current = true current = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0)
fov = 90.0 fov = 90.0
[sub_resource type="BoxShape3D" id="1"]
size = Vector3(30, 0.4, 30)
[sub_resource type="BoxShape3D" id="2"]
size = Vector3(30, 6, 0.4)
[sub_resource type="BoxShape3D" id="3"]
size = Vector3(30, 6, 0.4)
[sub_resource type="BoxShape3D" id="4"]
size = Vector3(30, 6, 0.4)