This commit is contained in:
kevadesu 2025-05-03 22:44:57 +02:00
parent fe9f7500fe
commit 9eee966368
4 changed files with 92 additions and 8 deletions

View file

@ -18,7 +18,8 @@ ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
sky_material = SubResource("ProceduralSkyMaterial_rv2mx") sky_material = SubResource("ProceduralSkyMaterial_rv2mx")
[sub_resource type="Environment" id="Environment_fq2vn"] [sub_resource type="Environment" id="Environment_fq2vn"]
background_mode = 2 background_mode = 1
background_color = Color(0.592153, 0.439631, 0.851984, 1)
sky = SubResource("Sky_lsi31") sky = SubResource("Sky_lsi31")
tonemap_mode = 2 tonemap_mode = 2
glow_enabled = true glow_enabled = true
@ -370,6 +371,86 @@ skeleton = NodePath("../MeshInstance3D3")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D4/StaticBody3D"] [node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D4/StaticBody3D"]
shape = ExtResource("3_n0qnv") shape = ExtResource("3_n0qnv")
[node name="MeshInstance3D36" type="MeshInstance3D" parent="."]
physics_interpolation_mode = 1
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 15, 5)
material_override = SubResource("StandardMaterial3D_r3eyv")
mesh = SubResource("PlaneMesh_rv2mx")
skeleton = NodePath("../MeshInstance3D3")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D36"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D36/StaticBody3D"]
shape = ExtResource("3_n0qnv")
[node name="MeshInstance3D42" type="MeshInstance3D" parent="."]
physics_interpolation_mode = 1
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 9.99996, 15, -15)
material_override = SubResource("StandardMaterial3D_r3eyv")
mesh = SubResource("PlaneMesh_rv2mx")
skeleton = NodePath("../MeshInstance3D3")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D42"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D42/StaticBody3D"]
shape = ExtResource("3_n0qnv")
[node name="MeshInstance3D43" type="MeshInstance3D" parent="."]
physics_interpolation_mode = 1
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 4.24385e-05, 15, -15)
material_override = SubResource("StandardMaterial3D_r3eyv")
mesh = SubResource("PlaneMesh_rv2mx")
skeleton = NodePath("../MeshInstance3D3")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D43"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D43/StaticBody3D"]
shape = ExtResource("3_n0qnv")
[node name="MeshInstance3D37" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, -1, 4.37114e-08, 0, -4.37114e-08, -1, 1, -4.37114e-08, 1.91069e-15, -5, 15, 0)
material_override = SubResource("StandardMaterial3D_qbfpe")
mesh = SubResource("PlaneMesh_rv2mx")
skeleton = NodePath("../MeshInstance3D3")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D37"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D37/StaticBody3D"]
shape = ExtResource("3_n0qnv")
[node name="MeshInstance3D39" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, -1, 4.37114e-08, 0, -4.37114e-08, -1, 1, -4.37114e-08, 1.91069e-15, -5, 15, -10)
material_override = SubResource("StandardMaterial3D_qbfpe")
mesh = SubResource("PlaneMesh_rv2mx")
skeleton = NodePath("../MeshInstance3D3")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D39"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D39/StaticBody3D"]
shape = ExtResource("3_n0qnv")
[node name="MeshInstance3D40" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, 15, 15, -10)
material_override = SubResource("StandardMaterial3D_qbfpe")
mesh = SubResource("PlaneMesh_rv2mx")
skeleton = NodePath("../MeshInstance3D3")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D40"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D40/StaticBody3D"]
shape = ExtResource("3_n0qnv")
[node name="MeshInstance3D41" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, 15, 15, -4.76837e-06)
material_override = SubResource("StandardMaterial3D_qbfpe")
mesh = SubResource("PlaneMesh_rv2mx")
skeleton = NodePath("../MeshInstance3D3")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D41"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D41/StaticBody3D"]
shape = ExtResource("3_n0qnv")
[node name="MeshInstance3D15" type="MeshInstance3D" parent="."] [node name="MeshInstance3D15" type="MeshInstance3D" parent="."]
transform = Transform3D(1.31134e-07, 1, -3.82137e-15, -4.37114e-08, 1.91069e-15, -1, -1, 1.31134e-07, 4.37114e-08, -5, 5, -10) transform = Transform3D(1.31134e-07, 1, -3.82137e-15, -4.37114e-08, 1.91069e-15, -1, -1, 1.31134e-07, 4.37114e-08, -5, 5, -10)
material_override = SubResource("StandardMaterial3D_qbfpe") material_override = SubResource("StandardMaterial3D_qbfpe")
@ -436,18 +517,21 @@ transform = Transform3D(-0.556745, 0, -0.830685, 0, 0.999999, 0, 0.830682, 0, -0
offset = Vector2(1, 0) offset = Vector2(1, 0)
modulate = Color(0.943031, 0.787658, 0.994854, 1) modulate = Color(0.943031, 0.787658, 0.994854, 1)
outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1)
text = "Algebra" text = "Algebra and wall jumps"
font = ExtResource("2_fq2vn") font = ExtResource("2_fq2vn")
[node name="Label3D13" type="Label3D" parent="."] [node name="Label3D13" type="Label3D" parent="."]
transform = Transform3D(-3.87981e-08, 0.887598, -0.460619, -2.01342e-08, 0.460618, 0.8876, 0.999999, 4.37113e-08, 1.91069e-15, -31.0804, 11, 10) transform = Transform3D(-4.37113e-08, 0, -1, 0, 1, 0, 0.999999, 0, -4.37115e-08, -31.08, 12, 10)
offset = Vector2(1, 0) offset = Vector2(1, 0)
modulate = Color(0.943031, 0.787658, 0.994854, 1) modulate = Color(0.943031, 0.787658, 0.994854, 1)
outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1)
text = "In this sattion, you need to solve some mathematical text = "In this sattion, you need to solve some mathematical
equations (I know, boring) and get the answer right. equations (I know, boring) and get the answer right.
If you end up answering even one wrong, you'll have If you end up answering even one wrong, you'll have
to restart this entire station." to restart this entire station. this section also
teaches you how to walk on diagonal surfaces by
moving forwards and leaning towards the higher
part of the platform"
font = ExtResource("2_fq2vn") font = ExtResource("2_fq2vn")
font_size = 64 font_size = 64
outline_size = 24 outline_size = 24
@ -483,7 +567,7 @@ font_size = 128
outline_size = 48 outline_size = 48
[node name="MeshInstance3D29" type="MeshInstance3D" parent="."] [node name="MeshInstance3D29" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, -0.5, 0, 1, 0, 1, 0, -2.18557e-08, 10, 10, 10) transform = Transform3D(-4.37114e-08, 0, -0.75, 0, 1, 0, 1, 0, -3.27835e-08, 11.25, 10, 10)
mesh = SubResource("PlaneMesh_rv2mx") mesh = SubResource("PlaneMesh_rv2mx")
skeleton = NodePath("../MeshInstance3D") skeleton = NodePath("../MeshInstance3D")

