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/Menu.tscn

38 lines
1.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=5 format=3 uid="uid://81ymy0o073e5"]
2021-06-01 23:53:32 +02:00
2021-09-12 01:17:53 +02:00
[ext_resource type="Script" path="res://Assets/UI/Menu.gd" id="1"]
[ext_resource type="AudioStream" uid="uid://da7hq3d1msmud" path="res://Assets/SFX/UI_Click.wav" id="2_nkrit"]
[ext_resource type="AudioStream" uid="uid://dc4rractm5dhf" path="res://Assets/SFX/UI_Hover.wav" id="3_qqhse"]
2021-06-01 23:53:32 +02:00
[sub_resource type="Shortcut" id="Shortcut_58c54"]
2021-06-01 23:53:32 +02:00
[node name="Menu" type="VBoxContainer"]
offset_left = 475.0
offset_top = 269.0
offset_right = 548.0
offset_bottom = 331.0
2021-11-30 23:05:29 +01:00
rect_min_size = Vector2(250, 0)
2021-12-01 00:22:47 +01:00
size_flags_vertical = 3
alignment = 1
2021-09-12 01:17:53 +02:00
script = ExtResource( "1" )
2021-06-01 23:53:32 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Back" type="Button" parent="."]
2021-12-01 00:22:47 +01:00
offset_top = 16.0
2021-11-30 23:05:29 +01:00
offset_right = 250.0
2021-12-01 00:22:47 +01:00
offset_bottom = 45.0
shortcut = SubResource( "Shortcut_58c54" )
2021-06-01 23:53:32 +02:00
text = "back
"
2021-09-12 01:17:53 +02:00
[node name="ClickSound" type="AudioStreamPlayer" parent="Back"]
stream = ExtResource( "2_nkrit" )
[node name="HoverSound" type="AudioStreamPlayer" parent="Back"]
stream = ExtResource( "3_qqhse" )
[connection signal="mouse_entered" from="Back" to="." method="_on_Back_mouse_entered"]
2021-06-01 23:53:32 +02:00
[connection signal="pressed" from="Back" to="." method="go_back"]