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:
2026-06-02 23:42:53 -04:00
parent d6ca58932e
commit 52bb5e02c7
2 changed files with 2 additions and 26 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ config_version=5
[application] [application]
config/name="Papaya-Shooter" config/name="Papaya-Shooter"
config/features=PackedStringArray("4.6", "Forward Plus") config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg" config/icon="res://icon.svg"
[physics] [physics]
+1 -25
View File
@@ -1,31 +1,19 @@
[gd_scene load_steps=2 format=3] [gd_scene 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("uid://box_floor")
[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("uid://box_wall_north")
[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("uid://box_wall_east")
[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("uid://box_wall_west")
[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(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) 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 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="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)