[gd_scene load_steps=4 format=3 uid="uid://uy3pgfv4q3iy"] [ext_resource type="Script" path="res://component/ui/title/title_screen.gd" id="1_es6s3"] [sub_resource type="InputEventAction" id="InputEventAction_ucj0l"] action = &"ui_cancel" [sub_resource type="Shortcut" id="Shortcut_2elwo"] events = [SubResource("InputEventAction_ucj0l")] [node name="TitleScreen" type="VSplitContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 script = ExtResource("1_es6s3") [node name="TextContainer" type="VBoxContainer" parent="."] layout_mode = 2 [node name="Title" type="Label" parent="TextContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 40 text = "Crazy Choco Driver" horizontal_alignment = 1 [node name="BlaBla" type="Label" parent="TextContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 30 text = "Pick those chocolate bars, and reach space to savor them! :-p" horizontal_alignment = 1 [node name="Buttons" type="VBoxContainer" parent="."] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 [node name="StartButton" type="Button" parent="Buttons"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 33 text = "Start new game" [node name="QuitButton" type="Button" parent="Buttons"] layout_mode = 2 theme_override_font_sizes/font_size = 33 shortcut = SubResource("Shortcut_2elwo") text = "Quit" [connection signal="pressed" from="Buttons/StartButton" to="." method="_on_start_button_pressed"] [connection signal="pressed" from="Buttons/QuitButton" to="." method="_on_quit_button_pressed"]