93 lines
2.9 KiB
Plaintext
93 lines
2.9 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://4sjryt00hgse"]
|
|
|
|
[ext_resource type="Script" uid="uid://bs1g3xjxf8i3k" path="res://scripts/user_interface/title_screen/title_screen.gd" id="1_0rdiu"]
|
|
[ext_resource type="Script" uid="uid://b34ocehefekp3" path="res://scripts/user_interface/title_screen/start_button.gd" id="1_00sld"]
|
|
[ext_resource type="PackedScene" uid="uid://cki48fruo8bym" path="res://scenes/user_interface/settings_menu.tscn" id="2_0t2hv"]
|
|
[ext_resource type="Script" uid="uid://cx5wq6cs2lqxg" path="res://scripts/user_interface/title_screen/quit_button.gd" id="2_df56y"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_yby3l"]
|
|
font_size = 66
|
|
shadow_size = 11
|
|
shadow_color = Color(0, 0.08, 0.0253333, 0.368627)
|
|
shadow_offset = Vector2(5.19, 3.49)
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_2vhw3"]
|
|
device = -1
|
|
keycode = 4194309
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_chj2k"]
|
|
events = [SubResource("InputEventKey_2vhw3")]
|
|
|
|
[node name="TitleScreen" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_0rdiu")
|
|
|
|
[node name="SettingsMenu" parent="." instance=ExtResource("2_0t2hv")]
|
|
layout_mode = 1
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
color = Color(0.0792, 0.18, 0.14976, 1)
|
|
|
|
[node name="Title" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_top = 0.310185
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.450617
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "Gobbo's Delivery"
|
|
label_settings = SubResource("LabelSettings_yby3l")
|
|
horizontal_alignment = 1
|
|
uppercase = true
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -48.0
|
|
offset_top = 66.0
|
|
offset_right = 48.0
|
|
offset_bottom = 200.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="StartButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
shortcut = SubResource("Shortcut_chj2k")
|
|
text = "Start Game"
|
|
script = ExtResource("1_00sld")
|
|
goto_scene = "res://scenes/levels/prototype.tscn"
|
|
|
|
[node name="SettingsButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
shortcut = SubResource("Shortcut_chj2k")
|
|
text = "Settings"
|
|
|
|
[node name="QuitButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
shortcut = SubResource("Shortcut_chj2k")
|
|
text = "Exit Game
|
|
"
|
|
script = ExtResource("2_df56y")
|
|
|
|
[connection signal="pressed" from="VBoxContainer/StartButton" to="VBoxContainer/StartButton" method="_on_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/SettingsButton" to="." method="_on_settings_button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/QuitButton" to="VBoxContainer/QuitButton" method="_on_pressed"]
|