Session quitting
This commit is contained in:
parent
2705959bfd
commit
4dce5bd4ca
7 changed files with 48 additions and 2 deletions
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dstie24qkbc86"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dstie24qkbc86"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bv6ptrditssow" path="res://scenes/gui/client_settings.tscn" id="1_yqjtg"]
|
||||
[ext_resource type="PackedScene" uid="uid://cbtp4rvg66ba1" path="res://scenes/main_menu.tscn" id="2_lnu2h"]
|
||||
[ext_resource type="Script" uid="uid://dj4mlrime72hx" path="res://scripts/multiplayer/level_container.gd" id="3_lnu2h"]
|
||||
|
||||
[node name="Game" type="Node"]
|
||||
|
||||
|
|
@ -12,6 +13,7 @@ unique_name_in_owner = true
|
|||
|
||||
[node name="LevelContainer" type="Node" parent="."]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("3_lnu2h")
|
||||
|
||||
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="LevelContainer"]
|
||||
_spawnable_scenes = PackedStringArray("uid://cqrh2cc7m2i7f", "uid://cc2v2f2ppu68w")
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ grow_vertical = 2
|
|||
mouse_filter = 2
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="CenterContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
script = ExtResource("1_xqyus")
|
||||
|
||||
|
|
@ -63,8 +62,14 @@ max_value = 1.0
|
|||
step = 0.01
|
||||
value = 1.0
|
||||
|
||||
[node name="LeaveButton" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Покинуть сессию"
|
||||
|
||||
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/FullscreenButton" to="CenterContainer/PanelContainer" method="_on_fullscreen_button_pressed"]
|
||||
[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/FullscreenButton" to="CenterContainer/PanelContainer" method="_on_fullscreen_button_toggled"]
|
||||
[connection signal="value_changed" from="CenterContainer/PanelContainer/VBoxContainer/Sensitivity/SensitivitySlider" to="CenterContainer/PanelContainer" method="_on_sensitivity_slider_value_changed"]
|
||||
[connection signal="value_changed" from="CenterContainer/PanelContainer/VBoxContainer/Sensitivity/SensitivityBox" to="CenterContainer/PanelContainer" method="_on_sensitivity_box_value_changed"]
|
||||
[connection signal="value_changed" from="CenterContainer/PanelContainer/VBoxContainer/GameplayMainAudio/GameplayMainSlider" to="CenterContainer/PanelContainer" method="_on_gameplay_main_slider_value_changed"]
|
||||
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/LeaveButton" to="CenterContainer/PanelContainer" method="_on_leave_button_pressed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue