99 lines
3.2 KiB
Plaintext
99 lines
3.2 KiB
Plaintext
|
[gd_scene load_steps=6 format=3 uid="uid://ctginaw0hfnwu"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://UI/MenuScreen.gd" id="1_pvf1f"]
|
||
|
[ext_resource type="Texture2D" uid="uid://dxxd258q3uomg" path="res://UI/Play.png" id="1_r8ube"]
|
||
|
[ext_resource type="Texture2D" uid="uid://brtraq11vg3ss" path="res://UI/People.png" id="2_wj8wl"]
|
||
|
[ext_resource type="Texture2D" uid="uid://6ujjdpbmqeh7" path="res://UI/Message-Question.png" id="3_f6ddc"]
|
||
|
[ext_resource type="Texture2D" uid="uid://cgr1apo42wg2o" path="res://UI/slimeoosoddysseytitle.png" id="4_up0xh"]
|
||
|
|
||
|
[node name="MenuScreen" 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_pvf1f")
|
||
|
|
||
|
[node name="CenterContainer" type="CenterContainer" 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 = -272.0
|
||
|
offset_top = 25.0
|
||
|
offset_right = 282.0
|
||
|
offset_bottom = 173.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
|
||
|
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer"]
|
||
|
layout_mode = 2
|
||
|
theme_override_constants/separation = 75
|
||
|
alignment = 1
|
||
|
|
||
|
[node name="PlayButton" type="Button" parent="CenterContainer/HBoxContainer"]
|
||
|
process_mode = 3
|
||
|
texture_filter = 1
|
||
|
layout_mode = 2
|
||
|
focus_neighbor_left = NodePath("../CreditsButton")
|
||
|
focus_neighbor_right = NodePath("../CreditsButton")
|
||
|
focus_next = NodePath(".")
|
||
|
text = " "
|
||
|
icon = ExtResource("1_r8ube")
|
||
|
flat = true
|
||
|
icon_alignment = 1
|
||
|
|
||
|
[node name="CreditsButton" type="Button" parent="CenterContainer/HBoxContainer"]
|
||
|
process_mode = 3
|
||
|
texture_filter = 1
|
||
|
layout_mode = 2
|
||
|
focus_neighbor_left = NodePath("../PlayButton")
|
||
|
focus_neighbor_right = NodePath("../PlayButton")
|
||
|
focus_next = NodePath("../PlayButton")
|
||
|
theme_override_constants/outline_size = 1
|
||
|
theme_override_constants/h_separation = 0
|
||
|
theme_override_constants/icon_max_width = 0
|
||
|
text = " "
|
||
|
icon = ExtResource("2_wj8wl")
|
||
|
flat = true
|
||
|
icon_alignment = 1
|
||
|
|
||
|
[node name="ControlsButton" type="Button" parent="CenterContainer/HBoxContainer"]
|
||
|
process_mode = 3
|
||
|
texture_filter = 1
|
||
|
layout_mode = 2
|
||
|
focus_neighbor_left = NodePath("../PlayButton")
|
||
|
focus_neighbor_right = NodePath("../PlayButton")
|
||
|
focus_next = NodePath("../PlayButton")
|
||
|
theme_override_constants/outline_size = 1
|
||
|
theme_override_constants/h_separation = 0
|
||
|
theme_override_constants/icon_max_width = 0
|
||
|
text = " "
|
||
|
icon = ExtResource("3_f6ddc")
|
||
|
flat = true
|
||
|
icon_alignment = 1
|
||
|
|
||
|
[node name="Title" type="Sprite2D" parent="CenterContainer"]
|
||
|
texture_filter = 1
|
||
|
position = Vector2(272, -209)
|
||
|
scale = Vector2(1.07022, 1.71176)
|
||
|
texture = ExtResource("4_up0xh")
|
||
|
|
||
|
[node name="Credits" type="Window" parent="."]
|
||
|
title = "Credits"
|
||
|
initial_position = 1
|
||
|
size = Vector2i(500, 500)
|
||
|
|
||
|
[node name="Controls" type="Window" parent="."]
|
||
|
title = "Credits"
|
||
|
initial_position = 1
|
||
|
size = Vector2i(500, 500)
|
||
|
visible = false
|
||
|
|
||
|
[connection signal="pressed" from="CenterContainer/HBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
|
||
|
[connection signal="pressed" from="CenterContainer/HBoxContainer/CreditsButton" to="." method="_on_credits_button_pressed"]
|
||
|
[connection signal="pressed" from="CenterContainer/HBoxContainer/ControlsButton" to="." method="_on_controls_button_pressed"]
|