2021-11-12 23:03:35 +00:00
|
|
|
[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"]
|
2021-11-16 17:48:41 +00:00
|
|
|
margin_top = 96.0
|
2021-11-12 23:03:35 +00:00
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 560.0
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VSplitContainer/CenterContainer"]
|
2021-11-16 17:48:41 +00:00
|
|
|
margin_left = 398.0
|
|
|
|
margin_top = 152.0
|
|
|
|
margin_right = 586.0
|
|
|
|
margin_bottom = 312.0
|
2021-11-12 23:03:35 +00:00
|
|
|
|
|
|
|
[node name="StartButton" type="Button" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
2021-11-16 17:48:41 +00:00
|
|
|
margin_right = 188.0
|
|
|
|
margin_bottom = 48.0
|
2021-11-12 23:03:35 +00:00
|
|
|
custom_fonts/font = SubResource( 2 )
|
|
|
|
text = "Start"
|
|
|
|
|
|
|
|
[node name="SettingsButton" type="Button" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
2021-11-16 17:48:41 +00:00
|
|
|
margin_top = 56.0
|
|
|
|
margin_right = 188.0
|
|
|
|
margin_bottom = 104.0
|
2021-11-12 23:03:35 +00:00
|
|
|
custom_fonts/font = SubResource( 2 )
|
|
|
|
text = "Settings"
|
|
|
|
|
|
|
|
[node name="ExitButton" type="Button" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
2021-11-16 17:48:41 +00:00
|
|
|
margin_top = 112.0
|
|
|
|
margin_right = 188.0
|
|
|
|
margin_bottom = 160.0
|
2021-11-12 23:03:35 +00:00
|
|
|
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"]
|