first lobby draft made, you can move a charcter around
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
[gd_scene format=3 uid="uid://cwvprrvk4l2k0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cvm4lyhx1uh0w" path="res://Scripts/multiplayer_lobby.gd" id="2_nb860"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpt3kpixawyby" path="res://UI/scoreboard.tscn" id="3_f6bia"]
|
||||
[ext_resource type="PackedScene" uid="uid://bvfit0sy2tnw4" path="res://Scenes/Menus/server_form.tscn" id="5_bqbwv"]
|
||||
[ext_resource type="PackedScene" uid="uid://ddmg342ff2qaq" path="res://UI/chatbox.tscn" id="6_wtqwd"]
|
||||
[ext_resource type="AudioStream" uid="uid://cp6ph4ra7u5rk" path="res://UI/drop_003.ogg" id="7_6mhre"]
|
||||
@@ -12,19 +11,21 @@ random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("7_6mhre")
|
||||
|
||||
[node name="multiplayer_lobby" type="Control" unique_id=473106326 node_paths=PackedStringArray("server_form", "chatbox", "audio_player")]
|
||||
[node name="multiplayer_lobby" type="Control" unique_id=473106326 node_paths=PackedStringArray("server_form", "audio_player")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("2_nb860")
|
||||
server_form = NodePath("ServerForm")
|
||||
character_select_screen = ExtResource("7_kawp7")
|
||||
chatbox = NodePath("Chatbox")
|
||||
audio_player = NodePath("AudioStreamPlayer")
|
||||
chatbox_scene = ExtResource("6_wtqwd")
|
||||
|
||||
[node name="ServerForm" parent="." unique_id=1466097634 instance=ExtResource("5_bqbwv")]
|
||||
layout_mode = 1
|
||||
@@ -33,44 +34,39 @@ offset_top = -112.0
|
||||
offset_right = 151.0
|
||||
offset_bottom = 112.0
|
||||
|
||||
[node name="Scoreboard" parent="." unique_id=1465394887 instance=ExtResource("3_f6bia")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -472.0
|
||||
offset_right = -50.0
|
||||
grow_horizontal = 0
|
||||
|
||||
[node name="ReadyButton" type="Button" parent="." unique_id=7189097]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -81.0
|
||||
offset_top = 311.0
|
||||
offset_right = -240.0
|
||||
offset_bottom = 19.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
text = "Ready"
|
||||
|
||||
[node name="Chatbox" parent="." unique_id=1790554118 instance=ExtResource("6_wtqwd")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1774735888]
|
||||
stream = SubResource("AudioStreamRandomizer_cwnde")
|
||||
bus = &"SFX"
|
||||
|
||||
[connection signal="player_connected" from="." to="Scoreboard" method="add_player"]
|
||||
[connection signal="player_disconnected" from="." to="Scoreboard" method="remove_player"]
|
||||
[node name="PanelContainer" type="PanelContainer" parent="." unique_id=1897046379]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -6.0
|
||||
offset_top = -6.0
|
||||
offset_right = 6.0
|
||||
offset_bottom = 6.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer" unique_id=2052048593]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="FormTitle" type="Label" parent="PanelContainer/VBoxContainer" unique_id=626539239]
|
||||
layout_mode = 2
|
||||
text = "TITLE_PLAYER_LOBBY"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ReadyButton" type="Button" parent="PanelContainer/VBoxContainer" unique_id=7189097]
|
||||
layout_mode = 2
|
||||
text = "Ready"
|
||||
|
||||
[connection signal="connect_button_pressed" from="ServerForm" to="." method="connect_to_server"]
|
||||
[connection signal="connect_button_pressed" from="ServerForm" to="ServerForm" method="set_visible" binds= [false]]
|
||||
[connection signal="host_button_pressed" from="ServerForm" to="." method="create_server"]
|
||||
[connection signal="host_button_pressed" from="ServerForm" to="ServerForm" method="set_visible" binds= [false]]
|
||||
[connection signal="mouse_entered" from="ReadyButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="ReadyButton" to="." method="ready_player"]
|
||||
[connection signal="mouse_entered" from="PanelContainer/VBoxContainer/ReadyButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="PanelContainer/VBoxContainer/ReadyButton" to="." method="ready_player"]
|
||||
|
||||
Reference in New Issue
Block a user