diff --git a/Level_Core.tscn b/Level_Core.tscn index 7e0764e..0a3704a 100644 --- a/Level_Core.tscn +++ b/Level_Core.tscn @@ -18,7 +18,8 @@ ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1) sky_material = SubResource("ProceduralSkyMaterial_rv2mx") [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") tonemap_mode = 2 glow_enabled = true @@ -370,6 +371,86 @@ skeleton = NodePath("../MeshInstance3D3") [node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D4/StaticBody3D"] 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="."] 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") @@ -436,18 +517,21 @@ transform = Transform3D(-0.556745, 0, -0.830685, 0, 0.999999, 0, 0.830682, 0, -0 offset = Vector2(1, 0) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) -text = "Algebra" +text = "Algebra and wall jumps" font = ExtResource("2_fq2vn") [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) modulate = Color(0.943031, 0.787658, 0.994854, 1) outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1) text = "In this sattion, you need to solve some mathematical equations (I know, boring) and get the answer right. 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_size = 64 outline_size = 24 @@ -483,7 +567,7 @@ font_size = 128 outline_size = 48 [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") skeleton = NodePath("../MeshInstance3D") diff --git a/pause_menu.tscn b/pause_menu.tscn index c6a3843..ebe232f 100644 --- a/pause_menu.tscn +++ b/pause_menu.tscn @@ -65,6 +65,6 @@ label_settings = SubResource("LabelSettings_d3xb4") horizontal_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_resume_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"] diff --git a/player.gd b/player.gd index 139bf0b..5890673 100644 --- a/player.gd +++ b/player.gd @@ -27,7 +27,7 @@ func _process(delta: float) -> void: twist_pivot.rotate_y(twist_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 pitch_input = 0.0 diff --git a/player.tscn b/player.tscn index 6efa226..892cb0a 100644 --- a/player.tscn +++ b/player.tscn @@ -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) [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)