bugged-racing/menu/start_menu.tscn

98 lines
2.8 KiB
Plaintext
Raw Permalink Normal View History

2021-11-12 23:03:35 +00:00
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
2021-11-18 19:48:47 +00:00
[ext_resource path="res://menu/start_menu.gd" type="Script" id=2]
2021-11-12 23:03:35 +00:00
[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="StartMenu" 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 = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
__meta__ = {
"_edit_use_anchors_": false
}
2021-11-12 23:03:35 +00:00
[node name="VSplitContainer" type="VSplitContainer" parent="MarginContainer"]
margin_right = 984.0
margin_bottom = 560.0
dragger_visibility = 1
[node name="HSplitContainer" type="HSplitContainer" parent="MarginContainer/VSplitContainer"]
margin_right = 984.0
margin_bottom = 72.0
dragger_visibility = 1
[node name="BackButton" type="Button" parent="MarginContainer/VSplitContainer/HSplitContainer"]
margin_right = 75.0
2021-11-12 23:03:35 +00:00
margin_bottom = 72.0
text = "Back"
[node name="Title" type="Label" parent="MarginContainer/VSplitContainer/HSplitContainer"]
margin_left = 99.0
2021-11-12 23:03:35 +00:00
margin_right = 984.0
margin_bottom = 72.0
custom_fonts/font = SubResource( 1 )
text = "Select Vehicle"
align = 1
valign = 1
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VSplitContainer"]
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"]
margin_left = 317.0
margin_top = 152.0
margin_right = 666.0
margin_bottom = 312.0
2021-11-12 23:03:35 +00:00
[node name="VehicleSelector" type="OptionButton" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
margin_right = 349.0
margin_bottom = 48.0
2021-11-12 23:03:35 +00:00
custom_fonts/font = SubResource( 2 )
text = "Select vehicle"
align = 1
2021-11-12 23:03:35 +00:00
[node name="TrackSelector" type="OptionButton" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
margin_top = 56.0
margin_right = 349.0
margin_bottom = 104.0
2021-11-12 23:03:35 +00:00
custom_fonts/font = SubResource( 2 )
text = "Select Track"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
2021-11-16 17:48:41 +00:00
[node name="StartButton" type="Button" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
margin_top = 112.0
margin_right = 349.0
margin_bottom = 160.0
2021-11-16 17:48:41 +00:00
custom_fonts/font = SubResource( 2 )
text = "Start"
2021-11-16 17:48:41 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-11-12 23:03:35 +00:00
[connection signal="pressed" from="MarginContainer/VSplitContainer/HSplitContainer/BackButton" to="." method="_on_BackButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]