This commit is contained in:
kevadesu 2025-05-26 20:33:13 +02:00
parent 3561438646
commit 8971f46035
9 changed files with 184 additions and 88 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=35 format=3 uid="uid://bn20cqfwvm2oe"]
[gd_scene load_steps=36 format=3 uid="uid://bn20cqfwvm2oe"]
[ext_resource type="Script" uid="uid://bpj62lqejp32d" path="res://main.gd" id="1_fwt2i"]
[ext_resource type="PackedScene" uid="uid://bs6yq6gy7k2sb" path="res://player.tscn" id="1_lsi31"]
@ -72,7 +72,7 @@ albedo_texture = ExtResource("5_r3eyv")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_boye7"]
[sub_resource type="LabelSettings" id="LabelSettings_qbfpe"]
[sub_resource type="LabelSettings" id="LabelSettings_27422"]
font = ExtResource("10_o66vw")
font_size = 75
font_color = Color(0.941176, 0.788235, 0.996078, 1)
@ -81,18 +81,24 @@ outline_color = Color(0, 0, 0, 1)
shadow_size = 16
shadow_color = Color(0.180005, 0.180005, 0.180005, 0.647059)
[sub_resource type="LabelSettings" id="LabelSettings_27422"]
[sub_resource type="LabelSettings" id="LabelSettings_7rthl"]
font = ExtResource("12_2uy0w")
font_size = 22
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_2uy0w"]
[sub_resource type="LabelSettings" id="LabelSettings_jt4pe"]
font = ExtResource("12_2uy0w")
font_size = 38
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_5l3ux"]
font = ExtResource("2_fq2vn")
font_size = 28
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[node name="LevelCore" type="Node3D"]
script = ExtResource("1_fwt2i")
@ -2727,52 +2733,6 @@ outline_modulate = Color(0.00803253, 9.36218e-06, 0.0382829, 1)
text = "To unlock/free the cursor, press Shift+Enter"
font = ExtResource("2_fq2vn")
[node name="HUD" type="MarginContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 50
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50
[node name="HBoxContainer" type="HBoxContainer" parent="HUD"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="HUD/HBoxContainer"]
layout_mode = 2
[node name="Label_Station" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "ERROR LOADING"
label_settings = SubResource("LabelSettings_qbfpe")
[node name="Label_Controls" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 1
text = "esc - pause
shift+r - back to checkpoint
f5 - restart level"
label_settings = SubResource("LabelSettings_27422")
[node name="Label_Controls2" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "if you see this, the game failed to load the code correctly.
in this case, please restart the game"
label_settings = SubResource("LabelSettings_27422")
[node name="HBoxContainer2" type="HBoxContainer" parent="HUD"]
layout_mode = 2
[node name="Label_Health" type="Label" parent="HUD/HBoxContainer2"]
layout_mode = 2
size_flags_vertical = 8
text = "[||||||||||]"
label_settings = SubResource("LabelSettings_2uy0w")
vertical_alignment = 2
[node name="PauseMenu" parent="." instance=ExtResource("3_i8tni")]
visible = false
@ -2800,3 +2760,61 @@ skeleton = NodePath("../MeshInstance3D")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D12/StaticBody3D"]
transform = Transform3D(1, -1.77636e-15, 0, 3.04932e-20, 1, 7.76473e-21, 1.77636e-15, -9.70589e-24, 1, 0, 0, 0)
shape = ExtResource("2_7sds5")
[node name="HUD" type="MarginContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 50
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50
[node name="HBoxContainer" type="HBoxContainer" parent="HUD"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="HUD/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 2
[node name="Label_Station" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "ERROR LOADING"
label_settings = SubResource("LabelSettings_27422")
[node name="Label_Controls" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 1
text = "esc - pause
shift+r - back to checkpoint
f5 - restart level"
label_settings = SubResource("LabelSettings_7rthl")
[node name="Label_Controls2" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "if you see this, the game failed to load the code correctly.
in this case, please restart the game"
label_settings = SubResource("LabelSettings_7rthl")
[node name="Label_Health" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 10
text = "[||||||||||]"
label_settings = SubResource("LabelSettings_jt4pe")
vertical_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="HUD"]
layout_mode = 2
[node name="VBoxContainer2" type="VBoxContainer" parent="HUD/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 6
[node name="Label" type="Label" parent="HUD/HBoxContainer2/VBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 10
text = "Narration belongs here"
label_settings = SubResource("LabelSettings_5l3ux")