asteroids/Scenes/main_menu.tscn

76 lines
1.7 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://c4ld5hjy5d8g3"]
[ext_resource type="Script" uid="uid://dxbdiq4y3mqtd" path="res://Scripts/main_menu.gd" id="1_28flt"]
[sub_resource type="LabelSettings" id="LabelSettings_i2yjh"]
font_size = 72
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_28flt")
[node name="Container" type="Control" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_top = -120.0
offset_bottom = -120.0
grow_horizontal = 2
grow_vertical = 2
[node name="Title" type="Label" parent="Container"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -195.0
offset_right = 195.0
offset_bottom = 99.0
grow_horizontal = 2
text = "Asteroids"
label_settings = SubResource("LabelSettings_i2yjh")
horizontal_alignment = 1
[node name="New Game" type="Button" parent="Container"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -75.0
offset_top = 105.0
offset_right = 75.0
offset_bottom = 140.0
grow_horizontal = 2
text = "New Game"
[node name="Quit" type="Button" parent="Container"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -75.0
offset_top = 205.0
offset_right = 75.0
offset_bottom = 240.0
grow_horizontal = 2
text = "Quit"
[node name="Credits" type="Button" parent="Container"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -75.0
offset_top = 155.0
offset_right = 75.0
offset_bottom = 190.0
grow_horizontal = 2
text = "Credits"