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

85 lines
2.6 KiB
Plaintext

[gd_scene load_steps=6 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"]
[node name="GUI" type="VBoxContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 20.0
offset_bottom = -20.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_left = 387.0
offset_top = 201.0
offset_right = 637.0
offset_bottom = 560.0
size_flags_horizontal = 6
size_flags_vertical = 3
follow_focus = true
scroll_horizontal_enabled = false
scroll_horizontal_visible = false
[node name="Menu" parent="ScrollContainer" instance=ExtResource( "2" )]
offset_left = 0.0
offset_top = 0.0
offset_right = 250.0
offset_bottom = 128.0
[node name="Play" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 33.0
offset_right = 250.0
offset_bottom = 62.0
text = "play
"
label = "play"
[node name="Options" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 66.0
offset_right = 250.0
offset_bottom = 95.0
theme_override_font_sizes/font_size = 16
text = "options"
label = "options"
[node name="Quit" parent="ScrollContainer/Menu" instance=ExtResource( "1" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 99.0
offset_right = 250.0
offset_bottom = 128.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"]