added win/lose text and fixed several bugs

This commit is contained in:
2025-03-22 20:05:25 -04:00
parent 571197baa7
commit bd014b7e1d
10 changed files with 108 additions and 33 deletions

View File

@@ -72,27 +72,24 @@ script = ExtResource("2_joe7c")
unique_name_in_owner = true
transform = Transform3D(-0.0475354, -0.0535728, 0.270738, 0.266451, 0.0626881, 0.0591871, -0.0719257, 0.267636, 0.0403304, 0.0257539, -0.692888, -4.06508)
[node name="UI" type="Control" parent="."]
layout_mode = 3
[node name="UI" type="MarginContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="PanelContainer" type="PanelContainer" parent="UI"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_sp4xh")
[node name="VBoxContainer" type="VBoxContainer" parent="UI/PanelContainer"]
layout_mode = 2
alignment = 2
alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="UI/PanelContainer/VBoxContainer"]
layout_mode = 2
alignment = 2
[node name="QUESTION" type="Label" parent="UI/PanelContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
@@ -117,6 +114,20 @@ drag_and_drop_selection_enabled = false
flat = true
caret_blink = true
[node name="CenterContainer" type="CenterContainer" parent="UI"]
layout_mode = 2
mouse_filter = 2
[node name="WINLOSE" type="Label" parent="UI/CenterContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
theme_override_fonts/font = ExtResource("9_im5ls")
theme_override_font_sizes/font_size = 200
text = "TEST"
horizontal_alignment = 1
vertical_alignment = 1
[node name="SCREAM" type="AudioStreamPlayer3D" parent="."]
unique_name_in_owner = true
panning_strength = 0.0

View File

@@ -37,7 +37,7 @@ layout_mode = 2
layout_mode = 2
theme_override_fonts/font = ExtResource("1_38vls")
theme_override_font_sizes/font_size = 120
text = "Extreme Mathematics"
text = "Extreme Intense Mathematics"
[node name="author" type="Label" parent="PanelContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
@@ -53,7 +53,8 @@ theme_override_styles/separator = SubResource("StyleBoxEmpty_38vls")
[node name="start_button" type="Button" parent="PanelContainer/HBoxContainer/VBoxContainer"]
custom_minimum_size = Vector2(400, 0)
layout_mode = 2
size_flags_horizontal = 4
size_flags_horizontal = 0
size_flags_vertical = 4
mouse_default_cursor_shape = 2
theme_override_fonts/font = ExtResource("1_38vls")
theme_override_font_sizes/font_size = 96