Snake/Scene/Main Menu.tscn
Snoweuph da639880b5 Work On UI
- Theme
- Main Menu
2023-03-27 18:05:03 +02:00

73 lines
2 KiB
Text

[gd_scene load_steps=2 format=3 uid="uid://gn5or2td1tmd"]
[ext_resource type="Theme" uid="uid://clkt54a4wy6tn" path="res://Assets/Base.tres" id="1_b1d2h"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_b1d2h")
color = Color(0.262745, 0.321569, 0.239216, 1)
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 144.0
offset_top = 48.0
offset_right = -144.0
offset_bottom = -165.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 2
theme = ExtResource("1_b1d2h")
theme_override_font_sizes/font_size = 128
text = "Snake"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Menu Butons" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="Button" type="Button" parent="MarginContainer/VBoxContainer/Menu Butons"]
layout_mode = 2
theme = ExtResource("1_b1d2h")
theme_override_font_sizes/font_size = 96
text = "Start"
[node name="Button2" type="Button" parent="MarginContainer/VBoxContainer/Menu Butons"]
layout_mode = 2
theme = ExtResource("1_b1d2h")
theme_override_font_sizes/font_size = 96
text = "Settings"
[node name="Button3" type="Button" parent="MarginContainer/VBoxContainer/Menu Butons"]
layout_mode = 2
theme = ExtResource("1_b1d2h")
theme_override_font_sizes/font_size = 96
text = "About
"
[node name="Button4" type="Button" parent="MarginContainer/VBoxContainer/Menu Butons"]
layout_mode = 2
theme = ExtResource("1_b1d2h")
theme_override_font_sizes/font_size = 96
text = "Quit"