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

62 lines
2.1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://cc62u7shucxqi"]
[ext_resource type="PackedScene" uid="uid://81ymy0o073e5" path="res://Assets/UI/Menu.tscn" id="1_21oe2"]
[ext_resource type="PackedScene" uid="uid://d135tevauvmoq" path="res://Assets/UI/MenuButton.tscn" id="2_oo0fl"]
[ext_resource type="Script" path="res://Assets/UI/PlayMenu.gd" id="2_pgqlf"]
[sub_resource type="InputEventKey" id="InputEventKey_7k4wy"]
store_command = false
keycode = 67
[sub_resource type="Shortcut" id="Shortcut_vswga"]
events = [SubResource( "InputEventKey_7k4wy" )]
[node name="PlayMenu" instance=ExtResource( "1_21oe2" )]
script = ExtResource( "2_pgqlf" )
[node name="HostButton" parent="." index="0" instance=ExtResource( "2_oo0fl" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_right = 250.0
offset_bottom = 29.0
text = "host"
label = "host"
[node name="ConnectButton" parent="." index="1" instance=ExtResource( "2_oo0fl" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 33.0
offset_right = 250.0
offset_bottom = 62.0
shortcut = SubResource( "Shortcut_vswga" )
text = "connect"
label = "connect"
[node name="ProfileButton" parent="." index="2" instance=ExtResource( "2_oo0fl" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 66.0
offset_right = 250.0
offset_bottom = 95.0
text = "profile"
label = "profile"
[node name="SuicideButton" parent="." index="3" instance=ExtResource( "2_oo0fl" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 99.0
offset_right = 250.0
offset_bottom = 128.0
text = "commit suicide"
label = "commit suicide"
[node name="Back" parent="." index="4"]
offset_top = 132.0
offset_bottom = 161.0
[connection signal="visibility_changed" from="." to="." method="on_visibility_changed"]
[connection signal="pressed" from="HostButton" to="." method="host_button_pressed"]
[connection signal="pressed" from="ConnectButton" to="." method="open_menu" binds= ["res://Assets/UI/ConnectMenu.tscn"]]
[connection signal="pressed" from="ProfileButton" to="." method="open_menu" binds= ["res://Assets/UI/ProfileMenu.tscn"]]
[connection signal="pressed" from="SuicideButton" to="." method="commit_suicide"]