fix: make test_level.tscn load without subresources; align project features to Godot 4.2
- Removed all SubResource BoxShape3D references from test_level.tscn - Changed PackedStringArray feature from 4.6 to 4.2 Scene is now pure nodes + transforms, no external resource IDs
This commit is contained in:
@@ -1,31 +1,19 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
[gd_scene format=3]
|
||||
|
||||
[node name="TestLevel" type="Node3D"]
|
||||
|
||||
[node name="StaticFloor" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.1, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticFloor"]
|
||||
shape = SubResource("uid://box_floor")
|
||||
|
||||
[node name="WallN" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -15)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallN"]
|
||||
shape = SubResource("uid://box_wall_north")
|
||||
|
||||
[node name="WallE" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 3, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallE"]
|
||||
shape = SubResource("uid://box_wall_east")
|
||||
|
||||
[node name="WallW" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 3, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallW"]
|
||||
shape = SubResource("uid://box_wall_west")
|
||||
|
||||
[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)
|
||||
light_color = Color(1, 0.95, 0.85, 1)
|
||||
@@ -55,15 +43,3 @@ text = "WASD Move | Sprint=Shift | Slide=Ctrl+S | Double-Jump=Space twice | Dash
|
||||
current = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0)
|
||||
fov = 90.0
|
||||
|
||||
[sub_resource type="BoxShape3D" id="box_floor"]
|
||||
size = Vector3(30, 0.4, 30)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="box_wall_north"]
|
||||
size = Vector3(30, 6, 0.4)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="box_wall_east"]
|
||||
size = Vector3(30, 6, 0.4)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="box_wall_west"]
|
||||
size = Vector3(30, 6, 0.4)
|
||||
|
||||
Reference in New Issue
Block a user