switch to 4.6

This commit is contained in:
bucket
2025-11-06 18:15:22 +01:00
parent 4424b10cda
commit ecab6a0785
45 changed files with 73 additions and 370 deletions
+12
View File
@@ -34,3 +34,15 @@ bus/1/effect/2/effect = SubResource("AudioEffectCompressor_boc1b")
bus/1/effect/2/enabled = false
bus/1/effect/3/effect = SubResource("AudioEffectHardLimiter_o5vtn")
bus/1/effect/3/enabled = false
bus/2/name = &"Transition2"
bus/2/solo = false
bus/2/mute = false
bus/2/bypass_fx = false
bus/2/volume_db = 0.0
bus/2/send = &"Music"
bus/3/name = &"Transition1"
bus/3/solo = false
bus/3/mute = false
bus/3/bypass_fx = false
bus/3/volume_db = 0.0
bus/3/send = &"Music"
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/BackOne.png-420a39df0abee2599d5df56efa24c072.
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Download.png-6edabc13913011fcc1c474de846d5a9e
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Dropdown.png-f0021d4c0ded22eb7c63bcbc517eb8ad
compress/mode=1
compress/high_quality=false
compress/lossy_quality=1.0
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/File.png-4411e7b96437ffc88364c665e51b8d04.cte
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Headphones.png-5216505d06b86ae3755e2faf136684
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Loding.png-6d3c0733bbca79cc50961d85464a8b98.c
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Logo.png-74a0629716e72ae40e6b8ec0af0a36d4.cte
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Logo2.png-100c0815408d11fe328d0658eac3e9f7.ct
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Loop.png-3a14373bdaaa66724c0d3e0e4930c783.cte
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/LoopPressed.png-4a3ff253d730f38bb12be6a28d229
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Pause.png-65652e6e56baf3539bef8ff5ed11c80f.ct
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Play.png-027e1a7ba14d3532475ac2beb7611718.cte
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Skip.png-a3595e1eea6e30e9583829cd1e79191f.cte
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/X.png-62eed553c511eef879555263d706449c.ctex"]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/XSmall.png-3f5e03f6bae52e14377c330d561cf482.c
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/gear.png-daf0471406e5a26bbc92ea97ba336a29.cte
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/search.png-e8eb6d389ef902d03141381229533272.c
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/settingscog.png-1b51c867ad6363c7213609d4b59a5
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/BigLogo.png-5bca373df344b6475370cc45bf707716.
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Eveningsmall.jpg-61c25a9a71bfd3fb3f9b3fde2977
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/Nightsmall.jpg-53aa776f406c86c646063ceda059e4
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
-6
View File
@@ -18,8 +18,6 @@ dest_files=["res://.godot/imported/pole2.jpg-1cce1e6b49f1c3dda6d93de5714565ac.ct
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -27,10 +25,6 @@ mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
+48 -47
View File
@@ -51,7 +51,7 @@ func _process(delta: float) -> void:
"
[node name="Main" type="Control"]
[node name="Main" type="Control" unique_id=710966374]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -60,10 +60,10 @@ grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_k12tt")
[node name="Context" type="Node" parent="."]
[node name="Context" type="Node" parent="." unique_id=1774241699]
script = ExtResource("3_8gbba")
[node name="UiManager" type="Node" parent="." node_paths=PackedStringArray("PlayPauseButton", "ProgressIndicator", "SkipButton", "GoBackButton", "LoopButton", "RandomizeButton")]
[node name="UiManager" type="Node" parent="." unique_id=1324792533 node_paths=PackedStringArray("PlayPauseButton", "ProgressIndicator", "SkipButton", "GoBackButton", "LoopButton", "RandomizeButton")]
script = ExtResource("12_6iyac")
PlayPauseButton = NodePath("../Padding/VBoxContainer/Bottom/HBoxContainer/PlayButton")
PauseImage = ExtResource("14_jkdf5")
@@ -74,7 +74,7 @@ GoBackButton = NodePath("../Padding/VBoxContainer/Bottom/HBoxContainer/BackButto
LoopButton = NodePath("../Padding/VBoxContainer/Bottom/HBoxContainer/Loop")
RandomizeButton = NodePath("../Padding/VBoxContainer/Bottom/HBoxContainer/Shuffle")
[node name="Sourcetab" type="Node" parent="UiManager" node_paths=PackedStringArray("AddSourceButton", "Adder", "Namer", "DirOpenButton", "DirLabel", "AddButton", "Dialog", "SourceContainer")]
[node name="Sourcetab" type="Node" parent="UiManager" unique_id=236791205 node_paths=PackedStringArray("AddSourceButton", "Adder", "Namer", "DirOpenButton", "DirLabel", "AddButton", "Dialog", "SourceContainer")]
script = ExtResource("5_wsu2k")
AddSourceButton = NodePath("../../Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/HBoxContainer/Button")
Adder = NodePath("../../Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource")
@@ -86,7 +86,7 @@ Dialog = NodePath("../../Padding/VBoxContainer/Center/HSplitContainer/Sources/Pa
SourceContainer = NodePath("../../Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/ScrollContainer/SourceContainer")
SourceScene = ExtResource("7_h1bgf")
[node name="Background" type="TextureRect" parent="."]
[node name="Background" type="TextureRect" parent="." unique_id=1005189690]
z_index = -2
layout_mode = 1
anchors_preset = 15
@@ -98,7 +98,7 @@ texture = ExtResource("1_6bp64")
expand_mode = 5
stretch_mode = 6
[node name="Padding" type="Control" parent="."]
[node name="Padding" type="Control" parent="." unique_id=1887461610]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -111,19 +111,20 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_fdnlq")
[node name="VBoxContainer" type="VBoxContainer" parent="Padding"]
[node name="VBoxContainer" type="VBoxContainer" parent="Padding" unique_id=1200585373]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
alignment = 2
[node name="Top" type="Control" parent="Padding/VBoxContainer"]
[node name="Top" type="Control" parent="Padding/VBoxContainer" unique_id=111990697]
custom_minimum_size = Vector2(0, 42)
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Padding/VBoxContainer/Top"]
[node name="HBoxContainer" type="HBoxContainer" parent="Padding/VBoxContainer/Top" unique_id=683685039]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -131,13 +132,13 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Control" type="HBoxContainer" parent="Padding/VBoxContainer/Top/HBoxContainer"]
[node name="Control" type="HBoxContainer" parent="Padding/VBoxContainer/Top/HBoxContainer" unique_id=1939866435]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
alignment = 1
[node name="SearchBar" type="LineEdit" parent="Padding/VBoxContainer/Top/HBoxContainer/Control"]
[node name="SearchBar" type="LineEdit" parent="Padding/VBoxContainer/Top/HBoxContainer/Control" unique_id=1940839068]
visible = false
layout_mode = 2
size_flags_horizontal = 4
@@ -145,12 +146,12 @@ placeholder_text = "Search..."
max_length = 50
expand_to_text_length = true
[node name="ShowSongs" type="Button" parent="Padding/VBoxContainer/Top/HBoxContainer/Control"]
[node name="ShowSongs" type="Button" parent="Padding/VBoxContainer/Top/HBoxContainer/Control" unique_id=1036897699]
layout_mode = 2
size_flags_horizontal = 4
text = "SHOW_SONGS"
[node name="SearchToggle" type="Button" parent="Padding/VBoxContainer/Top/HBoxContainer/Control" node_paths=PackedStringArray("searchbar", "showbutton")]
[node name="SearchToggle" type="Button" parent="Padding/VBoxContainer/Top/HBoxContainer/Control" unique_id=185868424 node_paths=PackedStringArray("searchbar", "showbutton")]
custom_minimum_size = Vector2(42, 0)
layout_mode = 2
toggle_mode = true
@@ -161,17 +162,17 @@ script = SubResource("GDScript_ynf5e")
searchbar = NodePath("../SearchBar")
showbutton = NodePath("../ShowSongs")
[node name="Settings" type="Button" parent="Padding/VBoxContainer/Top/HBoxContainer"]
[node name="Settings" type="Button" parent="Padding/VBoxContainer/Top/HBoxContainer" unique_id=834339092]
custom_minimum_size = Vector2(42, 0)
layout_mode = 2
icon = ExtResource("2_344ge")
expand_icon = true
[node name="Center" type="Control" parent="Padding/VBoxContainer"]
[node name="Center" type="Control" parent="Padding/VBoxContainer" unique_id=1121630758]
layout_mode = 2
size_flags_vertical = 3
[node name="HSplitContainer" type="HSplitContainer" parent="Padding/VBoxContainer/Center"]
[node name="HSplitContainer" type="HSplitContainer" parent="Padding/VBoxContainer/Center" unique_id=1017273384]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -179,11 +180,11 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Sources" type="Control" parent="Padding/VBoxContainer/Center/HSplitContainer"]
[node name="Sources" type="Control" parent="Padding/VBoxContainer/Center/HSplitContainer" unique_id=1275051820]
custom_minimum_size = Vector2(250, 0)
layout_mode = 2
[node name="Panel" type="Panel" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources"]
[node name="Panel" type="Panel" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources" unique_id=306471911]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -191,7 +192,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel"]
[node name="VBoxContainer" type="VBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel" unique_id=424804791]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -199,31 +200,31 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer" unique_id=837327006]
layout_mode = 2
[node name="RichTextLabel" type="RichTextLabel" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/HBoxContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/HBoxContainer" unique_id=1555214569]
layout_mode = 2
size_flags_horizontal = 3
text = "SOURCE_TAB"
fit_content = true
scroll_active = false
[node name="Button" type="Button" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/HBoxContainer"]
[node name="Button" type="Button" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/HBoxContainer" unique_id=1298656246]
layout_mode = 2
text = "ADD"
[node name="AddSource" type="PanelContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer"]
[node name="AddSource" type="PanelContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer" unique_id=236739777]
layout_mode = 2
[node name="AddNew" type="VBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource"]
[node name="AddNew" type="VBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource" unique_id=469839701]
layout_mode = 2
theme_override_constants/separation = 6
[node name="HBoxContainer" type="HBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew"]
[node name="HBoxContainer" type="HBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew" unique_id=145355055]
layout_mode = 2
[node name="RichTextLabel" type="RichTextLabel" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew/HBoxContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew/HBoxContainer" unique_id=1060860618]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
@@ -231,7 +232,7 @@ text = "ADD_SOURCE"
fit_content = true
scroll_active = false
[node name="HideBuen" type="Button" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew/HBoxContainer" node_paths=PackedStringArray("source")]
[node name="HideBuen" type="Button" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew/HBoxContainer" unique_id=918348875 node_paths=PackedStringArray("source")]
custom_minimum_size = Vector2(22, 0)
layout_mode = 2
icon = ExtResource("12_b3802")
@@ -239,24 +240,24 @@ expand_icon = true
script = SubResource("GDScript_fevyy")
source = NodePath("../../..")
[node name="LineEdit" type="LineEdit" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew"]
[node name="LineEdit" type="LineEdit" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew" unique_id=744317373]
layout_mode = 2
placeholder_text = "NAME"
[node name="Button" type="Button" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew"]
[node name="Button" type="Button" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew" unique_id=1073120484]
layout_mode = 2
text = "SELECT_DIR"
[node name="RichTextLabel2" type="RichTextLabel" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew"]
[node name="RichTextLabel2" type="RichTextLabel" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew" unique_id=1169775431]
layout_mode = 2
fit_content = true
scroll_active = false
[node name="Button2" type="Button" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew"]
[node name="Button2" type="Button" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew" unique_id=1152374549]
layout_mode = 2
text = "ADD"
[node name="FileDialog" type="FileDialog" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew"]
[node name="FileDialog" type="FileDialog" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/AddSource/AddNew" unique_id=1647907678]
title = "Open a Directory"
size = Vector2i(827, 360)
ok_button_text = "Select Current Folder"
@@ -264,27 +265,27 @@ file_mode = 2
access = 2
use_native_dialog = true
[node name="HSeparator" type="HSeparator" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer"]
[node name="HSeparator" type="HSeparator" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer" unique_id=31060683]
layout_mode = 2
[node name="ScrollContainer" type="ScrollContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer"]
[node name="ScrollContainer" type="ScrollContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer" unique_id=1212463777]
layout_mode = 2
size_flags_vertical = 3
[node name="SourceContainer" type="VBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/ScrollContainer"]
[node name="SourceContainer" type="VBoxContainer" parent="Padding/VBoxContainer/Center/HSplitContainer/Sources/Panel/VBoxContainer/ScrollContainer" unique_id=436986523]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="SearchResults" parent="Padding/VBoxContainer/Center/HSplitContainer" instance=ExtResource("5_fdnlq")]
[node name="SearchResults" parent="Padding/VBoxContainer/Center/HSplitContainer" unique_id=491001094 instance=ExtResource("5_fdnlq")]
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
[node name="Bottom" type="Control" parent="Padding/VBoxContainer"]
[node name="Bottom" type="Control" parent="Padding/VBoxContainer" unique_id=176014070]
custom_minimum_size = Vector2(0, 42)
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Padding/VBoxContainer/Bottom"]
[node name="HBoxContainer" type="HBoxContainer" parent="Padding/VBoxContainer/Bottom" unique_id=1615147072]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -292,52 +293,52 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="BackButton" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer"]
[node name="BackButton" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer" unique_id=498838677]
custom_minimum_size = Vector2(42, 0)
layout_mode = 2
icon = ExtResource("1_8gbba")
expand_icon = true
[node name="PlayButton" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer"]
[node name="PlayButton" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer" unique_id=863470090]
custom_minimum_size = Vector2(42, 0)
layout_mode = 2
toggle_mode = true
icon = ExtResource("2_jjvhh")
expand_icon = true
[node name="SkipButton" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer"]
[node name="SkipButton" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer" unique_id=262773788]
custom_minimum_size = Vector2(42, 0)
layout_mode = 2
icon = ExtResource("2_bo1nx")
expand_icon = true
[node name="Progress" type="HSlider" parent="Padding/VBoxContainer/Bottom/HBoxContainer"]
[node name="Progress" type="HSlider" parent="Padding/VBoxContainer/Bottom/HBoxContainer" unique_id=1969204251]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
max_value = 1.0
step = 0.001
[node name="Loop" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer"]
[node name="Loop" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer" unique_id=1668328934]
custom_minimum_size = Vector2(42, 0)
layout_mode = 2
toggle_mode = true
icon = ExtResource("4_21xkr")
expand_icon = true
[node name="Shuffle" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer"]
[node name="Shuffle" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer" unique_id=266740639]
custom_minimum_size = Vector2(42, 0)
layout_mode = 2
icon = ExtResource("13_jkdf5")
expand_icon = true
[node name="Volume" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer"]
[node name="Volume" type="Button" parent="Padding/VBoxContainer/Bottom/HBoxContainer" unique_id=1355370683]
custom_minimum_size = Vector2(42, 0)
layout_mode = 2
icon = ExtResource("4_kry3j")
expand_icon = true
[node name="VolumeSlider" type="VSlider" parent="Padding/VBoxContainer/Bottom/HBoxContainer/Volume"]
[node name="VolumeSlider" type="VSlider" parent="Padding/VBoxContainer/Bottom/HBoxContainer/Volume" unique_id=981601120]
custom_minimum_size = Vector2(0, 100)
layout_mode = 1
anchors_preset = -1
@@ -356,7 +357,7 @@ step = 0.01
value = 1.0
script = SubResource("GDScript_d1ilt")
[node name="Label" type="Label" parent="."]
[node name="Label" type="Label" parent="." unique_id=1116909625]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
+2 -2
View File
@@ -19,6 +19,6 @@ public partial class Source(String SourcePath, String SourceName) : Resource
}
public partial class SimplaudioSave : Resource{
[Export] public Source[] Sources;
[Export] public Source[] Sources;
}
}
+5 -2
View File
@@ -10,7 +10,10 @@ public partial class SourceDisplay : Control
public override void _Ready()
{
base._Ready();
NameLabel.Text = source.Name;
PathLabel.Text = source.Path;
if (source != null){
NameLabel.Text = source.Name;
PathLabel.Text = source.Path;
}
}
}
+4 -1
View File
@@ -13,6 +13,8 @@ public partial class SourcetabUI : Node
[Export] public Control SourceContainer;
[Export] public PackedScene SourceScene;
String Directory = "";
public event Action SongsUpdated;
public override void _Ready()
{
base._Ready();
@@ -30,7 +32,6 @@ public partial class SourcetabUI : Node
Dialog.Visible = false;
Directory = "";
AddButton.Disabled = true;
}
void ShowDialog(){
Dialog.Show();
@@ -64,6 +65,8 @@ public partial class SourcetabUI : Node
Source sauce = new Source(Directory, Namer.Text);
NewSource.source = sauce;
SourceContainer.AddChild(NewSource);
SongsUpdated?.Invoke();
Context.instance.LoadDirectory(Directory);
Adder.Hide();
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
<Project Sdk="Godot.NET.Sdk/4.4.0">
<Project Sdk="Godot.NET.Sdk/4.6.0-dev.2">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
-21
View File
@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2023 B0TLANNER Games
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-139
View File
@@ -1,139 +0,0 @@
# Godot GIF
<br>
<p align="center">
<img src="./docs-images/logo.gif" alt="Logo" width="128" height="128" />
</p>
<p align="center">
<a href="https://github.com/BOTLANNER/godot-gif/actions/workflows/build_releases.yml"><img alt="GitHub Build" src="https://github.com/BOTLANNER/godot-gif/actions/workflows/build_releases.yml/badge.svg" height="20"/></a>
<a href="https://github.com/BOTLANNER/godot-gif/blob/develop/LICENSE.txt"><img alt="MIT License" src="https://img.shields.io/github/license/BOTLANNER/godot-gif" height="20"/></a>
</p>
## Description
GDExtension for Godot 4+ to load GIF files as [AnimatedTexture](https://docs.godotengine.org/en/stable/classes/class_animatedtexture.html) and/or [SpriteFrames](https://docs.godotengine.org/en/stable/classes/class_spriteframes.html).
NOTE: ~~**AnimatedTexture**~~ has been marked as deprecated according to development docs and could be removed in a future version of Godot.
## Usage
### Editor
Gif files can be imported at edit time as one of the supported types via Import options.
<details open>
<summary>Editor Imports Options</summary>
![Editor Imports Options](./docs-images/EditorImportSettings.gif)
</details>
See the [Editor Imports](./demo/editor_imports_example.tscn) example scene.
<details open>
<summary>Editor Imports Example</summary>
![Editor Imports](./docs-images/EditorImports.gif)
</details>
<hr/>
### Runtime
Gif files can be loaded at runtime as one of the supported types via the `GifManager` singleton.
`GifManager` exposes the following methods for loading gifs either from file or from bytes directly:
![GifManager Methods](./docs-images/methods.png)
e.g. to load from file
```py
get_node("AnimFromRuntimeFile").texture = GifManager.animated_texture_from_file("res://examples/file/optic.gif")
get_node("AnimatedSprite2RuntimeFile").sprite_frames = GifManager.sprite_frames_from_file("res://examples/file/optic.gif")
```
See the [Runtime Imports](./demo/main.tscn) example scene.
<details open>
<summary>Runtime Imports Example</summary>
![Runtime Imports](./docs-images/RuntimeImports.gif)
</details>
## Installation
Download the `gdextension` artifact from the [latest successful build](https://github.com/BOTLANNER/godot-gif/actions/workflows/build_releases.yml). (It should be right at the bottom of the **Summary**)
![image](https://github.com/BOTLANNER/godot-gif/assets/16349308/f28867c6-f669-45f2-9309-dbb17cec2031)
Extract the contents to your Godot project directory.
You should have an `addons` directory at the root with the following structure:
```bash
└───addons
└───godotgif
│ godotgif.gdextension
│ LICENSE.txt
│ README.md
└───bin
│ godotgif.windows.template_debug.x86_32.dll
│ godotgif.windows.template_debug.x86_64.dll
│ godotgif.windows.template_release.x86_32.dll
│ godotgif.windows.template_release.x86_64.dll
│ libgodotgif.android.template_debug.arm64.so
│ libgodotgif.android.template_release.arm64.so
│ libgodotgif.linux.template_debug.x86_32.so
│ libgodotgif.linux.template_debug.x86_64.so
│ libgodotgif.linux.template_release.x86_32.so
│ libgodotgif.linux.template_release.x86_64.so
├───godotgif.macos.template_debug.framework
│ libgodotgif.macos.template_debug
└───godotgif.macos.template_release.framework
libgodotgif.macos.template_release
```
Open your project. Any exisitng gifs should auto-import. New gifs in the project directory will automatically import as `SpriteFrames`. To convert them into `AnimatedTexture`, update the [import settings](#editor).
The `GifManager` class should also now be available for access within GDScript.
## Contributing
### Setup
Ensure **SCons** is setup. Refer to [Introduction to the buildsystem](https://docs.godotengine.org/en/stable/contributing/development/compiling/introduction_to_the_buildsystem.html)
* If using a different version of Godot, be sure to dump the bindings e.g.
```sh
godot --dump-extension-api extension_api.json
```
* Compile with
```sh
scons platform=<platform> custom_api_file=extension_api.json
```
### Debugging
This repository is configured for use with [VSCode](https://code.visualstudio.com/)
[Launch configurations](./.vscode/launch.json) have been setup for both debugging in editor and in runtime provided certain **VSCode** extensions are present and environment variables are defined.
The following environment variables are required:
1. `GODOT_PATH` - The directory in which Godot is installed
1. `GODOT_EXECUTABLE` - The executable name of the Godot installation
### More Details
Refer to [GDExtension C++ example](https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html)
## License
Unless otherwise specified, the extension is released under the
[MIT license](LICENSE.txt).
See the full list of third-party libraries with their licenses used by this
extension at [src/thirdparty/README.md](src/thirdparty/README.md).
This implementation heavily borrowed inspiration from the [gif module](https://github.com/goostengine/goost/tree/gd3/modules/gif) for [Goost](https://github.com/goostengine/goost) that is currently only based on Godot 3
-23
View File
@@ -1,23 +0,0 @@
[configuration]
entry_symbol = "godot_gif_library_init"
compatibility_minimum = "4.1"
[libraries]
macos.debug = "bin/godotgif.macos.template_debug.framework/libgodotgif.macos.template_debug"
macos.release = "bin/godotgif.macos.template_release.framework/libgodotgif.macos.template_release"
windows.debug.x86_32 = "bin/godotgif.windows.template_debug.x86_32.dll"
windows.release.x86_32 = "bin/godotgif.windows.template_release.x86_32.dll"
windows.debug.x86_64 = "bin/godotgif.windows.template_debug.x86_64.dll"
windows.release.x86_64 = "bin/godotgif.windows.template_release.x86_64.dll"
linux.debug.x86_64 = "bin/libgodotgif.linux.template_debug.x86_64.so"
linux.release.x86_64 = "bin/libgodotgif.linux.template_release.x86_64.so"
linux.debug.arm64 = "bin/libgodotgif.linux.template_debug.arm64.so"
linux.release.arm64 = "bin/libgodotgif.linux.template_release.arm64.so"
linux.debug.rv64 = "bin/libgodotgif.linux.template_debug.rv64.so"
linux.release.rv64 = "bin/libgodotgif.linux.template_release.rv64.so"
android.debug.x86_64 = "bin/libgodotgif.android.template_debug.x86_64.so"
android.release.x86_64 = "bin/libgodotgif.android.template_release.x86_64.so"
android.debug.arm64 = "bin/libgodotgif.android.template_debug.arm64.so"
android.release.arm64 = "bin/libgodotgif.android.template_release.arm64.so"
-1
View File
@@ -1 +0,0 @@
uid://b5mou30wr43g
+1 -1
View File
@@ -12,7 +12,7 @@ config_version=5
config/name="Simplaudio"
run/main_scene="uid://mfcbf2sfino6"
config/features=PackedStringArray("4.4", "C#", "Forward Plus")
config/features=PackedStringArray("4.6", "C#", "Forward Plus")
run/low_processor_mode=true
boot_splash/bg_color=Color(0, 0, 0, 1)
boot_splash/use_filter=false