93 lines
2.7 KiB
Plaintext
93 lines
2.7 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
|
|
[ext_resource path="res://menu/start_menu.gd" type="Script" id=2]
|
|
[ext_resource path="res://menu/default_theme.tres" type="Theme" id=3]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 64
|
|
font_data = ExtResource( 1 )
|
|
|
|
[node name="StartMenu" type="Panel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme = ExtResource( 3 )
|
|
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
|
|
}
|
|
|
|
[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 = 116.0
|
|
margin_bottom = 72.0
|
|
text = "Back"
|
|
|
|
[node name="Title" type="Label" parent="MarginContainer/VSplitContainer/HSplitContainer"]
|
|
margin_left = 140.0
|
|
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
|
|
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
|
|
|
|
[node name="VehicleSelector" type="OptionButton" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_right = 349.0
|
|
margin_bottom = 48.0
|
|
text = "Select vehicle"
|
|
align = 1
|
|
|
|
[node name="TrackSelector" type="OptionButton" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 56.0
|
|
margin_right = 349.0
|
|
margin_bottom = 104.0
|
|
text = "Select Track"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="StartButton" type="Button" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 112.0
|
|
margin_right = 349.0
|
|
margin_bottom = 160.0
|
|
text = "Start"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[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"]
|