Added functionallity to some buttons. Hides answer from start. Updated song que list.

This commit is contained in:
2023-09-01 22:12:24 +02:00
parent c15afc3dc5
commit 3fabf45985
3 changed files with 57 additions and 12 deletions

View File

@@ -1,10 +1,11 @@
[gd_scene load_steps=8 format=3 uid="uid://xwq863o6uvsu"]
[gd_scene load_steps=9 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"]
[ext_resource type="PackedScene" uid="uid://w400rnew7453" path="res://volume_slider.tscn" id="3_rxhba"]
[ext_resource type="AudioStream" uid="uid://n2g8jddr85h2" path="res://01. Opening.mp3" id="4_5kvsq"]
[ext_resource type="Texture2D" uid="uid://o5go6smk7hm1" path="res://person_add_alt_1-black-36dp.svg" id="4_op458"]
[ext_resource type="Script" path="res://ScrollContainer.gd" id="6_7b4jh"]
[sub_resource type="LabelSettings" id="LabelSettings_qspbu"]
font_size = 70
@@ -145,7 +146,7 @@ layout_mode = 2
size_flags_horizontal = 8
texture_normal = ExtResource("4_op458")
[node name="Button" type="Button" parent="."]
[node name="ResetPlaylistButton" type="Button" parent="."]
layout_mode = 0
offset_left = 125.0
offset_top = 1017.0
@@ -153,7 +154,7 @@ offset_right = 236.0
offset_bottom = 1048.0
text = "Reset playlist"
[node name="Button2" type="Button" parent="."]
[node name="ResetPointsButton" type="Button" parent="."]
layout_mode = 0
offset_left = 247.0
offset_top = 1018.0
@@ -161,7 +162,7 @@ offset_right = 358.0
offset_bottom = 1049.0
text = "Reset points"
[node name="Button3" type="Button" parent="."]
[node name="SuncButton" type="Button" parent="."]
layout_mode = 0
offset_left = 370.0
offset_top = 1016.0
@@ -169,7 +170,7 @@ offset_right = 481.0
offset_bottom = 1047.0
text = "Sync games"
[node name="Button4" type="Button" parent="."]
[node name="SoundTestButton" type="Button" parent="."]
layout_mode = 0
offset_left = 491.0
offset_top = 1016.0
@@ -177,7 +178,7 @@ offset_right = 602.0
offset_bottom = 1047.0
text = "Sound test"
[node name="Button5" type="Button" parent="."]
[node name="ShowAnswerButton" type="Button" parent="."]
layout_mode = 0
offset_left = 611.0
offset_top = 1016.0
@@ -185,7 +186,7 @@ offset_right = 722.0
offset_bottom = 1047.0
text = "Show answer"
[node name="Button6" type="Button" parent="."]
[node name="NextButton" type="Button" parent="."]
layout_mode = 0
offset_left = 729.0
offset_top = 1017.0
@@ -202,6 +203,8 @@ offset_bottom = 845.0
[node name="ScrollContainer" type="ScrollContainer" parent="MusicListPanel"]
layout_mode = 2
follow_focus = true
script = ExtResource("6_7b4jh")
[node name="MusicList" type="VBoxContainer" parent="MusicListPanel/ScrollContainer"]
layout_mode = 2