View file

@ -65,6 +65,6 @@ label_settings = SubResource("LabelSettings_d3xb4")
horizontal_alignment = 1 horizontal_alignment = 1
vertical_alignment = 1 vertical_alignment = 1
[connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_button_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"]

View file

@ -27,7 +27,7 @@ func _process(delta: float) -> void:
twist_pivot.rotate_y(twist_input) twist_pivot.rotate_y(twist_input)
pitch_pivot.rotate_x(pitch_input) pitch_pivot.rotate_x(pitch_input)
pitch_pivot.rotation.x = clamp(pitch_pivot.rotation.x, deg_to_rad(-30), deg_to_rad(30)) pitch_pivot.rotation.x = clamp(pitch_pivot.rotation.x, deg_to_rad(-50), deg_to_rad(50))
twist_input = 0.0 twist_input = 0.0
pitch_input = 0.0 pitch_input = 0.0

View file

@ -24,4 +24,4 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
transform = Transform3D(1, 0, 0, 0, 0.984808, 0.173648, 0, -0.173648, 0.984808, 0, 0, 0) transform = Transform3D(1, 0, 0, 0, 0.984808, 0.173648, 0, -0.173648, 0.984808, 0, 0, 0)
[node name="Camera3D" type="Camera3D" parent="TwistPivot/PitchPivot"] [node name="Camera3D" type="Camera3D" parent="TwistPivot/PitchPivot"]
transform = Transform3D(1, 0, 0, 0, 1, 4.47035e-08, 0, -4.47035e-08, 1, 0, -0.594649, 0.180659) transform = Transform3D(1, 0, 0, 0, 0.986406, -0.164325, 0, 0.164325, 0.986406, 0, -0.5, -0.25)