bugged-racing/scenes/menu/main_menu.tscn

124 lines
4.2 KiB
Plaintext
Raw Normal View History

2021-11-17 21:26:46 +00:00
[gd_scene load_steps=6 format=2]
2021-11-12 23:03:35 +00:00
[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]
2021-11-17 21:26:46 +00:00
[ext_resource path="res://icon.png" type="Texture" id=3]
2021-11-12 23:03:35 +00:00
[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
2021-11-17 21:26:46 +00:00
[node name="VSplitContainer" type="VSplitContainer" 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
2021-11-17 21:26:46 +00:00
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
}
2021-11-12 23:03:35 +00:00
2021-11-17 21:26:46 +00:00
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VSplitContainer/VSplitContainer/CenterContainer"]
2021-11-16 17:48:41 +00:00
margin_left = 398.0
2021-11-17 21:26:46 +00:00
margin_top = 80.0
2021-11-16 17:48:41 +00:00
margin_right = 586.0
2021-11-17 21:26:46 +00:00
margin_bottom = 296.0
2021-11-12 23:03:35 +00:00
2021-11-17 21:26:46 +00:00
[node name="StartButton" type="Button" parent="MarginContainer/VSplitContainer/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"
2021-11-17 21:26:46 +00:00
[node name="SettingsButton" type="Button" parent="MarginContainer/VSplitContainer/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"
2021-11-17 21:26:46 +00:00
[node name="AboutButton" type="Button" parent="MarginContainer/VSplitContainer/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 )
2021-11-17 21:26:46 +00:00
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 )
2021-11-12 23:03:35 +00:00
text = "Exit"
2021-11-17 21:26:46 +00:00
[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"]