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
Raw Normal View History

[gd_scene load_steps=8 format=3 uid="uid://b856vwmg8a6o4"]
2021-06-01 23:53:32 +02:00
2021-09-11 15:22:08 +02:00
[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"]
2021-09-12 04:01:38 +02:00
[ext_resource type="Texture2D" uid="uid://njj8psk8fh7" path="res://Assets/UI/Logo.png" id="2_oueme"]
2021-09-11 14:38:45 +02:00
[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"]
2021-06-01 23:53:32 +02:00
[sub_resource type="InputEventKey" id="InputEventKey_qll7y"]
store_command = false
keycode = 80
[sub_resource type="Shortcut" id="Shortcut_jxeso"]
events = [SubResource( "InputEventKey_qll7y" )]
2021-12-01 00:22:47 +01:00
[node name="GUI" type="VBoxContainer"]
2021-06-01 23:53:32 +02:00
anchor_right = 1.0
anchor_bottom = 1.0
2021-12-01 00:22:47 +01:00
offset_top = 20.0
offset_bottom = -20.0
rect_min_size = Vector2(250, 250)
mouse_filter = 0
2021-12-01 00:22:47 +01:00
alignment = 1
2021-09-11 14:38:45 +02:00
script = ExtResource( "3" )
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-01 23:53:32 +02:00
2021-09-12 04:01:38 +02:00
[node name="Logo" type="TextureRect" parent="."]
offset_left = 256.0
offset_right = 768.0
2021-12-01 00:22:47 +01:00
offset_bottom = 197.0
size_flags_horizontal = 4
2021-09-12 04:01:38 +02:00
size_flags_vertical = 0
texture = ExtResource( "2_oueme" )
__meta__ = {
"_edit_use_anchors_": false
}
2021-12-01 00:22:47 +01:00
[node name="ScrollContainer" type="ScrollContainer" parent="."]
offset_top = 201.0
offset_right = 1024.0
2021-12-01 00:22:47 +01:00
offset_bottom = 560.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 5
size_flags_vertical = 7
2021-12-01 00:22:47 +01:00
follow_focus = true
2021-06-01 23:53:32 +02:00
2021-12-01 00:22:47 +01:00
[node name="Menu" parent="ScrollContainer" instance=ExtResource( "2" )]
offset_left = 0.0
offset_top = 0.0
offset_right = 250.0
offset_bottom = 359.0
2021-12-01 00:22:47 +01:00
[node name="Play" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
2021-06-02 17:00:28 +02:00
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 148.0
2021-11-30 23:05:29 +01:00
offset_right = 250.0
offset_bottom = 177.0
shortcut = SubResource( "Shortcut_jxeso" )
text = "play
"
label = "play"
2021-12-01 00:22:47 +01:00
[node name="Options" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 181.0
2021-11-30 23:05:29 +01:00
offset_right = 250.0
offset_bottom = 210.0
2021-06-01 23:53:32 +02:00
text = "options"
2021-06-02 17:00:28 +02:00
label = "options"
2021-06-01 23:53:32 +02:00
2021-12-01 00:22:47 +01:00
[node name="Quit" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
2021-06-02 17:00:28 +02:00
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 214.0
2021-11-30 23:05:29 +01:00
offset_right = 250.0
offset_bottom = 243.0
2021-06-01 23:53:32 +02:00
text = "quit"
2021-06-02 17:00:28 +02:00
label = "quit"
2021-06-01 23:53:32 +02:00
2021-12-01 00:22:47 +01:00
[node name="ClickSound" parent="ScrollContainer/Menu/Quit" index="0"]
2021-09-12 01:17:53 +02:00
stream = ExtResource( "4_lnh50" )
2021-12-01 00:22:47 +01:00
[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"]
2021-09-12 01:17:53 +02:00
2021-12-01 00:22:47 +01:00
[editable path="ScrollContainer/Menu/Quit"]