Added hopping between songs. Added settings menu, not finished.

This commit is contained in:
2023-09-10 22:37:57 +02:00
parent c9ea40215d
commit 724455b232
7 changed files with 386 additions and 117 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=3 uid="uid://xwq863o6uvsu"]
[gd_scene load_steps=19 format=3 uid="uid://xwq863o6uvsu"]
[ext_resource type="Script" path="res://MainWindow.gd" id="1_eu0t5"]
[ext_resource type="PackedScene" uid="uid://b16on0oscg1bv" path="res://CharacterSelect.tscn" id="2_76kf4"]
@@ -10,6 +10,7 @@
[ext_resource type="Script" path="res://PlayerNameField.gd" id="7_qsdfy"]
[ext_resource type="Theme" uid="uid://rxexo3ur85as" path="res://LightGrayTheme.tres" id="7_wxbv6"]
[ext_resource type="PackedScene" uid="uid://bxydgil1yifps" path="res://SearchWindow.tscn" id="9_5ijvr"]
[ext_resource type="PackedScene" uid="uid://dldpeo5y3l5hq" path="res://SettingsWindow.tscn" id="11_k62u5"]
[sub_resource type="LabelSettings" id="LabelSettings_ychxr"]
font_size = 25
@@ -81,6 +82,7 @@ offset_top = 95.0
offset_right = 1845.0
offset_bottom = 465.0
horizontal_scroll_mode = 0
vertical_scroll_mode = 3
script = ExtResource("2_gxtxm")
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
@@ -88,15 +90,6 @@ layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
text = "Test
"
[node name="Label2" type="Label" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
text = "Test2"
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 0
offset_left = 52.0
@@ -106,14 +99,12 @@ offset_bottom = 368.0
[node name="GameLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "????????"
label_settings = SubResource("LabelSettings_qspbu")
horizontal_alignment = 1
autowrap_mode = 2
[node name="SongLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "??????"
label_settings = SubResource("LabelSettings_3m52w")
horizontal_alignment = 1
autowrap_mode = 2
@@ -136,9 +127,9 @@ size_flags_vertical = 4
layout_mode = 2
text = "Play"
[node name="StopButton" type="Button" parent="PanelContainer/HBoxContainer"]
[node name="RestartButton" type="Button" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
text = "Stop"
text = "Restart"
[node name="HSlider" type="HSlider" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
@@ -313,11 +304,11 @@ offset_top = 81.2367
offset_right = 349.196
offset_bottom = 81.2367
[node name="PopupPanel" type="PopupPanel" parent="."]
[node name="SyncPopupPanel" type="PopupPanel" parent="."]
initial_position = 2
size = Vector2i(140, 70)
[node name="Label" type="Label" parent="PopupPanel"]
[node name="Label" type="Label" parent="SyncPopupPanel"]
offset_left = 4.0
offset_top = 4.0
offset_right = 136.0
@@ -349,24 +340,61 @@ vertical_alignment = 1
[node name="AboutPopupPanel" type="PopupPanel" parent="."]
initial_position = 2
size = Vector2i(450, 100)
size = Vector2i(848, 272)
[node name="Label" type="Label" parent="AboutPopupPanel"]
[node name="VBoxContainer" type="VBoxContainer" parent="AboutPopupPanel"]
offset_left = 4.0
offset_top = 4.0
offset_right = 446.0
offset_bottom = 96.0
text = "Music Player Randomizer v0.6"
offset_right = 844.0
offset_bottom = 268.0
[node name="Label" type="Label" parent="AboutPopupPanel/VBoxContainer"]
layout_mode = 2
text = "Music Player Randomizer"
horizontal_alignment = 1
[node name="AboutLabel" type="Label" parent="AboutPopupPanel"]
offset_left = 4.0
offset_top = 4.0
offset_right = 446.0
offset_bottom = 96.0
[node name="VersionLabel" type="Label" parent="AboutPopupPanel/VBoxContainer"]
layout_mode = 2
horizontal_alignment = 1
[node name="AboutLabel" type="Label" parent="AboutPopupPanel/VBoxContainer"]
layout_mode = 2
text = "Try your video game music knowledge with this VGM randomizer, invite your friends and see who is the best."
horizontal_alignment = 1
vertical_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="AboutPopupPanel/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="NewLabel" type="Label" parent="AboutPopupPanel/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
text = "0.7-Beta: Can now hop between songs"
autowrap_mode = 2
[node name="CommingLabel" type="Label" parent="AboutPopupPanel/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
text = "Fix reset buttons
Fix settings
Fix winner
Fix graphics in lists
Fix layout
Fix for local play
Change some buttons to icons
Add shortcuts"
autowrap_mode = 2
[node name="SettingsPopupPanel" type="PopupPanel" parent="."]
initial_position = 2
size = Vector2i(268, 233)
[node name="VBoxContainer" parent="SettingsPopupPanel" instance=ExtResource("11_k62u5")]
offset_left = 4.0
offset_top = 4.0
offset_right = -4.0
offset_bottom = 19.0
[connection signal="dir_selected" from="FileDialog" to="." method="_on_file_dialog_dir_selected"]