Fixed auto scrolling to inspiration. Fixed show answer changes song list. Started working on some colors

This commit is contained in:
2023-09-02 14:05:41 +02:00
parent 3fabf45985
commit 1045bf2f9e
6 changed files with 99 additions and 28 deletions

View File

@@ -1,23 +1,38 @@
[gd_scene load_steps=9 format=3 uid="uid://xwq863o6uvsu"]
[gd_scene load_steps=11 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="Script" path="res://InsperationScrollContainer.gd" id="2_gxtxm"]
[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"]
[ext_resource type="Script" path="res://MusicListScrollContainer.gd" id="7_dj026"]
[ext_resource type="Theme" uid="uid://rxexo3ur85as" path="res://LightGrayTheme.tres" id="7_wxbv6"]
[sub_resource type="LabelSettings" id="LabelSettings_qspbu"]
font_size = 70
font_size = 50
[sub_resource type="LabelSettings" id="LabelSettings_3m52w"]
font_size = 50
font_size = 35
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_eu0t5")
[node name="TopPanelContainer" type="PanelContainer" parent="."]
layout_mode = 0
offset_right = 1920.0
offset_bottom = 52.0
[node name="HBoxContainer" type="HBoxContainer" parent="TopPanelContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="TopPanelContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
text = "Music Player Randomizer"
[node name="Open" type="Button" parent="."]
layout_mode = 2
offset_left = 65.0
@@ -38,12 +53,16 @@ show_hidden_files = true
[node name="ScrollContainer" type="ScrollContainer" parent="."]
layout_mode = 0
offset_left = 1204.0
offset_top = 17.0
offset_right = 1771.0
offset_top = 95.0
offset_right = 1845.0
offset_bottom = 465.0
horizontal_scroll_mode = 0
script = ExtResource("2_gxtxm")
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
@@ -57,7 +76,7 @@ text = "Test2"
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 0
offset_left = 52.0
offset_top = 64.0
offset_top = 81.0
offset_right = 977.0
offset_bottom = 368.0
@@ -82,7 +101,7 @@ visible = false
layout_mode = 0
offset_left = 69.0
offset_top = 924.0
offset_right = 955.0
offset_right = 1057.0
offset_bottom = 964.0
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer"]
@@ -111,12 +130,10 @@ scrollable = false
layout_mode = 2
text = "1:00 / 3:00"
[node name="VolumeSlider" parent="." instance=ExtResource("3_rxhba")]
layout_mode = 0
offset_left = 983.0
offset_top = 916.0
offset_right = 1214.0
offset_bottom = 955.0
[node name="VolumeSlider" parent="PanelContainer/HBoxContainer" instance=ExtResource("3_rxhba")]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
size_flags_vertical = 4
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_5kvsq")
@@ -200,11 +217,12 @@ offset_left = 136.0
offset_top = 388.0
offset_right = 1009.0
offset_bottom = 845.0
theme = ExtResource("7_wxbv6")
[node name="ScrollContainer" type="ScrollContainer" parent="MusicListPanel"]
layout_mode = 2
follow_focus = true
script = ExtResource("6_7b4jh")
script = ExtResource("7_dj026")
[node name="MusicList" type="VBoxContainer" parent="MusicListPanel/ScrollContainer"]
layout_mode = 2