This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/Game/Assets/UI/GUI.tscn

93 lines
2.8 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://b856vwmg8a6o4"]
[ext_resource type="PackedScene" uid="uid://d135tevauvmoq" path="res://Assets/UI/MenuButton.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://81ymy0o073e5" path="res://Assets/UI/Menu.tscn" id="2"]
[ext_resource type="Texture2D" uid="uid://njj8psk8fh7" path="res://Assets/UI/Logo.png" id="2_oueme"]
[ext_resource type="Script" path="res://Assets/UI/GUI.gd" id="3"]
[ext_resource type="AudioStream" uid="uid://dpjwcruomxgkk" path="res://Assets/SFX/UI_Cancel.wav" id="4_lnh50"]
[sub_resource type="InputEventKey" id="InputEventKey_qll7y"]
store_command = false
keycode = 80
[sub_resource type="Shortcut" id="Shortcut_jxeso"]
events = [SubResource( "InputEventKey_qll7y" )]
[node name="GUI" type="VBoxContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 20.0
offset_bottom = -20.0
rect_min_size = Vector2(250, 250)
mouse_filter = 0
alignment = 1
script = ExtResource( "3" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Logo" type="TextureRect" parent="."]
offset_left = 256.0
offset_right = 768.0
offset_bottom = 197.0
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource( "2_oueme" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScrollContainer" type="ScrollContainer" parent="."]
offset_top = 201.0
offset_right = 1024.0
offset_bottom = 560.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 5
size_flags_vertical = 7
follow_focus = true
[node name="Menu" parent="ScrollContainer" instance=ExtResource( "2" )]
offset_left = 0.0
offset_top = 0.0
offset_right = 250.0
offset_bottom = 359.0
[node name="Play" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 148.0
offset_right = 250.0
offset_bottom = 177.0
shortcut = SubResource( "Shortcut_jxeso" )
text = "play
"
label = "play"
[node name="Options" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 181.0
offset_right = 250.0
offset_bottom = 210.0
text = "options"
label = "options"
[node name="Quit" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 214.0
offset_right = 250.0
offset_bottom = 243.0
text = "quit"
label = "quit"
[node name="ClickSound" parent="ScrollContainer/Menu/Quit" index="0"]
stream = ExtResource( "4_lnh50" )
[connection signal="pressed" from="ScrollContainer/Menu/Play" to="ScrollContainer/Menu" method="open_menu" binds= ["res://Assets/UI/PlayMenu.tscn"]]
[connection signal="pressed" from="ScrollContainer/Menu/Options" to="ScrollContainer/Menu" method="open_menu" binds= ["res://Assets/UI/OptionsMenu.tscn"]]
[connection signal="pressed" from="ScrollContainer/Menu/Quit" to="." method="quit_game"]
[editable path="ScrollContainer/Menu/Quit"]