99 lines
3.4 KiB
Text
99 lines
3.4 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://1h2urto6y63r"]
|
|
|
|
[ext_resource type="FontFile" uid="uid://d3pbvdemdbxes" path="res://CommodoreSixtyFour.ttf" id="1_1tx2i"]
|
|
[ext_resource type="Script" path="res://control.gd" id="2_deavt"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_vnp6n"]
|
|
|
|
[sub_resource type="Theme" id="Theme_p2nm6"]
|
|
default_font = ExtResource("1_1tx2i")
|
|
Button/colors/font_color = Color(0, 1, 0, 1)
|
|
Label/colors/font_color = Color(0, 1, 0, 1)
|
|
Label/colors/font_outline_color = Color(0, 0, 0, 1)
|
|
Label/colors/font_shadow_color = Color(0, 0, 0, 0)
|
|
Label/constants/line_spacing = 3
|
|
Label/constants/outline_size = 0
|
|
Label/constants/shadow_offset_x = 1
|
|
Label/constants/shadow_offset_y = 1
|
|
Label/constants/shadow_outline_size = 1
|
|
Label/font_sizes/font_size = 16
|
|
Label/styles/normal = SubResource("StyleBoxEmpty_vnp6n")
|
|
|
|
[node name="MainMenu" type="MarginContainer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = SubResource("Theme_p2nm6")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
layout_mode = 2
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
layout_mode = 2
|
|
script = ExtResource("2_deavt")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="Control/VBoxContainer/VBoxContainer2"]
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer3" type="VBoxContainer" parent="Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Control/VBoxContainer/VBoxContainer3"]
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="Control/VBoxContainer/VBoxContainer3/HBoxContainer"]
|
|
custom_minimum_size = Vector2(8, 0)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("1_1tx2i")
|
|
text = ">"
|
|
|
|
[node name="start" type="Button" parent="Control/VBoxContainer/VBoxContainer3/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "start"
|
|
flat = true
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="Control/VBoxContainer/VBoxContainer3"]
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="Control/VBoxContainer/VBoxContainer3/HBoxContainer2"]
|
|
custom_minimum_size = Vector2(8, 0)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("1_1tx2i")
|
|
text = ">"
|
|
|
|
[node name="credits" type="Button" parent="Control/VBoxContainer/VBoxContainer3/HBoxContainer2"]
|
|
layout_mode = 2
|
|
text = "credits"
|
|
flat = true
|
|
|
|
[node name="HBoxContainer3" type="HBoxContainer" parent="Control/VBoxContainer/VBoxContainer3"]
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="Control/VBoxContainer/VBoxContainer3/HBoxContainer3"]
|
|
custom_minimum_size = Vector2(8, 0)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("1_1tx2i")
|
|
text = ">"
|
|
|
|
[node name="quit" type="Button" parent="Control/VBoxContainer/VBoxContainer3/HBoxContainer3"]
|
|
layout_mode = 2
|
|
text = "quit"
|
|
flat = true
|
|
|
|
[connection signal="pressed" from="Control/VBoxContainer/VBoxContainer3/HBoxContainer/start" to="Control" method="_on_start_button_pressed"]
|
|
[connection signal="pressed" from="Control/VBoxContainer/VBoxContainer3/HBoxContainer2/credits" to="Control" method="_on_credits_button_pressed"]
|
|
[connection signal="pressed" from="Control/VBoxContainer/VBoxContainer3/HBoxContainer3/quit" to="Control" method="_on_quit_button_pressed"]
|