81 lines
2.5 KiB
Plaintext
81 lines
2.5 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://scenes/menu/main_menu.gd" type="Script" id=1]
|
|
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=2]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 64
|
|
font_data = ExtResource( 2 )
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
size = 32
|
|
font_data = ExtResource( 2 )
|
|
|
|
[node name="MainMenu" type="Panel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 21.0
|
|
margin_top = 19.0
|
|
margin_right = -19.0
|
|
margin_bottom = -21.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VSplitContainer" type="VSplitContainer" parent="MarginContainer"]
|
|
margin_right = 984.0
|
|
margin_bottom = 560.0
|
|
dragger_visibility = 1
|
|
|
|
[node name="Title" type="Label" parent="MarginContainer/VSplitContainer"]
|
|
margin_right = 984.0
|
|
margin_bottom = 72.0
|
|
custom_colors/font_color = Color( 0.419608, 0.0117647, 0.0117647, 1 )
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Bugged Racing"
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VSplitContainer"]
|
|
margin_top = 84.0
|
|
margin_right = 984.0
|
|
margin_bottom = 560.0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VSplitContainer/CenterContainer"]
|
|
margin_left = 404.0
|
|
margin_top = 171.0
|
|
margin_right = 580.0
|
|
margin_bottom = 305.0
|
|
|
|
[node name="StartButton" type="Button" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_right = 176.0
|
|
margin_bottom = 42.0
|
|
custom_fonts/font = SubResource( 2 )
|
|
text = "Start"
|
|
|
|
[node name="SettingsButton" type="Button" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 46.0
|
|
margin_right = 176.0
|
|
margin_bottom = 88.0
|
|
custom_fonts/font = SubResource( 2 )
|
|
text = "Settings"
|
|
|
|
[node name="ExitButton" type="Button" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 92.0
|
|
margin_right = 176.0
|
|
margin_bottom = 134.0
|
|
custom_fonts/font = SubResource( 2 )
|
|
text = "Exit"
|
|
|
|
[connection signal="pressed" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
|
|
[connection signal="pressed" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/SettingsButton" to="." method="_on_SettingsButton_pressed"]
|
|
[connection signal="pressed" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]
|