bugged-racing/menu/main_menu.tscn

124 lines
4.2 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://menu/main_menu.gd" type="Script" id=2]
[ext_resource path="res://icon.png" type="Texture" id=3]
[sub_resource type="DynamicFont" id=1]
size = 64
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 32
font_data = ExtResource( 1 )
[node name="MainMenu" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__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="VSplitContainer" type="VSplitContainer" parent="MarginContainer/VSplitContainer"]
margin_top = 96.0
margin_right = 984.0
margin_bottom = 560.0
split_offset = 973
dragger_visibility = 1
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VSplitContainer/VSplitContainer"]
margin_right = 984.0
margin_bottom = 376.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer"]
margin_left = 398.0
margin_top = 80.0
margin_right = 586.0
margin_bottom = 296.0
[node name="StartButton" type="Button" parent="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer"]
margin_right = 188.0
margin_bottom = 48.0
custom_fonts/font = SubResource( 2 )
text = "Start"
[node name="SettingsButton" type="Button" parent="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer"]
margin_top = 56.0
margin_right = 188.0
margin_bottom = 104.0
custom_fonts/font = SubResource( 2 )
text = "Settings"
[node name="AboutButton" type="Button" parent="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer"]
margin_top = 112.0
margin_right = 188.0
margin_bottom = 160.0
custom_fonts/font = SubResource( 2 )
text = "About"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ExitButton" type="Button" parent="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer"]
margin_top = 168.0
margin_right = 188.0
margin_bottom = 216.0
custom_fonts/font = SubResource( 2 )
text = "Exit"
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VSplitContainer/VSplitContainer"]
margin_top = 400.0
margin_right = 984.0
margin_bottom = 464.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BuiltWithGodotLabel" type="Label" parent="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer"]
margin_top = 14.0
margin_right = 195.0
margin_bottom = 50.0
custom_fonts/font = SubResource( 2 )
text = "Built with "
[node name="GodotButton" type="TextureButton" parent="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer"]
margin_left = 203.0
margin_right = 267.0
margin_bottom = 64.0
texture_normal = ExtResource( 3 )
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/SettingsButton" to="." method="_on_SettingsButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/AboutButton" to="." method="_on_AboutButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VSplitContainer/HBoxContainer/GodotButton" to="." method="_on_GodotButton_pressed"]