2023-12-17 02:02:16 +11:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://176c6fuhg5ic"]
|
2023-11-08 14:28:55 +11:00
|
|
|
|
|
|
|
[ext_resource type="Theme" uid="uid://b6a0ip4p72tgx" path="res://new_theme.tres" id="1_2aur6"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dpt3kpixawyby" path="res://Scenes/UI/scoreboard.tscn" id="1_423py"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/singleplayer_lobby.gd" id="1_nd17k"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ddmg342ff2qaq" path="res://Scenes/UI/chatbox.tscn" id="3_l8xy3"]
|
2024-03-23 22:36:19 +11:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dqqitmhu66a7d" path="res://Scenes/Menus/CharacterSelect/charselect.tscn" id="5_vg5y0"]
|
2024-03-30 13:55:36 +11:00
|
|
|
[ext_resource type="AudioStream" uid="uid://cp6ph4ra7u5rk" path="res://Scenes/UI/drop_003.ogg" id="6_6nu57"]
|
2023-12-17 02:02:16 +11:00
|
|
|
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_g5har"]
|
|
|
|
random_pitch = 1.1
|
|
|
|
streams_count = 1
|
2024-03-30 13:55:36 +11:00
|
|
|
stream_0/stream = ExtResource("6_6nu57")
|
2023-12-17 02:02:16 +11:00
|
|
|
stream_0/weight = 1.0
|
2023-11-08 14:28:55 +11:00
|
|
|
|
|
|
|
[node name="singleplayer_lobby" type="Control" node_paths=PackedStringArray("scoreboard", "loadout_editor", "chatbox")]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
mouse_filter = 2
|
|
|
|
theme = ExtResource("1_2aur6")
|
|
|
|
script = ExtResource("1_nd17k")
|
|
|
|
scoreboard = NodePath("Scoreboard")
|
2023-12-09 01:09:12 +11:00
|
|
|
loadout_editor = NodePath("Control")
|
2023-11-08 14:28:55 +11:00
|
|
|
chatbox = NodePath("Chatbox")
|
|
|
|
|
|
|
|
[node name="Scoreboard" parent="." instance=ExtResource("1_423py")]
|
|
|
|
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="."]
|
|
|
|
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="." instance=ExtResource("3_l8xy3")]
|
|
|
|
layout_mode = 1
|
|
|
|
|
2023-12-09 01:09:12 +11:00
|
|
|
[node name="Control" parent="." instance=ExtResource("5_vg5y0")]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 1
|
|
|
|
|
2023-12-17 02:02:16 +11:00
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = SubResource("AudioStreamRandomizer_g5har")
|
|
|
|
bus = &"SFX"
|
|
|
|
|
|
|
|
[connection signal="mouse_entered" from="ReadyButton" to="." method="_on_button_mouse_entered"]
|
2023-11-08 14:28:55 +11:00
|
|
|
[connection signal="pressed" from="ReadyButton" to="Scoreboard" method="set_player_ready_state" binds= [1, true]]
|
|
|
|
[connection signal="pressed" from="ReadyButton" to="ReadyButton" method="set_visible" binds= [false]]
|