initial experiments

This commit is contained in:
Haze Weathers 2025-03-14 04:37:01 -04:00
commit c90da1eda2
17 changed files with 259 additions and 0 deletions

23
levels/test_level.tscn Normal file
View file

@ -0,0 +1,23 @@
[gd_scene load_steps=4 format=3 uid="uid://cnwgryo1nj2a1"]
[ext_resource type="PackedScene" uid="uid://bw3pwwp5iqwfi" path="res://assets/levels/test_level/test_level.glb" id="1_46lwt"]
[ext_resource type="PackedScene" uid="uid://bquyryhfcp8y7" path="res://objects/player/player.tscn" id="2_x25rp"]
[sub_resource type="Curve3D" id="Curve3D_46lwt"]
_data = {
"points": PackedVector3Array(-1.26348, 0, -0.203417, 1.26348, 0, 0.203417, -6.88307, 0, -0.894118, -1.50946, 0, 0.585966, 1.50946, 0, -0.585966, 4.42538, 0, -0.129086, -0.680172, 0, 1.36703, 0.680172, 0, -1.36703, 6.9523, 0, -2.57396, 0.22647, 0, 1.7587, -0.22647, 0, -1.7587, 8.27033, 0, -8.20324, 0.571661, 0, 0.487944, -0.571661, 0, -0.487944, 6.64078, 0, -11.6749, 1.24906, 0, 0.0725613, -1.24906, 0, -0.0725613, 2.74404, 0, -13.021, 1.32889, 0, -0.529663, -1.32889, 0, 0.529663, -2.28629, 0, -12.4188, 0.806547, 0, -1.2679, -0.806547, 0, 1.2679, -6.50186, 0, -8.94716, 0.106077, 0, -1.74292, -0.106077, 0, 1.74292, -7.45833, 0, -4.87329, -0.271801, 0, -1.92385, 0.271801, 0, 1.92385, -7.24578, 0, 0.12162, -1.13926, 0, -2.82601, 1.13926, 0, 2.82601, -5.43911, 0, 6.53353, -2.63552, 0, -2.76206, 2.63552, 0, 2.76206, -1.05201, 0, 12.4522, -1.67377, 0, -0.91955, 1.67377, 0, 0.91955, 2.95101, 0, 16.0656, -2.65928, 0, 0.0071373, 2.65928, 0, -0.0071373, 9.15037, 0, 16.8803, 0, 0, 0, 0, 0, 0, 28.9123, 0, 16.2836),
"tilts": PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
}
point_count = 15
[node name="TestLevel" instance=ExtResource("1_46lwt")]
[node name="Path3D" type="Path3D" parent="." index="1"]
curve = SubResource("Curve3D_46lwt")
[node name="Player" parent="." index="2" node_paths=PackedStringArray("level_path") instance=ExtResource("2_x25rp")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 1.88228, 0)
level_path = NodePath("../Path3D")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." index="3"]
transform = Transform3D(1, 0, 0, 0, 0.464162, 0.88575, 0, -0.88575, 0.464162, 0, 10.1106, 0)