conforms file names to consistant standard
This commit is contained in:
38
scenes/menus/alert_popup.tscn
Normal file
38
scenes/menus/alert_popup.tscn
Normal file
@@ -0,0 +1,38 @@
|
||||
[gd_scene format=3 uid="uid://6a277g802os0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://4uwd40mavufi" path="res://scripts/alert_popup.gd" id="1_cac03"]
|
||||
[ext_resource type="AudioStream" uid="uid://cp6ph4ra7u5rk" path="res://ui/drop_003.ogg" id="2_2mbtt"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_veol0"]
|
||||
random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("2_2mbtt")
|
||||
|
||||
[node name="Control" type="PanelContainer" unique_id=1358708603]
|
||||
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
|
||||
script = ExtResource("1_cac03")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=262018832]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer" unique_id=1955868029]
|
||||
layout_mode = 2
|
||||
text = "Unable to connect to server"
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer" unique_id=573721072]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
text = "OK"
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=642000737]
|
||||
stream = SubResource("AudioStreamRandomizer_veol0")
|
||||
bus = &"SFX"
|
||||
|
||||
[connection signal="mouse_entered" from="VBoxContainer/Button" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="VBoxContainer/Button" to="." method="_on_button_pressed"]
|
||||
55
scenes/menus/confirmation_popup.tscn
Normal file
55
scenes/menus/confirmation_popup.tscn
Normal file
@@ -0,0 +1,55 @@
|
||||
[gd_scene format=3 uid="uid://f46qh73hrk4y"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bjt72v1wym5ie" path="res://scripts/confirmation_popup.gd" id="1_x7akt"]
|
||||
[ext_resource type="AudioStream" uid="uid://cp6ph4ra7u5rk" path="res://ui/drop_003.ogg" id="2_3w36n"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_22wuj"]
|
||||
random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("2_3w36n")
|
||||
|
||||
[node name="ConfirmationPopup" type="PanelContainer" unique_id=1165272278]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -67.5
|
||||
offset_top = -30.5
|
||||
offset_right = 67.5
|
||||
offset_bottom = 30.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_x7akt")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1692009644]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer" unique_id=1306121466]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "Some Text?"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=1948090750]
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer" unique_id=2050991125]
|
||||
layout_mode = 2
|
||||
text = "Cancel"
|
||||
|
||||
[node name="Confirm" type="Button" parent="VBoxContainer/HBoxContainer" unique_id=830285956]
|
||||
layout_mode = 2
|
||||
text = "Confirm"
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=195190349]
|
||||
stream = SubResource("AudioStreamRandomizer_22wuj")
|
||||
volume_db = -10.665
|
||||
bus = &"SFX"
|
||||
|
||||
[connection signal="mouse_entered" from="VBoxContainer/HBoxContainer/Cancel" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="_on_cancel_pressed"]
|
||||
[connection signal="mouse_entered" from="VBoxContainer/HBoxContainer/Confirm" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Confirm" to="." method="_on_confirm_pressed"]
|
||||
72
scenes/menus/multiplayer_lobby.tscn
Normal file
72
scenes/menus/multiplayer_lobby.tscn
Normal file
@@ -0,0 +1,72 @@
|
||||
[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://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"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc6m3cluulpis" path="res://ui/menus/CharacterSelect/character_select.tscn" id="7_kawp7"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_cwnde"]
|
||||
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", "audio_player")]
|
||||
layout_mode = 3
|
||||
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")
|
||||
audio_player = NodePath("AudioStreamPlayer")
|
||||
chatbox_scene = ExtResource("6_wtqwd")
|
||||
|
||||
[node name="ServerForm" parent="." unique_id=1466097634 instance=ExtResource("5_bqbwv")]
|
||||
layout_mode = 1
|
||||
offset_left = -151.0
|
||||
offset_top = -112.0
|
||||
offset_right = 151.0
|
||||
offset_bottom = 112.0
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1774735888]
|
||||
stream = SubResource("AudioStreamRandomizer_cwnde")
|
||||
bus = &"SFX"
|
||||
|
||||
[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="host_button_pressed" from="ServerForm" to="." method="create_server"]
|
||||
[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"]
|
||||
116
scenes/menus/server_form.tscn
Normal file
116
scenes/menus/server_form.tscn
Normal file
@@ -0,0 +1,116 @@
|
||||
[gd_scene format=3 uid="uid://bvfit0sy2tnw4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dyyhbd2pbfygi" path="res://scripts/server_form.gd" id="1_43oaq"]
|
||||
[ext_resource type="AudioStream" uid="uid://cp6ph4ra7u5rk" path="res://ui/drop_003.ogg" id="2_hirre"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_3o7ni"]
|
||||
random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("2_hirre")
|
||||
|
||||
[node name="ServerForm" type="PanelContainer" unique_id=1145091654 node_paths=PackedStringArray("ip_entry", "port_entry", "host_button", "join_button", "ip_field", "port_field", "players_field", "start_button")]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -81.0
|
||||
offset_top = -85.5
|
||||
offset_right = 81.0
|
||||
offset_bottom = 85.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_43oaq")
|
||||
ip_entry = NodePath("VBoxContainer/IPField/ServerIP")
|
||||
port_entry = NodePath("VBoxContainer/PortField/ServerPort")
|
||||
host_button = NodePath("VBoxContainer/ModeContainer/HostButton")
|
||||
join_button = NodePath("VBoxContainer/ModeContainer/JoinButton")
|
||||
ip_field = NodePath("VBoxContainer/IPField")
|
||||
port_field = NodePath("VBoxContainer/PortField")
|
||||
players_field = NodePath("VBoxContainer/PlayersField")
|
||||
start_button = NodePath("VBoxContainer/StartButton")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=561935001]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="BackButton" type="Button" parent="VBoxContainer" unique_id=569188032]
|
||||
layout_mode = 2
|
||||
text = "Back"
|
||||
|
||||
[node name="ModeContainer" type="VBoxContainer" parent="VBoxContainer" unique_id=412577610]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HostButton" type="Button" parent="VBoxContainer/ModeContainer" unique_id=631449156]
|
||||
layout_mode = 2
|
||||
text = "Host Game"
|
||||
|
||||
[node name="JoinButton" type="Button" parent="VBoxContainer/ModeContainer" unique_id=1935206321]
|
||||
layout_mode = 2
|
||||
text = "Join Game"
|
||||
|
||||
[node name="IPField" type="HBoxContainer" parent="VBoxContainer" unique_id=1725471186]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/IPField" unique_id=1622344831]
|
||||
layout_mode = 2
|
||||
text = "Server IP:"
|
||||
|
||||
[node name="ServerIP" type="LineEdit" parent="VBoxContainer/IPField" unique_id=2021046132]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "localhost"
|
||||
|
||||
[node name="PortField" type="HBoxContainer" parent="VBoxContainer" unique_id=803673382]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/PortField" unique_id=1598783998]
|
||||
layout_mode = 2
|
||||
text = "Server Port:"
|
||||
|
||||
[node name="ServerPort" type="LineEdit" parent="VBoxContainer/PortField" unique_id=1709303077]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "default"
|
||||
|
||||
[node name="PlayersField" type="HBoxContainer" parent="VBoxContainer" unique_id=1542923946]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/PlayersField" unique_id=1691764369]
|
||||
layout_mode = 2
|
||||
text = "Max Players"
|
||||
|
||||
[node name="HSlider" type="HSlider" parent="VBoxContainer/PlayersField" unique_id=1035713116]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
max_value = 4.0
|
||||
value = 4.0
|
||||
tick_count = 5
|
||||
ticks_on_borders = true
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer/PlayersField" unique_id=821854456]
|
||||
layout_mode = 2
|
||||
text = "4"
|
||||
|
||||
[node name="StartButton" type="Button" parent="VBoxContainer" unique_id=1563391807]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Start"
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=698870317]
|
||||
stream = SubResource("AudioStreamRandomizer_3o7ni")
|
||||
bus = &"SFX"
|
||||
|
||||
[connection signal="mouse_entered" from="VBoxContainer/BackButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="VBoxContainer/BackButton" to="." method="_on_button_pressed"]
|
||||
[connection signal="mouse_entered" from="VBoxContainer/ModeContainer/HostButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="VBoxContainer/ModeContainer/HostButton" to="." method="_on_host_button_pressed"]
|
||||
[connection signal="mouse_entered" from="VBoxContainer/ModeContainer/JoinButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="VBoxContainer/ModeContainer/JoinButton" to="." method="_on_join_button_pressed"]
|
||||
[connection signal="value_changed" from="VBoxContainer/PlayersField/HSlider" to="." method="_on_h_slider_value_changed"]
|
||||
[connection signal="mouse_entered" from="VBoxContainer/StartButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_start_button_pressed"]
|
||||
28
scenes/menus/singleplayer_lobby.tscn
Normal file
28
scenes/menus/singleplayer_lobby.tscn
Normal file
@@ -0,0 +1,28 @@
|
||||
[gd_scene format=3 uid="uid://176c6fuhg5ic"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://e5gf7hd5jsw3" path="res://scripts/singleplayer_lobby.gd" id="1_nd17k"]
|
||||
[ext_resource type="PackedScene" uid="uid://ddmg342ff2qaq" path="res://ui/chatbox.tscn" id="3_l8xy3"]
|
||||
[ext_resource type="AudioStream" uid="uid://cp6ph4ra7u5rk" path="res://ui/drop_003.ogg" id="6_6nu57"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc6m3cluulpis" path="res://ui/menus/CharacterSelect/character_select.tscn" id="6_ltm04"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_g5har"]
|
||||
random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("6_6nu57")
|
||||
|
||||
[node name="singleplayer_lobby" type="Control" unique_id=1948631640 node_paths=PackedStringArray("audio_player")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1_nd17k")
|
||||
character_select_screen = ExtResource("6_ltm04")
|
||||
audio_player = NodePath("AudioStreamPlayer")
|
||||
chatbox_scene = ExtResource("3_l8xy3")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1662384823]
|
||||
stream = SubResource("AudioStreamRandomizer_g5har")
|
||||
bus = &"SFX"
|
||||
42
scenes/menus/text_input_popup.tscn
Normal file
42
scenes/menus/text_input_popup.tscn
Normal file
@@ -0,0 +1,42 @@
|
||||
[gd_scene format=3 uid="uid://dccsyymk4uko6"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b0asb3pmu8pqb" path="res://scripts/text_input_popup.gd" id="1_ve6eb"]
|
||||
[ext_resource type="AudioStream" uid="uid://cp6ph4ra7u5rk" path="res://ui/drop_003.ogg" id="2_mec4u"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_w0x7l"]
|
||||
random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("2_mec4u")
|
||||
|
||||
[node name="TextInputPopup" type="PanelContainer" unique_id=601601243]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -90.0
|
||||
offset_top = -35.0
|
||||
offset_right = 90.0
|
||||
offset_bottom = 35.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_ve6eb")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=868959961]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="VBoxContainer" unique_id=704296503]
|
||||
layout_mode = 2
|
||||
placeholder_text = "Dummy Text"
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer" unique_id=1043501287]
|
||||
layout_mode = 2
|
||||
text = "Confirm
|
||||
"
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1455592164]
|
||||
stream = SubResource("AudioStreamRandomizer_w0x7l")
|
||||
bus = &"SFX"
|
||||
|
||||
[connection signal="mouse_entered" from="VBoxContainer/Button" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="VBoxContainer/Button" to="." method="_on_button_pressed"]
|
||||
Reference in New Issue
Block a user