Simplaudio.

This commit is contained in:
notdraimdev
2024-09-09 09:17:29 +02:00
commit 68e8a4223f
139 changed files with 9945 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf
+3
View File
@@ -0,0 +1,3 @@
# Godot 4+ specific ignores
.godot/
/android/
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 692 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b00wlqid2jdvi"
path="res://.godot/imported/BigLogo.png-5051142ace79d986d878d7479103140f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://BigLogo.png"
dest_files=["res://.godot/imported/BigLogo.png-5051142ace79d986d878d7479103140f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drj8iwoxqu7kk"
path="res://.godot/imported/Cat_August_2010-4.jpg-ee22e0b2d7c21625ade8bb157ecd9ac0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Cat_August_2010-4.jpg"
dest_files=["res://.godot/imported/Cat_August_2010-4.jpg-ee22e0b2d7c21625ade8bb157ecd9ac0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+17
View File
@@ -0,0 +1,17 @@
shader_type canvas_item;
uniform sampler2D dissolve;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
vec4 tex = texture(dissolve,UV);
COLOR.a = tex.a;
}
//void light() {
// Called for every pixel for every light affecting the CanvasItem.
// Uncomment to replace the default light processing function with this one.
//}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dwvy6crqhardn"
path="res://.godot/imported/Dropdown.png-c266aedf7196a233015624b329244429.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Dropdown.png"
dest_files=["res://.godot/imported/Dropdown.png-c266aedf7196a233015624b329244429.ctex"]
[params]
compress/mode=1
compress/high_quality=false
compress/lossy_quality=1.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0
Binary file not shown.

After

Width:  |  Height:  |  Size: 711 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://snne8iiftksi"
path="res://.godot/imported/Evening_view_of_Munnar_1633.jpg-4870b614e5bd4e88e63602e1260d7057.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Evening_view_of_Munnar_1633.jpg"
dest_files=["res://.godot/imported/Evening_view_of_Munnar_1633.jpg-4870b614e5bd4e88e63602e1260d7057.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://pgij783wgbhn"
path="res://.godot/imported/File.png-57bbd962d1d727ee4616fbeb9b4b7d6d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://File.png"
dest_files=["res://.godot/imported/File.png-57bbd962d1d727ee4616fbeb9b4b7d6d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cekkhyppj88xi"
path="res://.godot/imported/Headphones.png-d3ff607bfcad0de8118c5633a583eaf3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Headphones.png"
dest_files=["res://.godot/imported/Headphones.png-d3ff607bfcad0de8118c5633a583eaf3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b5eims5ucn81r"
path="res://.godot/imported/Loding.png-13d0c1c393fa96e7f8c05bd230c70d68.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Loding.png"
dest_files=["res://.godot/imported/Loding.png-13d0c1c393fa96e7f8c05bd230c70d68.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b5ml1dkiuo5ta"
path="res://.godot/imported/Logo.png-3f727bc575b71196031e5024c4a29f71.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Logo.png"
dest_files=["res://.godot/imported/Logo.png-3f727bc575b71196031e5024c4a29f71.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c7h2dlsbj7e0u"
path="res://.godot/imported/Logo2.png-d2b706aaa6822e4fe45113d605e69914.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Logo2.png"
dest_files=["res://.godot/imported/Logo2.png-d2b706aaa6822e4fe45113d605e69914.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 935 B

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://38c8dfym0svn"
path="res://.godot/imported/Loop.png-bfc3463d46fb58690ebdf4ee06fd021a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Loop.png"
dest_files=["res://.godot/imported/Loop.png-bfc3463d46fb58690ebdf4ee06fd021a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b8on1case224h"
path="res://.godot/imported/LoopPressed.png-2571b6b294b9535da3cebb236adaaf3d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://LoopPressed.png"
dest_files=["res://.godot/imported/LoopPressed.png-2571b6b294b9535da3cebb236adaaf3d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+312
View File
@@ -0,0 +1,312 @@
[gd_scene load_steps=26 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"]
[ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"]
[ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"]
[ext_resource type="Texture2D" uid="uid://snne8iiftksi" path="res://Evening_view_of_Munnar_1633.jpg" id="6_5vm0w"]
[ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"]
[ext_resource type="Texture2D" uid="uid://ctb4s2nks73rx" path="res://Play.png" id="8_5v7u3"]
[ext_resource type="Shader" path="res://CoverShader.gdshader" id="8_4531v"]
[ext_resource type="Texture2D" uid="uid://b00wlqid2jdvi" path="res://BigLogo.png" id="10_xnj6a"]
[ext_resource type="Script" path="res://cover.gd" id="12_3v50a"]
[ext_resource type="Texture2D" uid="uid://bdpat2sfflaxq" path="res://Youtube_logo.png" id="12_bc5ym"]
[ext_resource type="Script" path="res://search_bar.gd" id="12_mr42x"]
[ext_resource type="Texture2D" uid="uid://b5eims5ucn81r" path="res://Loding.png" id="13_de5ej"]
[ext_resource type="Script" path="res://volume_button.gd" id="14_7q3ja"]
[ext_resource type="Script" path="res://Spinning.gd" id="14_rhw4k"]
[ext_resource type="Script" path="res://yt_tab_button.gd" id="16_2t15p"]
[sub_resource type="Gradient" id="Gradient_hqvtw"]
offsets = PackedFloat32Array(0.459016, 0.565574, 0.704918, 0.827869, 0.92623, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.132947, 0.132947, 0.132947, 0.867053, 0.286885, 0.286885, 0.286885, 0.713115, 0.536475, 0.536475, 0.536475, 0.463525, 0.790666, 0.790666, 0.790666, 0.209334, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_50sv0"]
gradient = SubResource("Gradient_hqvtw")
fill = 1
fill_from = Vector2(0, 1)
fill_to = Vector2(1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3bw0j"]
shader = ExtResource("8_4531v")
shader_parameter/dissolve = SubResource("GradientTexture2D_50sv0")
[sub_resource type="InputEventKey" id="InputEventKey_5af16"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="Shortcut" id="Shortcut_0ov5v"]
events = [SubResource("InputEventKey_5af16")]
[sub_resource type="LabelSettings" id="LabelSettings_6prit"]
font_size = 22
outline_size = 2
outline_color = Color(0, 0, 0, 1)
shadow_color = Color(0, 0, 0, 0.643137)
shadow_offset = Vector2(7.88, 4.31)
[node name="Node2D" type="Node2D"]
script = ExtResource("1_ubs1p")
LoopPressed = ExtResource("2_iolk5")
LoopNotPressed = ExtResource("5_c2g63")
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
script = ExtResource("4_y372l")
Daytime = NodePath("../Daytime")
Evening = NodePath("../Evening")
Nighttime = NodePath("../Nighttime")
[node name="Daytime" type="Sprite2D" parent="."]
position = Vector2(576.949, 401)
scale = Vector2(1.27923, 1.25956)
texture = ExtResource("2_wf35v")
[node name="Evening" type="Sprite2D" parent="."]
position = Vector2(582, 342)
scale = Vector2(1.00181, 1.00181)
texture = ExtResource("6_5vm0w")
[node name="Nighttime" type="Sprite2D" parent="."]
visible = false
modulate = Color(0.347817, 0.347817, 0.347817, 1)
position = Vector2(610, 326)
scale = Vector2(1.49056, 1.51111)
texture = ExtResource("6_8abnc")
[node name="CoverHolder" type="Node2D" parent="."]
position = Vector2(-3, 649)
[node name="Cover" type="Sprite2D" parent="CoverHolder"]
modulate = Color(1, 1, 1, 0.592157)
material = SubResource("ShaderMaterial_3bw0j")
position = Vector2(200, -122.333)
scale = Vector2(0.333333, 0.333333)
region_rect = Rect2(142.036, 106.625, 632.359, 516.605)
region_filter_clip_enabled = true
script = ExtResource("12_3v50a")
[node name="SelectPlaylist" type="Button" parent="."]
offset_left = 20.0
offset_top = 24.0
offset_right = 255.0
offset_bottom = 80.0
focus_mode = 0
text = "select the directory
(playlist's folder)"
[node name="RandomizeList" type="Button" parent="."]
offset_left = 897.0
offset_top = 24.0
offset_right = 1132.0
offset_bottom = 80.0
focus_mode = 0
text = "Randomize the Playlist"
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(28, 115)
size = Vector2i(470, 320)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
[node name="playList" type="Button" parent="."]
offset_left = 20.0
offset_top = 572.0
offset_right = 92.0
offset_bottom = 644.0
scale = Vector2(0.5, 0.5)
focus_mode = 0
shortcut = SubResource("Shortcut_0ov5v")
icon = ExtResource("8_5v7u3")
[node name="CurrentProgress" type="HSlider" parent="."]
offset_left = 64.0
offset_top = 560.0
offset_right = 944.0
offset_bottom = 624.0
max_value = 1000.0
ticks_on_borders = true
[node name="Skip" type="Button" parent="."]
offset_left = 1046.0
offset_top = 573.0
offset_right = 1086.0
offset_bottom = 613.0
focus_mode = 0
icon = ExtResource("3_4vx67")
[node name="Skip2" type="Button" parent="."]
offset_left = 1046.0
offset_top = 573.0
offset_right = 1086.0
offset_bottom = 613.0
focus_mode = 0
icon = ExtResource("3_4vx67")
[node name="Loop" type="Button" parent="."]
offset_left = 1000.0
offset_top = 573.0
offset_right = 1040.0
offset_bottom = 613.0
focus_mode = 0
icon = ExtResource("5_c2g63")
[node name="GoBack" type="Button" parent="."]
offset_left = 994.0
offset_top = 613.0
offset_right = 1034.0
offset_bottom = 653.0
rotation = 3.14159
focus_mode = 0
icon = ExtResource("3_4vx67")
[node name="SongName" type="Label" parent="."]
offset_left = 66.0
offset_top = 524.0
offset_right = 994.0
offset_bottom = 581.0
text = "Please select a directory"
label_settings = SubResource("LabelSettings_6prit")
clip_text = true
text_overrun_behavior = 2
[node name="SearchBar" type="TextEdit" parent="."]
offset_left = 266.0
offset_top = 24.0
offset_right = 888.0
offset_bottom = 81.0
placeholder_text = "Search"
wrap_mode = 1
script = ExtResource("12_mr42x")
[node name="SearchResults" type="PopupMenu" parent="."]
handle_input_locally = false
position = Vector2i(265, 80)
size = Vector2i(625, 300)
max_size = Vector2i(625, 300)
hide_on_state_item_selection = true
allow_search = false
[node name="VolumeButton" type="Button" parent="."]
offset_left = 1092.0
offset_top = 573.0
offset_right = 1132.0
offset_bottom = 613.0
focus_mode = 0
toggle_mode = true
icon = ExtResource("6_3mi6c")
script = ExtResource("14_7q3ja")
[node name="VolumeSlider" type="VSlider" parent="."]
layout_direction = 3
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -1121.0
offset_top = 563.0
offset_right = -1103.0
offset_bottom = 571.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 1
size_flags_vertical = 8
value = 100.0
[node name="Logo" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.686275)
position = Vector2(192, 162)
scale = Vector2(0.159259, 0.159259)
texture = ExtResource("10_xnj6a")
[node name="TimeListeningSong" type="Label" parent="."]
offset_left = 66.0
offset_top = 597.0
offset_right = 178.0
offset_bottom = 633.0
[node name="YtTabButton" type="Button" parent="."]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = 1065.0
offset_top = 107.0
offset_right = 1713.0
offset_bottom = 558.0
grow_horizontal = 0
scale = Vector2(0.105, 0.105)
focus_mode = 0
toggle_mode = true
icon = ExtResource("12_bc5ym")
flat = true
script = ExtResource("16_2t15p")
[node name="YoutubeMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 794.0
offset_top = 107.0
offset_right = 834.0
offset_bottom = 147.0
[node name="Youtube menu" type="Control" parent="YoutubeMenuHolder"]
layout_mode = 3
anchors_preset = 0
offset_right = 200.0
offset_bottom = 363.0
[node name="YTLink" type="LineEdit" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -201.0
offset_bottom = 47.0
grow_horizontal = 0
placeholder_text = "Youtube link(can be playlist)"
[node name="YTDownload" type="Button" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
offset_top = 58.0
offset_right = 87.0
offset_bottom = 98.0
focus_mode = 0
text = "Download"
[node name="LoadingIMG" type="Sprite2D" parent="YoutubeMenuHolder/Youtube menu"]
position = Vector2(113, 78)
rotation = 1.5708
scale = Vector2(-0.5, 0.5)
texture = ExtResource("13_de5ej")
script = ExtResource("14_rhw4k")
[node name="Version" type="Label" parent="."]
offset_left = 1083.0
offset_top = 625.0
offset_right = 1147.0
offset_bottom = 648.0
text = "v0.9.2"
horizontal_alignment = 2
[node name="WavDisclaimer" type="AcceptDialog" parent="."]
transparent_bg = true
title = "WAV disclaimer"
position = Vector2i(495, 305)
size = Vector2i(256, 100)
transparent = true
popup_window = true
force_native = true
dialog_text = "wav files are not supported yet"
[connection signal="text_changed" from="SearchBar" to="SearchBar" method="_on_text_changed"]
[connection signal="index_pressed" from="SearchResults" to="SearchBar" method="_on_search_results_index_pressed"]
[connection signal="toggled" from="VolumeButton" to="VolumeButton" method="_on_toggled"]
[connection signal="toggled" from="YtTabButton" to="YtTabButton" method="_on_toggled"]
+668
View File
@@ -0,0 +1,668 @@
[gd_scene load_steps=53 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"]
[ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"]
[ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"]
[ext_resource type="Texture2D" uid="uid://snne8iiftksi" path="res://Evening_view_of_Munnar_1633.jpg" id="6_5vm0w"]
[ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"]
[ext_resource type="Texture2D" uid="uid://ctb4s2nks73rx" path="res://Play.png" id="8_5v7u3"]
[ext_resource type="Shader" path="res://CoverShader.gdshader" id="8_4531v"]
[ext_resource type="Shader" path="res://Main.gdshader" id="10_20857"]
[ext_resource type="Texture2D" uid="uid://b00wlqid2jdvi" path="res://BigLogo.png" id="10_xnj6a"]
[ext_resource type="Texture2D" uid="uid://0r1tx6l1lc6x" path="res://settingscog.png" id="11_esjel"]
[ext_resource type="Script" path="res://cover.gd" id="12_3v50a"]
[ext_resource type="Script" path="res://settings_button.gd" id="12_073mb"]
[ext_resource type="Texture2D" uid="uid://bdpat2sfflaxq" path="res://Youtube_logo.png" id="12_bc5ym"]
[ext_resource type="Texture2D" uid="uid://myq6n4bshduj" path="res://search.png" id="12_cv2gm"]
[ext_resource type="Script" path="res://search_bar.gd" id="12_mr42x"]
[ext_resource type="Script" path="res://search_toggle.gd" id="13_5illk"]
[ext_resource type="PackedScene" uid="uid://dqg674t6kun4e" path="res://Settings.tscn" id="13_7atry"]
[ext_resource type="Texture2D" uid="uid://b5eims5ucn81r" path="res://Loding.png" id="13_de5ej"]
[ext_resource type="Script" path="res://volume_button.gd" id="14_7q3ja"]
[ext_resource type="Texture2D" uid="uid://1rstn6r2wisy" path="res://X.png" id="14_mioc4"]
[ext_resource type="Script" path="res://Spinning.gd" id="14_rhw4k"]
[ext_resource type="Script" path="res://yt_tab_button.gd" id="16_2t15p"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ku7tv"]
shader = ExtResource("10_20857")
shader_parameter/intensity = 1.0
[sub_resource type="Gradient" id="Gradient_7vgyc"]
offsets = PackedFloat32Array(0.00292398, 0.845029)
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bhdch"]
gradient = SubResource("Gradient_7vgyc")
fill_to = Vector2(0, 1)
[sub_resource type="Gradient" id="Gradient_hqvtw"]
offsets = PackedFloat32Array(0.459016, 0.565574, 0.704918, 0.827869, 0.92623, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.132947, 0.132947, 0.132947, 0.867053, 0.286885, 0.286885, 0.286885, 0.713115, 0.536475, 0.536475, 0.536475, 0.463525, 0.790666, 0.790666, 0.790666, 0.209334, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_50sv0"]
gradient = SubResource("Gradient_hqvtw")
fill = 1
fill_from = Vector2(0, 1)
fill_to = Vector2(1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3bw0j"]
shader = ExtResource("8_4531v")
shader_parameter/dissolve = SubResource("GradientTexture2D_50sv0")
[sub_resource type="InputEventKey" id="InputEventKey_x0ps1"]
device = -1
ctrl_pressed = true
keycode = 68
[sub_resource type="Shortcut" id="Shortcut_vp2fh"]
events = [SubResource("InputEventKey_x0ps1")]
[sub_resource type="LabelSettings" id="LabelSettings_0fjy0"]
font_size = 21
[sub_resource type="InputEventKey" id="InputEventKey_0jlka"]
device = -1
ctrl_pressed = true
keycode = 82
[sub_resource type="Shortcut" id="Shortcut_axi6u"]
events = [SubResource("InputEventKey_0jlka")]
[sub_resource type="InputEventKey" id="InputEventKey_117g0"]
device = -1
ctrl_pressed = true
keycode = 83
[sub_resource type="Shortcut" id="Shortcut_8p5o4"]
events = [SubResource("InputEventKey_117g0")]
[sub_resource type="InputEventKey" id="InputEventKey_5af16"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="Shortcut" id="Shortcut_0ov5v"]
events = [SubResource("InputEventKey_5af16")]
[sub_resource type="InputEventKey" id="InputEventKey_l1ahe"]
device = -1
keycode = 4194321
[sub_resource type="Shortcut" id="Shortcut_qw6pv"]
events = [SubResource("InputEventKey_l1ahe")]
[sub_resource type="InputEventKey" id="InputEventKey_c5qef"]
device = -1
keycode = 76
unicode = 108
[sub_resource type="Shortcut" id="Shortcut_vot6l"]
events = [SubResource("InputEventKey_c5qef")]
[sub_resource type="InputEventKey" id="InputEventKey_y4cc2"]
device = -1
keycode = 4194319
[sub_resource type="Shortcut" id="Shortcut_xu6hm"]
events = [SubResource("InputEventKey_y4cc2")]
[sub_resource type="LabelSettings" id="LabelSettings_6prit"]
font_size = 22
outline_size = 3
outline_color = Color(0.215902, 0.215902, 0.215902, 1)
[sub_resource type="LabelSettings" id="LabelSettings_jg5vn"]
font_size = 20
outline_size = 3
outline_color = Color(0.393086, 0.393086, 0.393085, 1)
[sub_resource type="InputEventKey" id="InputEventKey_puhgg"]
device = -1
ctrl_pressed = true
keycode = 81
[sub_resource type="Shortcut" id="Shortcut_g3fcr"]
events = [SubResource("InputEventKey_puhgg")]
[sub_resource type="LabelSettings" id="LabelSettings_fiiw4"]
font_size = 12
[node name="Node2D" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ubs1p")
LoopPressed = ExtResource("2_iolk5")
LoopNotPressed = ExtResource("5_c2g63")
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
script = ExtResource("4_y372l")
Daytime = NodePath("../Daytime")
Evening = NodePath("../Evening")
Nighttime = NodePath("../Nighttime")
[node name="Daytime" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_wf35v")
stretch_mode = 6
[node name="Evening" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("6_5vm0w")
stretch_mode = 6
[node name="Nighttime" type="TextureRect" parent="."]
visible = false
modulate = Color(0.347817, 0.347817, 0.347817, 1)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("6_8abnc")
stretch_mode = 6
[node name="UserBG" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
expand_mode = 5
stretch_mode = 6
[node name="Logo" type="Sprite2D" parent="."]
visible = false
modulate = Color(1, 1, 1, 0.686275)
position = Vector2(192, 162)
scale = Vector2(0.159259, 0.159259)
texture = ExtResource("10_xnj6a")
[node name="PausedIndicator" type="TextureRect" parent="."]
material = SubResource("ShaderMaterial_ku7tv")
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -164.0
grow_horizontal = 2
grow_vertical = 0
texture = SubResource("GradientTexture2D_bhdch")
[node name="CoverHolder" type="Control" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -3.0
offset_top = 1.0
offset_right = -3.0
offset_bottom = 1.0
grow_vertical = 0
[node name="Cover" type="Sprite2D" parent="CoverHolder"]
modulate = Color(1, 1, 1, 0.592157)
material = SubResource("ShaderMaterial_3bw0j")
scale = Vector2(0.333333, 0.333333)
region_rect = Rect2(142.036, 106.625, 632.359, 516.605)
region_filter_clip_enabled = true
script = ExtResource("12_3v50a")
[node name="SelectDirectory" type="Button" parent="."]
layout_mode = 0
offset_left = 140.0
offset_top = 24.0
offset_right = 255.0
offset_bottom = 80.0
focus_mode = 0
shortcut = SubResource("Shortcut_vp2fh")
text = "select the
directory"
[node name="SelectPlaylist" type="Button" parent="."]
layout_mode = 0
offset_left = 20.0
offset_top = 24.0
offset_right = 131.0
offset_bottom = 80.0
focus_mode = 0
shortcut = SubResource("Shortcut_vp2fh")
text = "Playlists"
[node name="PlaylistsContainer" type="ScrollContainer" parent="."]
layout_mode = 0
offset_left = 3.0
offset_top = 83.0
offset_right = 352.0
offset_bottom = 661.0
follow_focus = true
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="PlaylistsContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 4
alignment = 1
[node name="Label" type="Label" parent="PlaylistsContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
text = "PLAYLISTS"
label_settings = SubResource("LabelSettings_0fjy0")
[node name="PlaylistsHolder" type="VBoxContainer" parent="PlaylistsContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
alignment = 1
[node name="RandomizeList" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -254.0
offset_top = 24.0
offset_right = -86.0
offset_bottom = 80.0
grow_horizontal = 0
focus_mode = 0
shortcut = SubResource("Shortcut_axi6u")
text = "Randomize"
[node name="SettingsButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -77.0
offset_top = 23.0
offset_right = -5.0
offset_bottom = 95.0
grow_horizontal = 0
scale = Vector2(0.79, 0.79)
focus_mode = 0
shortcut = SubResource("Shortcut_8p5o4")
icon = ExtResource("11_esjel")
script = ExtResource("12_073mb")
[node name="SettingsPopup" type="Popup" parent="."]
position = Vector2i(319, 85)
size = Vector2i(591, 501)
[node name="SettingsMenuChild" parent="SettingsPopup" instance=ExtResource("13_7atry")]
offset_left = -272.0
offset_top = 8.0
offset_bottom = 458.0
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(28, 115)
size = Vector2i(576, 507)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
bus = &"Music"
[node name="playList" type="Button" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 20.0
offset_top = -77.0
offset_right = 92.0
offset_bottom = -5.0
grow_vertical = 0
scale = Vector2(0.5, 0.5)
focus_mode = 0
shortcut = SubResource("Shortcut_0ov5v")
icon = ExtResource("8_5v7u3")
[node name="AddRemoveFromPlaylist" type="Button" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 62.0
offset_top = -77.0
offset_right = 134.0
offset_bottom = -5.0
grow_vertical = 0
scale = Vector2(0.5, 0.5)
icon = ExtResource("14_mioc4")
[node name="CurrentProgress" type="HSlider" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 106.0
offset_top = -88.0
offset_right = -211.0
offset_bottom = -24.0
grow_horizontal = 2
grow_vertical = 0
max_value = 1000.0
ticks_on_borders = true
[node name="Skip" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -105.0
offset_top = -75.0
offset_right = -65.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
shortcut = SubResource("Shortcut_qw6pv")
icon = ExtResource("3_4vx67")
[node name="Loop" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -152.0
offset_top = -75.0
offset_right = -112.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
shortcut = SubResource("Shortcut_vot6l")
icon = ExtResource("5_c2g63")
[node name="GoBack" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -157.0
offset_top = -35.0
offset_right = -117.0
offset_bottom = 5.0
grow_horizontal = 0
grow_vertical = 0
rotation = 3.14159
focus_mode = 0
shortcut = SubResource("Shortcut_xu6hm")
icon = ExtResource("3_4vx67")
[node name="SongName" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 109.0
offset_top = -124.0
offset_right = -158.0
offset_bottom = -93.0
grow_horizontal = 2
grow_vertical = 0
text = "Please select a directory"
label_settings = SubResource("LabelSettings_6prit")
clip_text = true
text_overrun_behavior = 2
[node name="ArtistName" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 109.0
offset_top = -103.0
offset_right = -158.0
offset_bottom = -72.0
grow_horizontal = 2
grow_vertical = 0
text = "if this text is visible the programmer is lazy"
label_settings = SubResource("LabelSettings_jg5vn")
clip_text = true
text_overrun_behavior = 2
[node name="SearchToggle" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -318.0
offset_top = 24.0
offset_right = -246.0
offset_bottom = 96.0
grow_horizontal = 0
scale = Vector2(0.79, 0.79)
focus_mode = 0
toggle_mode = true
shortcut = SubResource("Shortcut_g3fcr")
icon = ExtResource("12_cv2gm")
script = ExtResource("13_5illk")
PressedIcon = ExtResource("14_mioc4")
NotPressedIcon = ExtResource("12_cv2gm")
[node name="SearchBar" type="LineEdit" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
offset_left = 264.0
offset_top = 24.0
offset_right = -328.0
offset_bottom = 80.0
grow_horizontal = 2
focus_mode = 1
placeholder_text = "Search"
alignment = 1
caret_blink = true
script = ExtResource("12_mr42x")
[node name="SongsMenu" type="MenuButton" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
offset_left = 264.0
offset_top = 24.0
offset_right = -328.0
offset_bottom = 80.0
grow_horizontal = 2
text = "Select Songs"
flat = false
[node name="SearchResults" type="PopupMenu" parent="."]
handle_input_locally = false
position = Vector2i(265, 80)
size = Vector2i(623, 300)
wrap_controls = false
max_size = Vector2i(625, 300)
allow_search = false
[node name="VolumeButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -58.0
offset_top = -75.0
offset_right = -18.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
toggle_mode = true
icon = ExtResource("6_3mi6c")
script = ExtResource("14_7q3ja")
[node name="VolumeSlider" type="VSlider" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -46.0
offset_top = -83.0
offset_right = -30.0
offset_bottom = -75.0
grow_horizontal = 0
grow_vertical = 0
size_flags_horizontal = 1
size_flags_vertical = 8
value = 100.0
[node name="TimeListeningSong" type="Label" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 109.0
offset_top = -47.0
offset_right = 221.0
offset_bottom = -11.0
grow_vertical = 0
[node name="DiscordMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 1042.0
offset_top = 174.0
offset_right = 1082.0
offset_bottom = 214.0
[node name="YtTabButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -97.0
offset_top = 109.0
offset_right = 551.0
offset_bottom = 560.0
grow_horizontal = 0
grow_vertical = 2
scale = Vector2(0.105, 0.105)
focus_mode = 0
toggle_mode = true
icon = ExtResource("12_bc5ym")
flat = true
script = ExtResource("16_2t15p")
[node name="YoutubeMenuHolder" type="Control" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -358.0
offset_top = 107.0
offset_right = -318.0
offset_bottom = 147.0
grow_horizontal = 0
[node name="Youtube menu" type="Control" parent="YoutubeMenuHolder"]
layout_mode = 3
anchors_preset = 0
offset_right = 200.0
offset_bottom = 363.0
[node name="YTLink" type="LineEdit" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -229.0
offset_bottom = 47.0
grow_horizontal = 0
placeholder_text = "Youtube link(can be playlist)"
[node name="YTDownload" type="Button" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
offset_left = -29.0
offset_top = 70.465
offset_right = 58.0
offset_bottom = 110.465
focus_mode = 0
text = "Download"
[node name="LoadingIMG" type="Sprite2D" parent="YoutubeMenuHolder/Youtube menu"]
position = Vector2(80, 90.165)
rotation = 1.5708
scale = Vector2(-0.5, 0.5)
texture = ExtResource("13_de5ej")
script = ExtResource("14_rhw4k")
[node name="Label" type="Label" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 0
offset_left = -27.795
offset_top = 49.0
offset_right = 197.205
offset_bottom = 72.0
text = "NOTE: speeds depend on your internet"
label_settings = SubResource("LabelSettings_fiiw4")
[node name="Version" type="Label" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -64.0
offset_top = -23.0
grow_horizontal = 0
grow_vertical = 0
text = "v1.1.0"
horizontal_alignment = 2
[node name="WavDisclaimer" type="AcceptDialog" parent="."]
transparent_bg = true
title = "WAV disclaimer"
initial_position = 4
size = Vector2i(256, 100)
transparent = true
popup_window = true
force_native = true
dialog_text = "wav files are not supported yet"
[connection signal="pressed" from="SettingsButton" to="SettingsButton" method="_on_pressed"]
[connection signal="toggled" from="SearchToggle" to="SearchToggle" method="_on_toggled"]
[connection signal="text_submitted" from="SearchBar" to="SearchBar" method="_on_text_submitted"]
[connection signal="index_pressed" from="SearchResults" to="SearchBar" method="_on_search_results_index_pressed"]
[connection signal="toggled" from="VolumeButton" to="VolumeButton" method="_on_toggled"]
[connection signal="toggled" from="YtTabButton" to="YtTabButton" method="_on_toggled"]
+308
View File
@@ -0,0 +1,308 @@
[gd_scene load_steps=26 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"]
[ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"]
[ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"]
[ext_resource type="Texture2D" uid="uid://snne8iiftksi" path="res://Evening_view_of_Munnar_1633.jpg" id="6_5vm0w"]
[ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"]
[ext_resource type="Texture2D" uid="uid://ctb4s2nks73rx" path="res://Play.png" id="8_5v7u3"]
[ext_resource type="Shader" path="res://CoverShader.gdshader" id="8_4531v"]
[ext_resource type="Texture2D" uid="uid://b00wlqid2jdvi" path="res://BigLogo.png" id="10_xnj6a"]
[ext_resource type="Script" path="res://cover.gd" id="12_3v50a"]
[ext_resource type="Texture2D" uid="uid://bdpat2sfflaxq" path="res://Youtube_logo.png" id="12_bc5ym"]
[ext_resource type="Script" path="res://search_bar.gd" id="12_mr42x"]
[ext_resource type="Texture2D" uid="uid://b5eims5ucn81r" path="res://Loding.png" id="13_de5ej"]
[ext_resource type="Script" path="res://volume_button.gd" id="14_7q3ja"]
[ext_resource type="Script" path="res://Spinning.gd" id="14_rhw4k"]
[ext_resource type="Script" path="res://yt_tab_button.gd" id="16_2t15p"]
[sub_resource type="Gradient" id="Gradient_hqvtw"]
offsets = PackedFloat32Array(0.459016, 0.565574, 0.704918, 0.827869, 0.92623, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.132947, 0.132947, 0.132947, 0.867053, 0.286885, 0.286885, 0.286885, 0.713115, 0.536475, 0.536475, 0.536475, 0.463525, 0.790666, 0.790666, 0.790666, 0.209334, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_50sv0"]
gradient = SubResource("Gradient_hqvtw")
fill = 1
fill_from = Vector2(0, 1)
fill_to = Vector2(1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3bw0j"]
shader = ExtResource("8_4531v")
shader_parameter/dissolve = SubResource("GradientTexture2D_50sv0")
[sub_resource type="InputEventKey" id="InputEventKey_5af16"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="Shortcut" id="Shortcut_0ov5v"]
events = [SubResource("InputEventKey_5af16")]
[sub_resource type="LabelSettings" id="LabelSettings_6prit"]
font_size = 22
outline_size = 2
outline_color = Color(0, 0, 0, 1)
shadow_color = Color(0, 0, 0, 0.643137)
shadow_offset = Vector2(7.88, 4.31)
[node name="Node2D" type="Node2D"]
script = ExtResource("1_ubs1p")
LoopPressed = ExtResource("2_iolk5")
LoopNotPressed = ExtResource("5_c2g63")
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
script = ExtResource("4_y372l")
Daytime = NodePath("../Daytime")
Evening = NodePath("../Evening")
Nighttime = NodePath("../Nighttime")
[node name="Daytime" type="Sprite2D" parent="."]
position = Vector2(576.949, 401)
scale = Vector2(1.27923, 1.25956)
texture = ExtResource("2_wf35v")
[node name="Evening" type="Sprite2D" parent="."]
position = Vector2(582, 342)
scale = Vector2(1.00181, 1.00181)
texture = ExtResource("6_5vm0w")
[node name="Nighttime" type="Sprite2D" parent="."]
visible = false
modulate = Color(0.347817, 0.347817, 0.347817, 1)
position = Vector2(610, 326)
scale = Vector2(1.49056, 1.51111)
texture = ExtResource("6_8abnc")
[node name="CoverHolder" type="Node2D" parent="."]
position = Vector2(-3, 649)
[node name="Cover" type="Sprite2D" parent="CoverHolder"]
modulate = Color(1, 1, 1, 0.592157)
material = SubResource("ShaderMaterial_3bw0j")
position = Vector2(200, -122.333)
scale = Vector2(0.333333, 0.333333)
region_rect = Rect2(142.036, 106.625, 632.359, 516.605)
region_filter_clip_enabled = true
script = ExtResource("12_3v50a")
[node name="SelectPlaylist" type="Button" parent="."]
offset_left = 20.0
offset_top = 24.0
offset_right = 255.0
offset_bottom = 80.0
focus_mode = 0
text = "select the directory
(playlist's folder)"
[node name="RandomizeList" type="Button" parent="."]
offset_left = 897.0
offset_top = 24.0
offset_right = 1132.0
offset_bottom = 80.0
focus_mode = 0
text = "Randomize the Playlist"
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(28, 115)
size = Vector2i(470, 320)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
[node name="playList" type="Button" parent="."]
offset_left = 20.0
offset_top = 572.0
offset_right = 92.0
offset_bottom = 644.0
scale = Vector2(0.5, 0.5)
focus_mode = 0
shortcut = SubResource("Shortcut_0ov5v")
icon = ExtResource("8_5v7u3")
[node name="CurrentProgress" type="HSlider" parent="."]
offset_left = 64.0
offset_top = 560.0
offset_right = 944.0
offset_bottom = 624.0
max_value = 1000.0
ticks_on_borders = true
[node name="Skip" type="Button" parent="."]
offset_left = 1046.0
offset_top = 573.0
offset_right = 1086.0
offset_bottom = 613.0
focus_mode = 0
icon = ExtResource("3_4vx67")
[node name="Skip2" type="Button" parent="."]
offset_left = 1046.0
offset_top = 573.0
offset_right = 1086.0
offset_bottom = 613.0
focus_mode = 0
icon = ExtResource("3_4vx67")
[node name="Loop" type="Button" parent="."]
offset_left = 1000.0
offset_top = 573.0
offset_right = 1040.0
offset_bottom = 613.0
focus_mode = 0
icon = ExtResource("5_c2g63")
[node name="GoBack" type="Button" parent="."]
offset_left = 994.0
offset_top = 613.0
offset_right = 1034.0
offset_bottom = 653.0
rotation = 3.14159
focus_mode = 0
icon = ExtResource("3_4vx67")
[node name="SongName" type="Label" parent="."]
offset_left = 66.0
offset_top = 524.0
offset_right = 994.0
offset_bottom = 581.0
text = "Please select a directory"
label_settings = SubResource("LabelSettings_6prit")
clip_text = true
text_overrun_behavior = 2
[node name="SearchBar" type="LineEdit" parent="."]
offset_left = 266.0
offset_top = 24.0
offset_right = 883.0
offset_bottom = 83.0
script = ExtResource("12_mr42x")
[node name="SearchResults" type="PopupMenu" parent="."]
position = Vector2i(265, 80)
size = Vector2i(625, 300)
max_size = Vector2i(625, 300)
hide_on_state_item_selection = true
allow_search = false
[node name="VolumeButton" type="Button" parent="."]
offset_left = 1092.0
offset_top = 573.0
offset_right = 1132.0
offset_bottom = 613.0
focus_mode = 0
toggle_mode = true
icon = ExtResource("6_3mi6c")
script = ExtResource("14_7q3ja")
[node name="VolumeSlider" type="VSlider" parent="."]
layout_direction = 3
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -1121.0
offset_top = 563.0
offset_right = -1103.0
offset_bottom = 571.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 1
size_flags_vertical = 8
value = 100.0
[node name="Logo" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.686275)
position = Vector2(192, 162)
scale = Vector2(0.159259, 0.159259)
texture = ExtResource("10_xnj6a")
[node name="TimeListeningSong" type="Label" parent="."]
offset_left = 66.0
offset_top = 597.0
offset_right = 178.0
offset_bottom = 633.0
[node name="YtTabButton" type="Button" parent="."]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = 1065.0
offset_top = 107.0
offset_right = 1713.0
offset_bottom = 558.0
grow_horizontal = 0
scale = Vector2(0.105, 0.105)
focus_mode = 0
toggle_mode = true
icon = ExtResource("12_bc5ym")
flat = true
script = ExtResource("16_2t15p")
[node name="YoutubeMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 794.0
offset_top = 107.0
offset_right = 834.0
offset_bottom = 147.0
[node name="Youtube menu" type="Control" parent="YoutubeMenuHolder"]
layout_mode = 3
anchors_preset = 0
offset_right = 200.0
offset_bottom = 363.0
[node name="YTLink" type="LineEdit" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -201.0
offset_bottom = 47.0
grow_horizontal = 0
placeholder_text = "Youtube link(can be playlist)"
[node name="YTDownload" type="Button" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
offset_top = 58.0
offset_right = 87.0
offset_bottom = 98.0
focus_mode = 0
text = "Download"
[node name="LoadingIMG" type="Sprite2D" parent="YoutubeMenuHolder/Youtube menu"]
position = Vector2(113, 78)
rotation = 1.5708
scale = Vector2(-0.5, 0.5)
texture = ExtResource("13_de5ej")
script = ExtResource("14_rhw4k")
[node name="Version" type="Label" parent="."]
offset_left = 1083.0
offset_top = 625.0
offset_right = 1147.0
offset_bottom = 648.0
text = "v0.9.2"
horizontal_alignment = 2
[node name="WavDisclaimer" type="AcceptDialog" parent="."]
transparent_bg = true
title = "WAV disclaimer"
position = Vector2i(495, 305)
size = Vector2i(256, 100)
transparent = true
popup_window = true
force_native = true
dialog_text = "wav files are not supported yet"
[connection signal="text_changed" from="SearchBar" to="SearchBar" method="_on_text_changed"]
[connection signal="toggled" from="VolumeButton" to="VolumeButton" method="_on_toggled"]
[connection signal="toggled" from="YtTabButton" to="YtTabButton" method="_on_toggled"]
+100
View File
@@ -0,0 +1,100 @@
[gd_scene load_steps=5 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[sub_resource type="LabelSettings" id="LabelSettings_4jg7r"]
font_size = 34
outline_size = 2
outline_color = Color(0, 0, 0, 1)
shadow_size = 2
[node name="Node2D" type="Node2D"]
script = ExtResource("1_ubs1p")
[node name="D7Hftxdivxxvm_cloudfront" type="Sprite2D" parent="."]
position = Vector2(576.949, 299)
scale = Vector2(1.27923, 1.25956)
texture = ExtResource("2_wf35v")
[node name="SelectPlaylist" type="Button" parent="."]
offset_left = 43.0
offset_top = 24.0
offset_right = 278.0
offset_bottom = 65.0
text = "select playlist folder"
[node name="RandomizeList" type="Button" parent="."]
offset_left = 767.0
offset_top = 29.0
offset_right = 1002.0
offset_bottom = 70.0
text = "Randomize Playlist"
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(325, 115)
size = Vector2i(427, 320)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
[node name="playList" type="Button" parent="."]
offset_left = 187.0
offset_top = 572.0
offset_right = 274.0
offset_bottom = 612.0
text = "play"
[node name="pause" type="Button" parent="."]
offset_left = 88.0
offset_top = 572.0
offset_right = 175.0
offset_bottom = 612.0
text = "toggle
pause"
[node name="CurrentProgress" type="HSlider" parent="."]
offset_left = 286.0
offset_top = 560.0
offset_right = 895.0
offset_bottom = 624.0
ticks_on_borders = true
[node name="VolumeSlider" type="VSlider" parent="."]
offset_left = 1125.0
offset_top = 333.0
offset_right = 1141.0
offset_bottom = 623.0
value = 100.0
[node name="Label" type="Label" parent="."]
offset_left = 1094.0
offset_top = 331.0
offset_right = 1121.0
offset_bottom = 611.0
text = "V
O
L
U
M
E"
label_settings = SubResource("LabelSettings_4jg7r")
[node name="Skip" type="Button" parent="."]
offset_left = 956.0
offset_top = 572.0
offset_right = 996.0
offset_bottom = 612.0
icon = ExtResource("3_4vx67")
[node name="GoBack" type="Button" parent="."]
offset_left = 942.0
offset_top = 612.0
offset_right = 982.0
offset_bottom = 652.0
rotation = 3.14159
icon = ExtResource("3_4vx67")
+24
View File
@@ -0,0 +1,24 @@
[gd_scene load_steps=2 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[node name="Node2D" type="Node2D"]
script = ExtResource("1_ubs1p")
[node name="SelectPlaylist" type="Button" parent="."]
offset_left = 43.0
offset_top = 24.0
offset_right = 278.0
offset_bottom = 65.0
text = "select playlist folder"
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(140, 225)
size = Vector2i(352, 180)
visible = true
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
+185
View File
@@ -0,0 +1,185 @@
[gd_scene load_steps=14 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"]
[ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"]
[ext_resource type="Texture2D" uid="uid://itxrsfeiey6k" path="res://unnamed.jpg" id="5_o3jj7"]
[ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"]
[ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"]
[ext_resource type="AudioStream" uid="uid://cvndnnx1mdvqp" path="res://Project_4.mp3" id="7_8fltb"]
[ext_resource type="Texture2D" uid="uid://b5ml1dkiuo5ta" path="res://Logo.png" id="11_boad2"]
[sub_resource type="LabelSettings" id="LabelSettings_6prit"]
font_size = 22
outline_size = 2
outline_color = Color(0, 0, 0, 1)
shadow_color = Color(0, 0, 0, 0.643137)
shadow_offset = Vector2(7.88, 4.31)
[sub_resource type="LabelSettings" id="LabelSettings_ywsb0"]
font_size = 36
outline_size = 2
outline_color = Color(0, 0, 0, 1)
shadow_size = 2
shadow_color = Color(0, 0, 0, 0.486275)
shadow_offset = Vector2(6.725, 10.16)
[node name="Node2D" type="Node2D"]
script = ExtResource("1_ubs1p")
LoopPressed = ExtResource("2_iolk5")
LoopNotPressed = ExtResource("5_c2g63")
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
script = ExtResource("4_y372l")
Daytime = NodePath("../Daytime")
Evening = NodePath("../Evening")
Nighttime = NodePath("../Nighttime")
[node name="Daytime" type="Sprite2D" parent="."]
position = Vector2(576.949, 299)
scale = Vector2(1.27923, 1.25956)
texture = ExtResource("2_wf35v")
[node name="Evening" type="Sprite2D" parent="."]
position = Vector2(575, 350)
scale = Vector2(2.27353, 2.27353)
texture = ExtResource("5_o3jj7")
[node name="Nighttime" type="Sprite2D" parent="."]
modulate = Color(0.347817, 0.347817, 0.347817, 1)
position = Vector2(599, 323)
scale = Vector2(1.47, 1.47)
texture = ExtResource("6_8abnc")
[node name="SelectPlaylist" type="Button" parent="."]
offset_left = 20.0
offset_top = 24.0
offset_right = 255.0
offset_bottom = 80.0
text = "select the directory
(playlist's folder)"
[node name="RandomizeList" type="Button" parent="."]
offset_left = 897.0
offset_top = 24.0
offset_right = 1132.0
offset_bottom = 80.0
text = "Randomize the Playlist"
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(28, 115)
size = Vector2i(470, 320)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
[node name="playList" type="Button" parent="."]
offset_left = 12.0
offset_top = 572.0
offset_right = 99.0
offset_bottom = 612.0
text = "play"
[node name="CurrentProgress" type="HSlider" parent="."]
offset_left = 107.0
offset_top = 560.0
offset_right = 994.0
offset_bottom = 624.0
max_value = 1000.0
editable = false
scrollable = false
ticks_on_borders = true
[node name="Skip" type="Button" parent="."]
offset_left = 1092.0
offset_top = 573.0
offset_right = 1132.0
offset_bottom = 613.0
icon = ExtResource("3_4vx67")
[node name="Loop" type="Button" parent="."]
offset_left = 1046.0
offset_top = 573.0
offset_right = 1086.0
offset_bottom = 613.0
icon = ExtResource("5_c2g63")
[node name="GoBack" type="Button" parent="."]
offset_left = 1040.0
offset_top = 613.0
offset_right = 1080.0
offset_bottom = 653.0
rotation = 3.14159
icon = ExtResource("3_4vx67")
[node name="SongName" type="Label" parent="."]
offset_left = 107.0
offset_top = 516.0
offset_right = 993.0
offset_bottom = 573.0
text = "Please select a directory"
label_settings = SubResource("LabelSettings_6prit")
clip_text = true
text_overrun_behavior = 2
[node name="Song list" type="MenuButton" parent="."]
offset_left = 265.0
offset_top = 24.0
offset_right = 888.0
offset_bottom = 80.0
text = "Select a Song"
flat = false
switch_on_hover = true
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(1090, 253)
scale = Vector2(1.875, 1.875)
texture = ExtResource("6_3mi6c")
[node name="Label" type="Label" parent="."]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1079.0
offset_top = 248.0
offset_right = 1119.0
offset_bottom = 563.0
grow_horizontal = 0
grow_vertical = 0
text = "V
O
L
U
M
E"
label_settings = SubResource("LabelSettings_ywsb0")
[node name="VolumeSlider" type="VSlider" parent="."]
offset_left = 1114.0
offset_top = 250.0
offset_right = 1130.0
offset_bottom = 572.0
value = 100.0
[node name="Intro" type="AudioStreamPlayer" parent="."]
stream = ExtResource("7_8fltb")
autoplay = true
[node name="Logo" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.423529)
position = Vector2(277, 209)
texture = ExtResource("11_boad2")
[node name="TimeListeningSong" type="Label" parent="."]
offset_left = 112.0
offset_top = 603.0
offset_right = 224.0
offset_bottom = 639.0
+665
View File
@@ -0,0 +1,665 @@
[gd_scene load_steps=53 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"]
[ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"]
[ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"]
[ext_resource type="Texture2D" uid="uid://snne8iiftksi" path="res://Evening_view_of_Munnar_1633.jpg" id="6_5vm0w"]
[ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"]
[ext_resource type="Texture2D" uid="uid://ctb4s2nks73rx" path="res://Play.png" id="8_5v7u3"]
[ext_resource type="Shader" path="res://CoverShader.gdshader" id="8_4531v"]
[ext_resource type="Shader" path="res://Main.gdshader" id="10_20857"]
[ext_resource type="Texture2D" uid="uid://b00wlqid2jdvi" path="res://BigLogo.png" id="10_xnj6a"]
[ext_resource type="Texture2D" uid="uid://0r1tx6l1lc6x" path="res://settingscog.png" id="11_esjel"]
[ext_resource type="Script" path="res://cover.gd" id="12_3v50a"]
[ext_resource type="Script" path="res://settings_button.gd" id="12_073mb"]
[ext_resource type="Texture2D" uid="uid://bdpat2sfflaxq" path="res://Youtube_logo.png" id="12_bc5ym"]
[ext_resource type="Texture2D" uid="uid://myq6n4bshduj" path="res://search.png" id="12_cv2gm"]
[ext_resource type="Script" path="res://search_bar.gd" id="12_mr42x"]
[ext_resource type="Script" path="res://search_toggle.gd" id="13_5illk"]
[ext_resource type="PackedScene" uid="uid://dqg674t6kun4e" path="res://Settings.tscn" id="13_7atry"]
[ext_resource type="Texture2D" uid="uid://b5eims5ucn81r" path="res://Loding.png" id="13_de5ej"]
[ext_resource type="Script" path="res://volume_button.gd" id="14_7q3ja"]
[ext_resource type="Texture2D" uid="uid://1rstn6r2wisy" path="res://X.png" id="14_mioc4"]
[ext_resource type="Script" path="res://Spinning.gd" id="14_rhw4k"]
[ext_resource type="Script" path="res://yt_tab_button.gd" id="16_2t15p"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ku7tv"]
shader = ExtResource("10_20857")
shader_parameter/intensity = 1.0
[sub_resource type="Gradient" id="Gradient_7vgyc"]
offsets = PackedFloat32Array(0.00292398, 0.845029)
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bhdch"]
gradient = SubResource("Gradient_7vgyc")
fill_to = Vector2(0, 1)
[sub_resource type="Gradient" id="Gradient_hqvtw"]
offsets = PackedFloat32Array(0.459016, 0.565574, 0.704918, 0.827869, 0.92623, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.132947, 0.132947, 0.132947, 0.867053, 0.286885, 0.286885, 0.286885, 0.713115, 0.536475, 0.536475, 0.536475, 0.463525, 0.790666, 0.790666, 0.790666, 0.209334, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_50sv0"]
gradient = SubResource("Gradient_hqvtw")
fill = 1
fill_from = Vector2(0, 1)
fill_to = Vector2(1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3bw0j"]
shader = ExtResource("8_4531v")
shader_parameter/dissolve = SubResource("GradientTexture2D_50sv0")
[sub_resource type="InputEventKey" id="InputEventKey_x0ps1"]
device = -1
ctrl_pressed = true
keycode = 68
[sub_resource type="Shortcut" id="Shortcut_vp2fh"]
events = [SubResource("InputEventKey_x0ps1")]
[sub_resource type="LabelSettings" id="LabelSettings_0fjy0"]
font_size = 21
[sub_resource type="InputEventKey" id="InputEventKey_0jlka"]
device = -1
ctrl_pressed = true
keycode = 82
[sub_resource type="Shortcut" id="Shortcut_axi6u"]
events = [SubResource("InputEventKey_0jlka")]
[sub_resource type="InputEventKey" id="InputEventKey_117g0"]
device = -1
ctrl_pressed = true
keycode = 83
[sub_resource type="Shortcut" id="Shortcut_8p5o4"]
events = [SubResource("InputEventKey_117g0")]
[sub_resource type="InputEventKey" id="InputEventKey_5af16"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="Shortcut" id="Shortcut_0ov5v"]
events = [SubResource("InputEventKey_5af16")]
[sub_resource type="InputEventKey" id="InputEventKey_l1ahe"]
device = -1
keycode = 4194321
[sub_resource type="Shortcut" id="Shortcut_qw6pv"]
events = [SubResource("InputEventKey_l1ahe")]
[sub_resource type="InputEventKey" id="InputEventKey_c5qef"]
device = -1
keycode = 76
unicode = 108
[sub_resource type="Shortcut" id="Shortcut_vot6l"]
events = [SubResource("InputEventKey_c5qef")]
[sub_resource type="InputEventKey" id="InputEventKey_y4cc2"]
device = -1
keycode = 4194319
[sub_resource type="Shortcut" id="Shortcut_xu6hm"]
events = [SubResource("InputEventKey_y4cc2")]
[sub_resource type="LabelSettings" id="LabelSettings_6prit"]
font_size = 22
outline_size = 3
outline_color = Color(0.215902, 0.215902, 0.215902, 1)
[sub_resource type="LabelSettings" id="LabelSettings_jg5vn"]
font_size = 20
outline_size = 3
outline_color = Color(0.393086, 0.393086, 0.393085, 1)
[sub_resource type="InputEventKey" id="InputEventKey_puhgg"]
device = -1
ctrl_pressed = true
keycode = 81
[sub_resource type="Shortcut" id="Shortcut_g3fcr"]
events = [SubResource("InputEventKey_puhgg")]
[sub_resource type="LabelSettings" id="LabelSettings_fiiw4"]
font_size = 12
[node name="Node2D" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ubs1p")
LoopPressed = ExtResource("2_iolk5")
LoopNotPressed = ExtResource("5_c2g63")
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
script = ExtResource("4_y372l")
Daytime = NodePath("../Daytime")
Evening = NodePath("../Evening")
Nighttime = NodePath("../Nighttime")
[node name="Daytime" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_wf35v")
stretch_mode = 6
[node name="Evening" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("6_5vm0w")
stretch_mode = 6
[node name="Nighttime" type="TextureRect" parent="."]
visible = false
modulate = Color(0.347817, 0.347817, 0.347817, 1)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("6_8abnc")
stretch_mode = 6
[node name="UserBG" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
expand_mode = 5
stretch_mode = 6
[node name="Logo" type="Sprite2D" parent="."]
visible = false
modulate = Color(1, 1, 1, 0.686275)
position = Vector2(192, 162)
scale = Vector2(0.159259, 0.159259)
texture = ExtResource("10_xnj6a")
[node name="PausedIndicator" type="TextureRect" parent="."]
material = SubResource("ShaderMaterial_ku7tv")
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -164.0
grow_horizontal = 2
grow_vertical = 0
texture = SubResource("GradientTexture2D_bhdch")
[node name="CoverHolder" type="Control" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -3.0
offset_top = 1.0
offset_right = -3.0
offset_bottom = 1.0
grow_vertical = 0
[node name="Cover" type="Sprite2D" parent="CoverHolder"]
modulate = Color(1, 1, 1, 0.592157)
material = SubResource("ShaderMaterial_3bw0j")
scale = Vector2(0.333333, 0.333333)
region_rect = Rect2(142.036, 106.625, 632.359, 516.605)
region_filter_clip_enabled = true
script = ExtResource("12_3v50a")
[node name="SelectDirectory" type="Button" parent="."]
layout_mode = 0
offset_left = 140.0
offset_top = 24.0
offset_right = 255.0
offset_bottom = 80.0
focus_mode = 0
shortcut = SubResource("Shortcut_vp2fh")
text = "select the
directory"
[node name="SelectPlaylist" type="Button" parent="."]
layout_mode = 0
offset_left = 20.0
offset_top = 24.0
offset_right = 131.0
offset_bottom = 80.0
focus_mode = 0
shortcut = SubResource("Shortcut_vp2fh")
text = "Playlists"
[node name="PlaylistsContainer" type="ScrollContainer" parent="."]
layout_mode = 0
offset_left = 3.0
offset_top = 83.0
offset_right = 261.0
offset_bottom = 524.0
[node name="VBoxContainer" type="VBoxContainer" parent="PlaylistsContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
alignment = 1
[node name="Label" type="Label" parent="PlaylistsContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "PLAYLISTS"
label_settings = SubResource("LabelSettings_0fjy0")
[node name="PlaylistsHolder" type="VBoxContainer" parent="PlaylistsContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
alignment = 1
[node name="RandomizeList" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -254.0
offset_top = 24.0
offset_right = -86.0
offset_bottom = 80.0
grow_horizontal = 0
focus_mode = 0
shortcut = SubResource("Shortcut_axi6u")
text = "Randomize"
[node name="SettingsButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -77.0
offset_top = 23.0
offset_right = -5.0
offset_bottom = 95.0
grow_horizontal = 0
scale = Vector2(0.79, 0.79)
focus_mode = 0
shortcut = SubResource("Shortcut_8p5o4")
icon = ExtResource("11_esjel")
script = ExtResource("12_073mb")
[node name="SettingsPopup" type="Popup" parent="."]
position = Vector2i(259, 85)
size = Vector2i(576, 493)
[node name="SettingsMenuChild" parent="SettingsPopup" instance=ExtResource("13_7atry")]
offset_left = -272.0
offset_top = 8.0
offset_bottom = 458.0
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(28, 115)
size = Vector2i(576, 507)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
bus = &"Music"
[node name="playList" type="Button" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 20.0
offset_top = -77.0
offset_right = 92.0
offset_bottom = -5.0
grow_vertical = 0
scale = Vector2(0.5, 0.5)
focus_mode = 0
shortcut = SubResource("Shortcut_0ov5v")
icon = ExtResource("8_5v7u3")
[node name="AddRemoveFromPlaylist" type="Button" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 62.0
offset_top = -77.0
offset_right = 134.0
offset_bottom = -5.0
grow_vertical = 0
scale = Vector2(0.5, 0.5)
icon = ExtResource("14_mioc4")
[node name="CurrentProgress" type="HSlider" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 106.0
offset_top = -88.0
offset_right = -211.0
offset_bottom = -24.0
grow_horizontal = 2
grow_vertical = 0
max_value = 1000.0
ticks_on_borders = true
[node name="Skip" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -105.0
offset_top = -75.0
offset_right = -65.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
shortcut = SubResource("Shortcut_qw6pv")
icon = ExtResource("3_4vx67")
[node name="Loop" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -152.0
offset_top = -75.0
offset_right = -112.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
shortcut = SubResource("Shortcut_vot6l")
icon = ExtResource("5_c2g63")
[node name="GoBack" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -157.0
offset_top = -35.0
offset_right = -117.0
offset_bottom = 5.0
grow_horizontal = 0
grow_vertical = 0
rotation = 3.14159
focus_mode = 0
shortcut = SubResource("Shortcut_xu6hm")
icon = ExtResource("3_4vx67")
[node name="SongName" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 109.0
offset_top = -124.0
offset_right = -158.0
offset_bottom = -93.0
grow_horizontal = 2
grow_vertical = 0
text = "Please select a directory"
label_settings = SubResource("LabelSettings_6prit")
clip_text = true
text_overrun_behavior = 2
[node name="ArtistName" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 109.0
offset_top = -103.0
offset_right = -158.0
offset_bottom = -72.0
grow_horizontal = 2
grow_vertical = 0
text = "John doe"
label_settings = SubResource("LabelSettings_jg5vn")
clip_text = true
text_overrun_behavior = 2
[node name="SearchToggle" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -318.0
offset_top = 24.0
offset_right = -246.0
offset_bottom = 96.0
grow_horizontal = 0
scale = Vector2(0.79, 0.79)
focus_mode = 0
toggle_mode = true
shortcut = SubResource("Shortcut_g3fcr")
icon = ExtResource("12_cv2gm")
script = ExtResource("13_5illk")
PressedIcon = ExtResource("14_mioc4")
NotPressedIcon = ExtResource("12_cv2gm")
[node name="SearchBar" type="LineEdit" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
offset_left = 264.0
offset_top = 24.0
offset_right = -328.0
offset_bottom = 80.0
grow_horizontal = 2
focus_mode = 1
placeholder_text = "Search"
alignment = 1
caret_blink = true
script = ExtResource("12_mr42x")
[node name="SongsMenu" type="MenuButton" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
offset_left = 264.0
offset_top = 24.0
offset_right = -328.0
offset_bottom = 80.0
grow_horizontal = 2
text = "Select Songs"
flat = false
[node name="SearchResults" type="PopupMenu" parent="."]
handle_input_locally = false
position = Vector2i(265, 80)
size = Vector2i(623, 300)
wrap_controls = false
max_size = Vector2i(625, 300)
allow_search = false
[node name="VolumeButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -58.0
offset_top = -75.0
offset_right = -18.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
toggle_mode = true
icon = ExtResource("6_3mi6c")
script = ExtResource("14_7q3ja")
[node name="VolumeSlider" type="VSlider" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -46.0
offset_top = -83.0
offset_right = -30.0
offset_bottom = -75.0
grow_horizontal = 0
grow_vertical = 0
size_flags_horizontal = 1
size_flags_vertical = 8
value = 100.0
[node name="TimeListeningSong" type="Label" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 109.0
offset_top = -47.0
offset_right = 221.0
offset_bottom = -11.0
grow_vertical = 0
[node name="DiscordMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 1042.0
offset_top = 174.0
offset_right = 1082.0
offset_bottom = 214.0
[node name="YtTabButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -97.0
offset_top = 109.0
offset_right = 551.0
offset_bottom = 560.0
grow_horizontal = 0
grow_vertical = 2
scale = Vector2(0.105, 0.105)
focus_mode = 0
toggle_mode = true
icon = ExtResource("12_bc5ym")
flat = true
script = ExtResource("16_2t15p")
[node name="YoutubeMenuHolder" type="Control" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -358.0
offset_top = 107.0
offset_right = -318.0
offset_bottom = 147.0
[node name="Youtube menu" type="Control" parent="YoutubeMenuHolder"]
layout_mode = 3
anchors_preset = 0
offset_right = 200.0
offset_bottom = 363.0
[node name="YTLink" type="LineEdit" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -229.0
offset_bottom = 47.0
grow_horizontal = 0
placeholder_text = "Youtube link(can be playlist)"
[node name="YTDownload" type="Button" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
offset_left = -29.0
offset_top = 70.465
offset_right = 58.0
offset_bottom = 110.465
focus_mode = 0
text = "Download"
[node name="LoadingIMG" type="Sprite2D" parent="YoutubeMenuHolder/Youtube menu"]
position = Vector2(80, 90.165)
rotation = 1.5708
scale = Vector2(-0.5, 0.5)
texture = ExtResource("13_de5ej")
script = ExtResource("14_rhw4k")
[node name="Label" type="Label" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 0
offset_left = -27.795
offset_top = 49.0
offset_right = 197.205
offset_bottom = 72.0
text = "NOTE: speeds depend on your internet"
label_settings = SubResource("LabelSettings_fiiw4")
[node name="Version" type="Label" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -64.0
offset_top = -23.0
grow_horizontal = 0
grow_vertical = 0
text = "v1.1.0"
horizontal_alignment = 2
[node name="WavDisclaimer" type="AcceptDialog" parent="."]
transparent_bg = true
title = "WAV disclaimer"
initial_position = 4
size = Vector2i(256, 100)
transparent = true
popup_window = true
force_native = true
dialog_text = "wav files are not supported yet"
[connection signal="pressed" from="SettingsButton" to="SettingsButton" method="_on_pressed"]
[connection signal="toggled" from="SearchToggle" to="SearchToggle" method="_on_toggled"]
[connection signal="text_submitted" from="SearchBar" to="SearchBar" method="_on_text_submitted"]
[connection signal="index_pressed" from="SearchResults" to="SearchBar" method="_on_search_results_index_pressed"]
[connection signal="toggled" from="VolumeButton" to="VolumeButton" method="_on_toggled"]
[connection signal="toggled" from="YtTabButton" to="YtTabButton" method="_on_toggled"]
+474
View File
@@ -0,0 +1,474 @@
[gd_scene load_steps=52 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"]
[ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"]
[ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"]
[ext_resource type="Texture2D" uid="uid://snne8iiftksi" path="res://Evening_view_of_Munnar_1633.jpg" id="6_5vm0w"]
[ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"]
[ext_resource type="Texture2D" uid="uid://ctb4s2nks73rx" path="res://Play.png" id="8_5v7u3"]
[ext_resource type="Shader" path="res://CoverShader.gdshader" id="8_4531v"]
[ext_resource type="Shader" path="res://Main.gdshader" id="10_20857"]
[ext_resource type="Texture2D" uid="uid://b00wlqid2jdvi" path="res://BigLogo.png" id="10_xnj6a"]
[ext_resource type="Texture2D" uid="uid://0r1tx6l1lc6x" path="res://settingscog.png" id="11_esjel"]
[ext_resource type="Script" path="res://cover.gd" id="12_3v50a"]
[ext_resource type="Script" path="res://settings_button.gd" id="12_073mb"]
[ext_resource type="Texture2D" uid="uid://bdpat2sfflaxq" path="res://Youtube_logo.png" id="12_bc5ym"]
[ext_resource type="Texture2D" uid="uid://myq6n4bshduj" path="res://search.png" id="12_cv2gm"]
[ext_resource type="Script" path="res://search_bar.gd" id="12_mr42x"]
[ext_resource type="Script" path="res://search_toggle.gd" id="13_5illk"]
[ext_resource type="PackedScene" uid="uid://dqg674t6kun4e" path="res://Settings.tscn" id="13_7atry"]
[ext_resource type="Texture2D" uid="uid://b5eims5ucn81r" path="res://Loding.png" id="13_de5ej"]
[ext_resource type="Script" path="res://volume_button.gd" id="14_7q3ja"]
[ext_resource type="Texture2D" uid="uid://1rstn6r2wisy" path="res://X.png" id="14_mioc4"]
[ext_resource type="Script" path="res://Spinning.gd" id="14_rhw4k"]
[ext_resource type="Script" path="res://yt_tab_button.gd" id="16_2t15p"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ku7tv"]
shader = ExtResource("10_20857")
shader_parameter/intensity = 1.0
[sub_resource type="Gradient" id="Gradient_7vgyc"]
offsets = PackedFloat32Array(0.00292398, 0.845029)
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bhdch"]
gradient = SubResource("Gradient_7vgyc")
fill_to = Vector2(0, 1)
[sub_resource type="Gradient" id="Gradient_hqvtw"]
offsets = PackedFloat32Array(0.459016, 0.565574, 0.704918, 0.827869, 0.92623, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.132947, 0.132947, 0.132947, 0.867053, 0.286885, 0.286885, 0.286885, 0.713115, 0.536475, 0.536475, 0.536475, 0.463525, 0.790666, 0.790666, 0.790666, 0.209334, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_50sv0"]
gradient = SubResource("Gradient_hqvtw")
fill = 1
fill_from = Vector2(0, 1)
fill_to = Vector2(1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3bw0j"]
shader = ExtResource("8_4531v")
shader_parameter/dissolve = SubResource("GradientTexture2D_50sv0")
[sub_resource type="InputEventKey" id="InputEventKey_x0ps1"]
device = -1
ctrl_pressed = true
keycode = 68
[sub_resource type="Shortcut" id="Shortcut_vp2fh"]
events = [SubResource("InputEventKey_x0ps1")]
[sub_resource type="InputEventKey" id="InputEventKey_0jlka"]
device = -1
ctrl_pressed = true
keycode = 82
[sub_resource type="Shortcut" id="Shortcut_axi6u"]
events = [SubResource("InputEventKey_0jlka")]
[sub_resource type="InputEventKey" id="InputEventKey_117g0"]
device = -1
ctrl_pressed = true
keycode = 83
[sub_resource type="Shortcut" id="Shortcut_8p5o4"]
events = [SubResource("InputEventKey_117g0")]
[sub_resource type="InputEventKey" id="InputEventKey_5af16"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="Shortcut" id="Shortcut_0ov5v"]
events = [SubResource("InputEventKey_5af16")]
[sub_resource type="InputEventKey" id="InputEventKey_l1ahe"]
device = -1
keycode = 4194321
[sub_resource type="Shortcut" id="Shortcut_qw6pv"]
events = [SubResource("InputEventKey_l1ahe")]
[sub_resource type="InputEventKey" id="InputEventKey_c5qef"]
device = -1
keycode = 76
unicode = 108
[sub_resource type="Shortcut" id="Shortcut_vot6l"]
events = [SubResource("InputEventKey_c5qef")]
[sub_resource type="InputEventKey" id="InputEventKey_y4cc2"]
device = -1
keycode = 4194319
[sub_resource type="Shortcut" id="Shortcut_xu6hm"]
events = [SubResource("InputEventKey_y4cc2")]
[sub_resource type="LabelSettings" id="LabelSettings_6prit"]
font_size = 22
outline_size = 3
outline_color = Color(0.215902, 0.215902, 0.215902, 1)
[sub_resource type="LabelSettings" id="LabelSettings_jg5vn"]
font_size = 20
outline_size = 3
outline_color = Color(0.393086, 0.393086, 0.393085, 1)
[sub_resource type="InputEventKey" id="InputEventKey_puhgg"]
device = -1
ctrl_pressed = true
keycode = 81
[sub_resource type="Shortcut" id="Shortcut_g3fcr"]
events = [SubResource("InputEventKey_puhgg")]
[sub_resource type="LabelSettings" id="LabelSettings_fiiw4"]
font_size = 12
[node name="Node2D" type="Node2D"]
script = ExtResource("1_ubs1p")
LoopPressed = ExtResource("2_iolk5")
LoopNotPressed = ExtResource("5_c2g63")
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
script = ExtResource("4_y372l")
Daytime = NodePath("../Daytime")
Evening = NodePath("../Evening")
Nighttime = NodePath("../Nighttime")
[node name="Daytime" type="Sprite2D" parent="."]
position = Vector2(576.949, 401)
scale = Vector2(1.27923, 1.25956)
texture = ExtResource("2_wf35v")
[node name="Evening" type="Sprite2D" parent="."]
visible = false
position = Vector2(582, 342)
scale = Vector2(1.00181, 1.00181)
texture = ExtResource("6_5vm0w")
[node name="Nighttime" type="Sprite2D" parent="."]
visible = false
modulate = Color(0.347817, 0.347817, 0.347817, 1)
position = Vector2(610, 326)
scale = Vector2(1.49056, 1.51111)
texture = ExtResource("6_8abnc")
[node name="PausedIndicator" type="TextureRect" parent="."]
material = SubResource("ShaderMaterial_ku7tv")
offset_left = -10.0
offset_top = 468.0
offset_right = 1161.0
offset_bottom = 657.0
texture = SubResource("GradientTexture2D_bhdch")
[node name="CoverHolder" type="Node2D" parent="."]
position = Vector2(-3, 649)
[node name="Cover" type="Sprite2D" parent="CoverHolder"]
modulate = Color(1, 1, 1, 0.592157)
material = SubResource("ShaderMaterial_3bw0j")
position = Vector2(200, -122.333)
scale = Vector2(0.333333, 0.333333)
region_rect = Rect2(142.036, 106.625, 632.359, 516.605)
region_filter_clip_enabled = true
script = ExtResource("12_3v50a")
[node name="SelectPlaylist" type="Button" parent="."]
offset_left = 20.0
offset_top = 24.0
offset_right = 255.0
offset_bottom = 80.0
focus_mode = 0
shortcut = SubResource("Shortcut_vp2fh")
text = "select the directory
(playlist's folder)"
[node name="RandomizeList" type="Button" parent="."]
offset_left = 897.0
offset_top = 24.0
offset_right = 1065.0
offset_bottom = 80.0
focus_mode = 0
shortcut = SubResource("Shortcut_axi6u")
text = "Randomize"
[node name="SettingsButton" type="Button" parent="."]
offset_left = 1073.0
offset_top = 24.0
offset_right = 1145.0
offset_bottom = 96.0
scale = Vector2(0.79, 0.79)
focus_mode = 0
shortcut = SubResource("Shortcut_8p5o4")
icon = ExtResource("11_esjel")
script = ExtResource("12_073mb")
[node name="SettingsPopup" type="Popup" parent="."]
position = Vector2i(259, 85)
size = Vector2i(576, 493)
[node name="SettingsMenuChild" parent="SettingsPopup" instance=ExtResource("13_7atry")]
offset_left = -272.0
offset_top = 8.0
offset_right = 288.0
offset_bottom = 458.0
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(28, 115)
size = Vector2i(576, 507)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
bus = &"Music"
[node name="playList" type="Button" parent="."]
offset_left = 20.0
offset_top = 572.0
offset_right = 92.0
offset_bottom = 644.0
scale = Vector2(0.5, 0.5)
focus_mode = 0
shortcut = SubResource("Shortcut_0ov5v")
icon = ExtResource("8_5v7u3")
[node name="CurrentProgress" type="HSlider" parent="."]
offset_left = 64.0
offset_top = 560.0
offset_right = 944.0
offset_bottom = 624.0
max_value = 1000.0
ticks_on_borders = true
[node name="Skip" type="Button" parent="."]
offset_left = 1046.0
offset_top = 573.0
offset_right = 1086.0
offset_bottom = 613.0
focus_mode = 0
shortcut = SubResource("Shortcut_qw6pv")
icon = ExtResource("3_4vx67")
[node name="Loop" type="Button" parent="."]
offset_left = 1000.0
offset_top = 573.0
offset_right = 1040.0
offset_bottom = 613.0
focus_mode = 0
shortcut = SubResource("Shortcut_vot6l")
icon = ExtResource("5_c2g63")
[node name="GoBack" type="Button" parent="."]
offset_left = 994.0
offset_top = 613.0
offset_right = 1034.0
offset_bottom = 653.0
rotation = 3.14159
focus_mode = 0
shortcut = SubResource("Shortcut_xu6hm")
icon = ExtResource("3_4vx67")
[node name="SongName" type="Label" parent="."]
offset_left = 66.0
offset_top = 524.0
offset_right = 994.0
offset_bottom = 555.0
text = "Please select a directory"
label_settings = SubResource("LabelSettings_6prit")
clip_text = true
text_overrun_behavior = 2
[node name="ArtistName" type="Label" parent="."]
offset_left = 67.0
offset_top = 547.0
offset_right = 995.0
offset_bottom = 578.0
text = "John doe"
label_settings = SubResource("LabelSettings_jg5vn")
clip_text = true
text_overrun_behavior = 2
[node name="SearchToggle" type="Button" parent="."]
offset_left = 833.0
offset_top = 24.0
offset_right = 905.0
offset_bottom = 96.0
scale = Vector2(0.79, 0.79)
focus_mode = 0
toggle_mode = true
shortcut = SubResource("Shortcut_g3fcr")
icon = ExtResource("12_cv2gm")
script = ExtResource("13_5illk")
PressedIcon = ExtResource("14_mioc4")
NotPressedIcon = ExtResource("12_cv2gm")
[node name="SearchBar" type="LineEdit" parent="."]
visible = false
offset_left = 265.0
offset_top = 24.0
offset_right = 825.0
offset_bottom = 80.0
focus_mode = 1
placeholder_text = "Search"
alignment = 1
caret_blink = true
script = ExtResource("12_mr42x")
[node name="SongsMenu" type="MenuButton" parent="."]
offset_left = 265.0
offset_top = 24.0
offset_right = 825.0
offset_bottom = 80.0
text = "Select Songs"
flat = false
[node name="SearchResults" type="PopupMenu" parent="."]
handle_input_locally = false
position = Vector2i(265, 80)
size = Vector2i(623, 300)
wrap_controls = false
max_size = Vector2i(625, 300)
allow_search = false
[node name="VolumeButton" type="Button" parent="."]
offset_left = 1092.0
offset_top = 573.0
offset_right = 1132.0
offset_bottom = 613.0
focus_mode = 0
toggle_mode = true
icon = ExtResource("6_3mi6c")
script = ExtResource("14_7q3ja")
[node name="VolumeSlider" type="VSlider" parent="."]
layout_direction = 3
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -1121.0
offset_top = 563.0
offset_right = -1103.0
offset_bottom = 571.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 1
size_flags_vertical = 8
value = 100.0
[node name="Logo" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.686275)
position = Vector2(192, 162)
scale = Vector2(0.159259, 0.159259)
texture = ExtResource("10_xnj6a")
[node name="TimeListeningSong" type="Label" parent="."]
offset_left = 66.0
offset_top = 597.0
offset_right = 178.0
offset_bottom = 633.0
[node name="DiscordMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 1042.0
offset_top = 174.0
offset_right = 1082.0
offset_bottom = 214.0
[node name="YtTabButton" type="Button" parent="."]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = 1065.0
offset_top = 107.0
offset_right = 1713.0
offset_bottom = 558.0
grow_horizontal = 0
scale = Vector2(0.105, 0.105)
focus_mode = 0
toggle_mode = true
icon = ExtResource("12_bc5ym")
flat = true
script = ExtResource("16_2t15p")
[node name="YoutubeMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 794.0
offset_top = 107.0
offset_right = 834.0
offset_bottom = 147.0
[node name="Youtube menu" type="Control" parent="YoutubeMenuHolder"]
layout_mode = 3
anchors_preset = 0
offset_right = 200.0
offset_bottom = 363.0
[node name="YTLink" type="LineEdit" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -229.0
offset_bottom = 47.0
grow_horizontal = 0
placeholder_text = "Youtube link(can be playlist)"
[node name="YTDownload" type="Button" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
offset_left = -29.0
offset_top = 70.465
offset_right = 58.0
offset_bottom = 110.465
focus_mode = 0
text = "Download"
[node name="LoadingIMG" type="Sprite2D" parent="YoutubeMenuHolder/Youtube menu"]
position = Vector2(80, 90.165)
rotation = 1.5708
scale = Vector2(-0.5, 0.5)
texture = ExtResource("13_de5ej")
script = ExtResource("14_rhw4k")
[node name="Label" type="Label" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 0
offset_left = -27.795
offset_top = 49.0
offset_right = 197.205
offset_bottom = 72.0
text = "NOTE: speeds depend on your internet"
label_settings = SubResource("LabelSettings_fiiw4")
[node name="Version" type="Label" parent="."]
offset_left = 1083.0
offset_top = 625.0
offset_right = 1147.0
offset_bottom = 648.0
text = "v1.0.3"
horizontal_alignment = 2
[node name="WavDisclaimer" type="AcceptDialog" parent="."]
transparent_bg = true
title = "WAV disclaimer"
initial_position = 4
size = Vector2i(256, 100)
transparent = true
popup_window = true
force_native = true
dialog_text = "wav files are not supported yet"
[connection signal="pressed" from="SettingsButton" to="SettingsButton" method="_on_pressed"]
[connection signal="toggled" from="SearchToggle" to="SearchToggle" method="_on_toggled"]
[connection signal="text_submitted" from="SearchBar" to="SearchBar" method="_on_text_submitted"]
[connection signal="index_pressed" from="SearchResults" to="SearchBar" method="_on_search_results_index_pressed"]
[connection signal="toggled" from="VolumeButton" to="VolumeButton" method="_on_toggled"]
[connection signal="toggled" from="YtTabButton" to="YtTabButton" method="_on_toggled"]
+448
View File
@@ -0,0 +1,448 @@
[gd_scene load_steps=50 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"]
[ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"]
[ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"]
[ext_resource type="Texture2D" uid="uid://snne8iiftksi" path="res://Evening_view_of_Munnar_1633.jpg" id="6_5vm0w"]
[ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"]
[ext_resource type="Texture2D" uid="uid://ctb4s2nks73rx" path="res://Play.png" id="8_5v7u3"]
[ext_resource type="Shader" path="res://CoverShader.gdshader" id="8_4531v"]
[ext_resource type="Shader" path="res://Main.gdshader" id="10_20857"]
[ext_resource type="Texture2D" uid="uid://b00wlqid2jdvi" path="res://BigLogo.png" id="10_xnj6a"]
[ext_resource type="Texture2D" uid="uid://0r1tx6l1lc6x" path="res://settingscog.png" id="11_esjel"]
[ext_resource type="Script" path="res://cover.gd" id="12_3v50a"]
[ext_resource type="Script" path="res://settings_button.gd" id="12_073mb"]
[ext_resource type="Texture2D" uid="uid://bdpat2sfflaxq" path="res://Youtube_logo.png" id="12_bc5ym"]
[ext_resource type="Texture2D" uid="uid://myq6n4bshduj" path="res://search.png" id="12_cv2gm"]
[ext_resource type="Script" path="res://search_bar.gd" id="12_mr42x"]
[ext_resource type="Script" path="res://search_toggle.gd" id="13_5illk"]
[ext_resource type="PackedScene" uid="uid://dqg674t6kun4e" path="res://Settings.tscn" id="13_7atry"]
[ext_resource type="Texture2D" uid="uid://b5eims5ucn81r" path="res://Loding.png" id="13_de5ej"]
[ext_resource type="Script" path="res://volume_button.gd" id="14_7q3ja"]
[ext_resource type="Texture2D" uid="uid://1rstn6r2wisy" path="res://X.png" id="14_mioc4"]
[ext_resource type="Script" path="res://Spinning.gd" id="14_rhw4k"]
[ext_resource type="Script" path="res://yt_tab_button.gd" id="16_2t15p"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ku7tv"]
shader = ExtResource("10_20857")
shader_parameter/intensity = 1.0
[sub_resource type="Gradient" id="Gradient_7vgyc"]
offsets = PackedFloat32Array(0.00292398, 0.845029)
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bhdch"]
gradient = SubResource("Gradient_7vgyc")
fill_to = Vector2(0, 1)
[sub_resource type="Gradient" id="Gradient_hqvtw"]
offsets = PackedFloat32Array(0.459016, 0.565574, 0.704918, 0.827869, 0.92623, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.132947, 0.132947, 0.132947, 0.867053, 0.286885, 0.286885, 0.286885, 0.713115, 0.536475, 0.536475, 0.536475, 0.463525, 0.790666, 0.790666, 0.790666, 0.209334, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_50sv0"]
gradient = SubResource("Gradient_hqvtw")
fill = 1
fill_from = Vector2(0, 1)
fill_to = Vector2(1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3bw0j"]
shader = ExtResource("8_4531v")
shader_parameter/dissolve = SubResource("GradientTexture2D_50sv0")
[sub_resource type="InputEventKey" id="InputEventKey_x0ps1"]
device = -1
ctrl_pressed = true
keycode = 68
[sub_resource type="Shortcut" id="Shortcut_vp2fh"]
events = [SubResource("InputEventKey_x0ps1")]
[sub_resource type="InputEventKey" id="InputEventKey_0jlka"]
device = -1
ctrl_pressed = true
keycode = 82
[sub_resource type="Shortcut" id="Shortcut_axi6u"]
events = [SubResource("InputEventKey_0jlka")]
[sub_resource type="InputEventKey" id="InputEventKey_117g0"]
device = -1
ctrl_pressed = true
keycode = 83
[sub_resource type="Shortcut" id="Shortcut_8p5o4"]
events = [SubResource("InputEventKey_117g0")]
[sub_resource type="InputEventKey" id="InputEventKey_5af16"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="Shortcut" id="Shortcut_0ov5v"]
events = [SubResource("InputEventKey_5af16")]
[sub_resource type="InputEventKey" id="InputEventKey_l1ahe"]
device = -1
keycode = 4194321
[sub_resource type="Shortcut" id="Shortcut_qw6pv"]
events = [SubResource("InputEventKey_l1ahe")]
[sub_resource type="InputEventKey" id="InputEventKey_c5qef"]
device = -1
keycode = 76
unicode = 108
[sub_resource type="Shortcut" id="Shortcut_vot6l"]
events = [SubResource("InputEventKey_c5qef")]
[sub_resource type="InputEventKey" id="InputEventKey_y4cc2"]
device = -1
keycode = 4194319
[sub_resource type="Shortcut" id="Shortcut_xu6hm"]
events = [SubResource("InputEventKey_y4cc2")]
[sub_resource type="LabelSettings" id="LabelSettings_6prit"]
font_size = 22
outline_size = 3
outline_color = Color(0.215902, 0.215902, 0.215902, 1)
[sub_resource type="InputEventKey" id="InputEventKey_puhgg"]
device = -1
ctrl_pressed = true
keycode = 81
[sub_resource type="Shortcut" id="Shortcut_g3fcr"]
events = [SubResource("InputEventKey_puhgg")]
[node name="Node2D" type="Node2D"]
script = ExtResource("1_ubs1p")
LoopPressed = ExtResource("2_iolk5")
LoopNotPressed = ExtResource("5_c2g63")
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
script = ExtResource("4_y372l")
Daytime = NodePath("../Daytime")
Evening = NodePath("../Evening")
Nighttime = NodePath("../Nighttime")
[node name="Daytime" type="Sprite2D" parent="."]
position = Vector2(576.949, 401)
scale = Vector2(1.27923, 1.25956)
texture = ExtResource("2_wf35v")
[node name="Evening" type="Sprite2D" parent="."]
visible = false
position = Vector2(582, 342)
scale = Vector2(1.00181, 1.00181)
texture = ExtResource("6_5vm0w")
[node name="Nighttime" type="Sprite2D" parent="."]
visible = false
modulate = Color(0.347817, 0.347817, 0.347817, 1)
position = Vector2(610, 326)
scale = Vector2(1.49056, 1.51111)
texture = ExtResource("6_8abnc")
[node name="PausedIndicator" type="TextureRect" parent="."]
material = SubResource("ShaderMaterial_ku7tv")
offset_left = -10.0
offset_top = 468.0
offset_right = 1161.0
offset_bottom = 657.0
texture = SubResource("GradientTexture2D_bhdch")
[node name="CoverHolder" type="Node2D" parent="."]
position = Vector2(-3, 649)
[node name="Cover" type="Sprite2D" parent="CoverHolder"]
modulate = Color(1, 1, 1, 0.592157)
material = SubResource("ShaderMaterial_3bw0j")
position = Vector2(200, -122.333)
scale = Vector2(0.333333, 0.333333)
region_rect = Rect2(142.036, 106.625, 632.359, 516.605)
region_filter_clip_enabled = true
script = ExtResource("12_3v50a")
[node name="SelectPlaylist" type="Button" parent="."]
offset_left = 20.0
offset_top = 24.0
offset_right = 255.0
offset_bottom = 80.0
focus_mode = 0
shortcut = SubResource("Shortcut_vp2fh")
text = "select the directory
(playlist's folder)"
[node name="RandomizeList" type="Button" parent="."]
offset_left = 897.0
offset_top = 24.0
offset_right = 1065.0
offset_bottom = 80.0
focus_mode = 0
shortcut = SubResource("Shortcut_axi6u")
text = "Randomize"
[node name="SettingsButton" type="Button" parent="."]
offset_left = 1073.0
offset_top = 24.0
offset_right = 1145.0
offset_bottom = 96.0
scale = Vector2(0.79, 0.79)
focus_mode = 0
shortcut = SubResource("Shortcut_8p5o4")
icon = ExtResource("11_esjel")
script = ExtResource("12_073mb")
[node name="SettingsPopup" type="Popup" parent="."]
position = Vector2i(265, 110)
size = Vector2i(575, 458)
visible = true
[node name="SettingsMenuChild" parent="SettingsPopup" instance=ExtResource("13_7atry")]
offset_left = -272.0
offset_top = 8.0
offset_right = 288.0
offset_bottom = 458.0
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(28, 115)
size = Vector2i(576, 507)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
bus = &"Music"
[node name="playList" type="Button" parent="."]
offset_left = 20.0
offset_top = 572.0
offset_right = 92.0
offset_bottom = 644.0
scale = Vector2(0.5, 0.5)
focus_mode = 0
shortcut = SubResource("Shortcut_0ov5v")
icon = ExtResource("8_5v7u3")
[node name="CurrentProgress" type="HSlider" parent="."]
offset_left = 64.0
offset_top = 560.0
offset_right = 944.0
offset_bottom = 624.0
max_value = 1000.0
ticks_on_borders = true
[node name="Skip" type="Button" parent="."]
offset_left = 1046.0
offset_top = 573.0
offset_right = 1086.0
offset_bottom = 613.0
focus_mode = 0
shortcut = SubResource("Shortcut_qw6pv")
icon = ExtResource("3_4vx67")
[node name="Loop" type="Button" parent="."]
offset_left = 1000.0
offset_top = 573.0
offset_right = 1040.0
offset_bottom = 613.0
focus_mode = 0
shortcut = SubResource("Shortcut_vot6l")
icon = ExtResource("5_c2g63")
[node name="GoBack" type="Button" parent="."]
offset_left = 994.0
offset_top = 613.0
offset_right = 1034.0
offset_bottom = 653.0
rotation = 3.14159
focus_mode = 0
shortcut = SubResource("Shortcut_xu6hm")
icon = ExtResource("3_4vx67")
[node name="SongName" type="Label" parent="."]
offset_left = 66.0
offset_top = 524.0
offset_right = 994.0
offset_bottom = 581.0
text = "Please select a directory"
label_settings = SubResource("LabelSettings_6prit")
clip_text = true
text_overrun_behavior = 2
[node name="SearchToggle" type="Button" parent="."]
offset_left = 833.0
offset_top = 24.0
offset_right = 905.0
offset_bottom = 96.0
scale = Vector2(0.79, 0.79)
focus_mode = 0
toggle_mode = true
shortcut = SubResource("Shortcut_g3fcr")
icon = ExtResource("12_cv2gm")
script = ExtResource("13_5illk")
PressedIcon = ExtResource("14_mioc4")
NotPressedIcon = ExtResource("12_cv2gm")
[node name="SearchBar" type="LineEdit" parent="."]
visible = false
offset_left = 265.0
offset_top = 24.0
offset_right = 825.0
offset_bottom = 80.0
focus_mode = 1
placeholder_text = "Search"
alignment = 1
caret_blink = true
script = ExtResource("12_mr42x")
[node name="SongsMenu" type="MenuButton" parent="."]
offset_left = 265.0
offset_top = 24.0
offset_right = 825.0
offset_bottom = 80.0
text = "Select Songs"
flat = false
[node name="SearchResults" type="PopupMenu" parent="."]
handle_input_locally = false
position = Vector2i(265, 80)
size = Vector2i(623, 300)
wrap_controls = false
max_size = Vector2i(625, 300)
allow_search = false
[node name="VolumeButton" type="Button" parent="."]
offset_left = 1092.0
offset_top = 573.0
offset_right = 1132.0
offset_bottom = 613.0
focus_mode = 0
toggle_mode = true
icon = ExtResource("6_3mi6c")
script = ExtResource("14_7q3ja")
[node name="VolumeSlider" type="VSlider" parent="."]
layout_direction = 3
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -1121.0
offset_top = 563.0
offset_right = -1103.0
offset_bottom = 571.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 1
size_flags_vertical = 8
value = 100.0
[node name="Logo" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.686275)
position = Vector2(192, 162)
scale = Vector2(0.159259, 0.159259)
texture = ExtResource("10_xnj6a")
[node name="TimeListeningSong" type="Label" parent="."]
offset_left = 66.0
offset_top = 597.0
offset_right = 178.0
offset_bottom = 633.0
[node name="DiscordMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 1042.0
offset_top = 174.0
offset_right = 1082.0
offset_bottom = 214.0
[node name="YtTabButton" type="Button" parent="."]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = 1065.0
offset_top = 107.0
offset_right = 1713.0
offset_bottom = 558.0
grow_horizontal = 0
scale = Vector2(0.105, 0.105)
focus_mode = 0
toggle_mode = true
icon = ExtResource("12_bc5ym")
flat = true
script = ExtResource("16_2t15p")
[node name="YoutubeMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 794.0
offset_top = 107.0
offset_right = 834.0
offset_bottom = 147.0
[node name="Youtube menu" type="Control" parent="YoutubeMenuHolder"]
layout_mode = 3
anchors_preset = 0
offset_right = 200.0
offset_bottom = 363.0
[node name="YTLink" type="LineEdit" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -229.0
offset_bottom = 47.0
grow_horizontal = 0
placeholder_text = "Youtube link(can be playlist)"
[node name="YTDownload" type="Button" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
offset_left = -29.0
offset_top = 58.0
offset_right = 58.0
offset_bottom = 98.0
focus_mode = 0
text = "Download"
[node name="LoadingIMG" type="Sprite2D" parent="YoutubeMenuHolder/Youtube menu"]
position = Vector2(80, 78)
rotation = 1.5708
scale = Vector2(-0.5, 0.5)
texture = ExtResource("13_de5ej")
script = ExtResource("14_rhw4k")
[node name="Version" type="Label" parent="."]
offset_left = 1083.0
offset_top = 625.0
offset_right = 1147.0
offset_bottom = 648.0
text = "v1.0.1"
horizontal_alignment = 2
[node name="WavDisclaimer" type="AcceptDialog" parent="."]
transparent_bg = true
title = "WAV disclaimer"
initial_position = 4
size = Vector2i(256, 100)
transparent = true
popup_window = true
force_native = true
dialog_text = "wav files are not supported yet"
[connection signal="pressed" from="SettingsButton" to="SettingsButton" method="_on_pressed"]
[connection signal="toggled" from="SearchToggle" to="SearchToggle" method="_on_toggled"]
[connection signal="text_submitted" from="SearchBar" to="SearchBar" method="_on_text_submitted"]
[connection signal="index_pressed" from="SearchResults" to="SearchBar" method="_on_search_results_index_pressed"]
[connection signal="toggled" from="VolumeButton" to="VolumeButton" method="_on_toggled"]
[connection signal="toggled" from="YtTabButton" to="YtTabButton" method="_on_toggled"]
+20
View File
@@ -0,0 +1,20 @@
shader_type canvas_item;
uniform float intensity;
uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
vec4 as = texture(screen_texture,SCREEN_UV);
vec4 a2s = texture(TEXTURE,UV);
vec4 fart = a2s * (0.1 + as.bgra);
COLOR = fart * intensity;
}
//void light() {
// Called for every pixel for every light affecting the CanvasItem.
// Uncomment to replace the default light processing function with this one.
//}
+846
View File
@@ -0,0 +1,846 @@
[gd_scene load_steps=59 format=3 uid="uid://b2sygl55s6fng"]
[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"]
[ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"]
[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="2_wf35v"]
[ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"]
[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"]
[ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"]
[ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"]
[ext_resource type="Texture2D" uid="uid://snne8iiftksi" path="res://Evening_view_of_Munnar_1633.jpg" id="6_5vm0w"]
[ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"]
[ext_resource type="Texture2D" uid="uid://ctb4s2nks73rx" path="res://Play.png" id="8_5v7u3"]
[ext_resource type="Shader" path="res://CoverShader.gdshader" id="8_4531v"]
[ext_resource type="Shader" path="res://Main.gdshader" id="10_20857"]
[ext_resource type="Texture2D" uid="uid://b00wlqid2jdvi" path="res://BigLogo.png" id="10_xnj6a"]
[ext_resource type="Texture2D" uid="uid://0r1tx6l1lc6x" path="res://settingscog.png" id="11_esjel"]
[ext_resource type="Script" path="res://cover.gd" id="12_3v50a"]
[ext_resource type="Script" path="res://playlists_panel.gd" id="12_8ie8y"]
[ext_resource type="Script" path="res://settings_button.gd" id="12_073mb"]
[ext_resource type="Texture2D" uid="uid://bdpat2sfflaxq" path="res://Youtube_logo.png" id="12_bc5ym"]
[ext_resource type="Texture2D" uid="uid://myq6n4bshduj" path="res://search.png" id="12_cv2gm"]
[ext_resource type="Script" path="res://search_bar.gd" id="12_mr42x"]
[ext_resource type="Script" path="res://select_playlist.gd" id="12_of5fe"]
[ext_resource type="Script" path="res://search_toggle.gd" id="13_5illk"]
[ext_resource type="PackedScene" uid="uid://dqg674t6kun4e" path="res://Settings.tscn" id="13_7atry"]
[ext_resource type="Script" path="res://create_playlists_menu.gd" id="13_asgvh"]
[ext_resource type="Texture2D" uid="uid://b5eims5ucn81r" path="res://Loding.png" id="13_de5ej"]
[ext_resource type="Script" path="res://volume_button.gd" id="14_7q3ja"]
[ext_resource type="Texture2D" uid="uid://1rstn6r2wisy" path="res://X.png" id="14_mioc4"]
[ext_resource type="Script" path="res://Spinning.gd" id="14_rhw4k"]
[ext_resource type="Script" path="res://yt_tab_button.gd" id="16_2t15p"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ku7tv"]
shader = ExtResource("10_20857")
shader_parameter/intensity = 1.0
[sub_resource type="Gradient" id="Gradient_7vgyc"]
offsets = PackedFloat32Array(0.00292398, 0.845029)
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bhdch"]
gradient = SubResource("Gradient_7vgyc")
fill_to = Vector2(0, 1)
[sub_resource type="Gradient" id="Gradient_hqvtw"]
offsets = PackedFloat32Array(0.459016, 0.565574, 0.704918, 0.827869, 0.92623, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.132947, 0.132947, 0.132947, 0.867053, 0.286885, 0.286885, 0.286885, 0.713115, 0.536475, 0.536475, 0.536475, 0.463525, 0.790666, 0.790666, 0.790666, 0.209334, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_50sv0"]
gradient = SubResource("Gradient_hqvtw")
fill = 1
fill_from = Vector2(0, 1)
fill_to = Vector2(1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3bw0j"]
shader = ExtResource("8_4531v")
shader_parameter/dissolve = SubResource("GradientTexture2D_50sv0")
[sub_resource type="InputEventKey" id="InputEventKey_x0ps1"]
device = -1
ctrl_pressed = true
keycode = 68
[sub_resource type="Shortcut" id="Shortcut_vp2fh"]
events = [SubResource("InputEventKey_x0ps1")]
[sub_resource type="LabelSettings" id="LabelSettings_0fjy0"]
font_size = 21
[sub_resource type="LabelSettings" id="LabelSettings_fiiw4"]
font_size = 12
[sub_resource type="LabelSettings" id="LabelSettings_v1ivf"]
font_size = 24
[sub_resource type="LabelSettings" id="LabelSettings_4yehb"]
font_size = 17
[sub_resource type="InputEventKey" id="InputEventKey_0jlka"]
device = -1
ctrl_pressed = true
keycode = 82
[sub_resource type="Shortcut" id="Shortcut_axi6u"]
events = [SubResource("InputEventKey_0jlka")]
[sub_resource type="InputEventKey" id="InputEventKey_117g0"]
device = -1
ctrl_pressed = true
keycode = 83
[sub_resource type="Shortcut" id="Shortcut_8p5o4"]
events = [SubResource("InputEventKey_117g0")]
[sub_resource type="InputEventKey" id="InputEventKey_5af16"]
device = -1
keycode = 32
unicode = 32
[sub_resource type="Shortcut" id="Shortcut_0ov5v"]
events = [SubResource("InputEventKey_5af16")]
[sub_resource type="InputEventKey" id="InputEventKey_l1ahe"]
device = -1
keycode = 4194321
[sub_resource type="Shortcut" id="Shortcut_qw6pv"]
events = [SubResource("InputEventKey_l1ahe")]
[sub_resource type="InputEventKey" id="InputEventKey_c5qef"]
device = -1
keycode = 76
unicode = 108
[sub_resource type="Shortcut" id="Shortcut_vot6l"]
events = [SubResource("InputEventKey_c5qef")]
[sub_resource type="InputEventKey" id="InputEventKey_y4cc2"]
device = -1
keycode = 4194319
[sub_resource type="Shortcut" id="Shortcut_xu6hm"]
events = [SubResource("InputEventKey_y4cc2")]
[sub_resource type="LabelSettings" id="LabelSettings_6prit"]
font_size = 22
outline_size = 3
outline_color = Color(0.215902, 0.215902, 0.215902, 1)
[sub_resource type="LabelSettings" id="LabelSettings_jg5vn"]
font_size = 15
outline_size = 3
outline_color = Color(0.393086, 0.393086, 0.393085, 1)
[sub_resource type="LabelSettings" id="LabelSettings_6um0v"]
font_size = 15
outline_size = 3
outline_color = Color(0.393086, 0.393086, 0.393085, 1)
[sub_resource type="InputEventKey" id="InputEventKey_puhgg"]
device = -1
ctrl_pressed = true
keycode = 81
[sub_resource type="Shortcut" id="Shortcut_g3fcr"]
events = [SubResource("InputEventKey_puhgg")]
[node name="Node2D" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ubs1p")
LoopPressed = ExtResource("2_iolk5")
LoopNotPressed = ExtResource("5_c2g63")
[node name="WallpaperManager" type="Node2D" parent="." node_paths=PackedStringArray("Daytime", "Evening", "Nighttime")]
script = ExtResource("4_y372l")
Daytime = NodePath("../Daytime")
Evening = NodePath("../Evening")
Nighttime = NodePath("../Nighttime")
[node name="Daytime" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_wf35v")
stretch_mode = 6
[node name="Evening" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("6_5vm0w")
stretch_mode = 6
[node name="Nighttime" type="TextureRect" parent="."]
visible = false
modulate = Color(0.347817, 0.347817, 0.347817, 1)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("6_8abnc")
stretch_mode = 6
[node name="UserBG" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
expand_mode = 5
stretch_mode = 6
[node name="Logo" type="Sprite2D" parent="."]
visible = false
modulate = Color(1, 1, 1, 0.686275)
position = Vector2(192, 162)
scale = Vector2(0.159259, 0.159259)
texture = ExtResource("10_xnj6a")
[node name="PausedIndicator" type="TextureRect" parent="."]
material = SubResource("ShaderMaterial_ku7tv")
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -164.0
grow_horizontal = 2
grow_vertical = 0
texture = SubResource("GradientTexture2D_bhdch")
[node name="CoverHolder" type="Control" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -3.0
offset_top = 1.0
offset_right = -3.0
offset_bottom = 1.0
grow_vertical = 0
[node name="Cover" type="Sprite2D" parent="CoverHolder"]
modulate = Color(1, 1, 1, 0.592157)
material = SubResource("ShaderMaterial_3bw0j")
scale = Vector2(0.333333, 0.333333)
region_rect = Rect2(142.036, 106.625, 632.359, 516.605)
region_filter_clip_enabled = true
script = ExtResource("12_3v50a")
[node name="SelectPlaylist" type="Button" parent="."]
layout_mode = 0
offset_left = 20.0
offset_top = 24.0
offset_right = 257.0
offset_bottom = 80.0
focus_mode = 0
toggle_mode = true
shortcut = SubResource("Shortcut_vp2fh")
text = "Playlists"
script = ExtResource("12_of5fe")
[node name="PlaylistsPanel" type="Control" parent="."]
visible = false
layout_mode = 2
anchors_preset = 0
anchor_bottom = 1.0
offset_left = 19.0
offset_top = 88.0
offset_right = 393.0
offset_bottom = -132.0
grow_vertical = 2
script = ExtResource("12_8ie8y")
metadata/_edit_use_anchors_ = true
[node name="ColorRect" type="ColorRect" parent="PlaylistsPanel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.14902, 0.14902, 0.14902, 1)
[node name="PlaylistsContainer" type="ScrollContainer" parent="PlaylistsPanel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0174419
anchor_top = 0.0162455
anchor_right = 0.982558
anchor_bottom = 0.987365
grow_horizontal = 2
grow_vertical = 2
follow_focus = true
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="PlaylistsPanel/PlaylistsContainer"]
custom_minimum_size = Vector2(365.295, 0)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 0
[node name="Label" type="Label" parent="PlaylistsPanel/PlaylistsContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
text = "PLAYLISTS"
label_settings = SubResource("LabelSettings_0fjy0")
[node name="HBoxContainer" type="HBoxContainer" parent="PlaylistsPanel/PlaylistsContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
size_flags_stretch_ratio = 0.0
alignment = 1
[node name="CreatePlaylist" type="Button" parent="PlaylistsPanel/PlaylistsContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(155, 42.335)
layout_mode = 2
focus_mode = 0
text = "Create
Playlist"
[node name="Control" type="Control" parent="PlaylistsPanel/PlaylistsContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(7.55, 0)
layout_mode = 2
[node name="PlayAll" type="Button" parent="PlaylistsPanel/PlaylistsContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(155, 42.335)
layout_mode = 2
focus_mode = 0
toggle_mode = true
text = "Play all"
[node name="PlaylistsHolder" type="VBoxContainer" parent="PlaylistsPanel/PlaylistsContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
alignment = 1
[node name="YoutubeMenuHolder" type="Control" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -391.17
offset_top = 107.0
offset_right = -351.17
offset_bottom = 147.0
grow_horizontal = 0
[node name="Youtube menu" type="Control" parent="YoutubeMenuHolder"]
layout_mode = 1
anchors_preset = 0
offset_right = 230.0
offset_bottom = 110.0
[node name="ColorRect" type="ColorRect" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -7.0
offset_top = -5.0
offset_right = 7.0
offset_bottom = 5.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.14902, 0.14902, 0.14902, 1)
[node name="YTLink" type="LineEdit" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
offset_right = 229.0
offset_bottom = 47.0
placeholder_text = "Youtube link(can be playlist)"
[node name="YTDownload" type="Button" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 1
offset_left = 1.0
offset_top = 70.0
offset_right = 88.0
offset_bottom = 110.0
focus_mode = 0
text = "Download"
[node name="LoadingIMG" type="Sprite2D" parent="YoutubeMenuHolder/Youtube menu"]
position = Vector2(108, 91)
rotation = 1.5708
scale = Vector2(-0.5, 0.5)
texture = ExtResource("13_de5ej")
script = ExtResource("14_rhw4k")
[node name="Label" type="Label" parent="YoutubeMenuHolder/Youtube menu"]
layout_mode = 0
offset_left = 1.99998
offset_top = 49.0
offset_right = 227.0
offset_bottom = 72.0
text = "NOTE: speeds depend on your internet"
label_settings = SubResource("LabelSettings_fiiw4")
[node name="CreatePlaylistsMenu" type="Control" parent="."]
visible = false
layout_mode = 1
anchor_left = 0.300347
anchor_top = 0.243827
anchor_right = 0.671007
anchor_bottom = 0.665123
offset_top = -1.52588e-05
script = ExtResource("13_asgvh")
metadata/_edit_use_anchors_ = true
[node name="ColorRect" type="ColorRect" parent="CreatePlaylistsMenu"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.14902, 0.14902, 0.14902, 1)
[node name="FileDialog" type="FileDialog" parent="CreatePlaylistsMenu"]
title = "Open a Directory"
size = Vector2i(352, 180)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="ScrollContainer" type="ScrollContainer" parent="CreatePlaylistsMenu"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 15.0
offset_top = 13.0
offset_right = -15.0
offset_bottom = -13.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CreatePlaylistsMenu/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Title" type="Label" parent="CreatePlaylistsMenu/ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "CREATE PLAYLIST"
label_settings = SubResource("LabelSettings_v1ivf")
[node name="PlaylistName" type="LineEdit" parent="CreatePlaylistsMenu/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(325.08, 0)
layout_mode = 2
size_flags_horizontal = 4
placeholder_text = "Playlist name"
[node name="GoodIndicator" type="Label" parent="CreatePlaylistsMenu/ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
label_settings = SubResource("LabelSettings_4yehb")
[node name="Seperator" type="Control" parent="CreatePlaylistsMenu/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 6)
layout_mode = 2
[node name="SelectDirButton" type="Button" parent="CreatePlaylistsMenu/ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "Select directory"
[node name="CurrentDirectory" type="Label" parent="CreatePlaylistsMenu/ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "No directory selected"
[node name="Seperator2" type="Control" parent="CreatePlaylistsMenu/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 14.865)
layout_mode = 2
[node name="CreatePlaylistButton" type="Button" parent="CreatePlaylistsMenu/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(142.22, 43.1)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
disabled = true
text = "Create Playlist"
[node name="CloseButton" type="Button" parent="CreatePlaylistsMenu"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -72.0
offset_bottom = 72.0
grow_horizontal = 0
focus_mode = 0
icon = ExtResource("14_mioc4")
flat = true
[node name="RandomizeList" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -254.0
offset_top = 24.0
offset_right = -86.0
offset_bottom = 80.0
grow_horizontal = 0
focus_mode = 0
shortcut = SubResource("Shortcut_axi6u")
text = "Randomize"
[node name="SettingsButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -77.0
offset_top = 23.0
offset_right = -5.0
offset_bottom = 95.0
grow_horizontal = 0
scale = Vector2(0.79, 0.79)
focus_mode = 0
shortcut = SubResource("Shortcut_8p5o4")
icon = ExtResource("11_esjel")
script = ExtResource("12_073mb")
[node name="SettingsPopup" type="Popup" parent="."]
position = Vector2i(319, 85)
size = Vector2i(591, 501)
[node name="SettingsMenuChild" parent="SettingsPopup" instance=ExtResource("13_7atry")]
offset_left = -272.0
offset_top = 8.0
offset_bottom = 458.0
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
position = Vector2i(28, 115)
size = Vector2i(576, 507)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
volume_db = -4.0
bus = &"Music"
[node name="playList" type="Button" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 20.0
offset_top = -77.0
offset_right = 92.0
offset_bottom = -5.0
grow_vertical = 0
scale = Vector2(0.5, 0.5)
focus_mode = 0
shortcut = SubResource("Shortcut_0ov5v")
icon = ExtResource("8_5v7u3")
[node name="CurrentProgress" type="HSlider" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 64.0
offset_top = -88.0
offset_right = -211.0
offset_bottom = -24.0
grow_horizontal = 2
grow_vertical = 0
max_value = 1000.0
ticks_on_borders = true
[node name="Skip" type="Button" parent="."]
texture_filter = 1
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -105.0
offset_top = -75.0
offset_right = -65.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
shortcut = SubResource("Shortcut_qw6pv")
icon = ExtResource("3_4vx67")
[node name="Loop" type="Button" parent="."]
texture_filter = 1
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -152.0
offset_top = -75.0
offset_right = -112.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
shortcut = SubResource("Shortcut_vot6l")
icon = ExtResource("5_c2g63")
[node name="GoBack" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -157.0
offset_top = -35.0
offset_right = -117.0
offset_bottom = 5.0
grow_horizontal = 0
grow_vertical = 0
rotation = 3.14159
focus_mode = 0
shortcut = SubResource("Shortcut_xu6hm")
icon = ExtResource("3_4vx67")
[node name="SongName" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 67.0
offset_top = -120.0
offset_right = -200.0
offset_bottom = -89.0
grow_horizontal = 2
grow_vertical = 0
text = "Please select a directory"
label_settings = SubResource("LabelSettings_6prit")
clip_text = true
text_overrun_behavior = 2
[node name="ArtistName" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 68.0
offset_top = -99.0
offset_right = -199.0
offset_bottom = -68.0
grow_horizontal = 2
grow_vertical = 0
text = "Artist name"
label_settings = SubResource("LabelSettings_jg5vn")
clip_text = true
text_overrun_behavior = 2
[node name="Album" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 68.0
offset_top = -84.0
offset_right = -199.0
offset_bottom = -53.0
grow_horizontal = 2
grow_vertical = 0
text = "Album"
label_settings = SubResource("LabelSettings_6um0v")
clip_text = true
text_overrun_behavior = 2
[node name="SearchToggle" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -318.0
offset_top = 24.0
offset_right = -246.0
offset_bottom = 96.0
grow_horizontal = 0
scale = Vector2(0.79, 0.79)
focus_mode = 0
toggle_mode = true
shortcut = SubResource("Shortcut_g3fcr")
icon = ExtResource("12_cv2gm")
script = ExtResource("13_5illk")
PressedIcon = ExtResource("14_mioc4")
NotPressedIcon = ExtResource("12_cv2gm")
[node name="SearchBar" type="LineEdit" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
offset_left = 264.0
offset_top = 24.0
offset_right = -328.0
offset_bottom = 80.0
grow_horizontal = 2
focus_mode = 1
placeholder_text = "Search"
alignment = 1
caret_blink = true
script = ExtResource("12_mr42x")
[node name="SongsMenu" type="MenuButton" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
offset_left = 264.0
offset_top = 24.0
offset_right = -328.0
offset_bottom = 80.0
grow_horizontal = 2
text = "Select Songs"
flat = false
[node name="SearchResults" type="PopupMenu" parent="."]
handle_input_locally = false
position = Vector2i(265, 80)
size = Vector2i(623, 300)
wrap_controls = false
max_size = Vector2i(625, 300)
allow_search = false
[node name="VolumeButton" type="Button" parent="."]
texture_filter = 1
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -58.0
offset_top = -75.0
offset_right = -18.0
offset_bottom = -35.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
toggle_mode = true
icon = ExtResource("6_3mi6c")
script = ExtResource("14_7q3ja")
[node name="VolumeSlider" type="VSlider" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -46.0
offset_top = -83.0
offset_right = -30.0
offset_bottom = -75.0
grow_horizontal = 0
grow_vertical = 0
size_flags_horizontal = 1
size_flags_vertical = 8
value = 100.0
[node name="TimeListeningSong" type="Label" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 67.0
offset_top = -47.0
offset_right = 179.0
offset_bottom = -11.0
grow_vertical = 0
[node name="DiscordMenuHolder" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 1042.0
offset_top = 174.0
offset_right = 1082.0
offset_bottom = 214.0
[node name="YtTabButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -97.0
offset_top = 109.0
offset_right = 551.0
offset_bottom = 560.0
grow_horizontal = 0
grow_vertical = 2
scale = Vector2(0.105, 0.105)
focus_mode = 0
toggle_mode = true
icon = ExtResource("12_bc5ym")
flat = true
script = ExtResource("16_2t15p")
[node name="Version" type="Label" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -64.0
offset_top = -23.0
grow_horizontal = 0
grow_vertical = 0
text = "v1.3.0"
horizontal_alignment = 2
[node name="WavDisclaimer" type="AcceptDialog" parent="."]
transparent_bg = true
title = "WAV disclaimer"
initial_position = 4
size = Vector2i(256, 100)
transparent = true
popup_window = true
force_native = true
dialog_text = "wav files are not supported yet"
[connection signal="toggled" from="SelectPlaylist" to="SelectPlaylist" method="_on_toggled"]
[connection signal="pressed" from="PlaylistsPanel/PlaylistsContainer/VBoxContainer/HBoxContainer/CreatePlaylist" to="PlaylistsPanel" method="_on_create_playlist_pressed"]
[connection signal="toggled" from="PlaylistsPanel/PlaylistsContainer/VBoxContainer/HBoxContainer/PlayAll" to="PlaylistsPanel" method="_on_play_all_toggled"]
[connection signal="dir_selected" from="CreatePlaylistsMenu/FileDialog" to="CreatePlaylistsMenu" method="_on_file_dialog_dir_selected"]
[connection signal="text_changed" from="CreatePlaylistsMenu/ScrollContainer/VBoxContainer/PlaylistName" to="CreatePlaylistsMenu" method="_on_playlist_name_text_changed"]
[connection signal="pressed" from="CreatePlaylistsMenu/ScrollContainer/VBoxContainer/SelectDirButton" to="CreatePlaylistsMenu" method="_on_select_dir_button_pressed"]
[connection signal="pressed" from="CreatePlaylistsMenu/ScrollContainer/VBoxContainer/CreatePlaylistButton" to="CreatePlaylistsMenu" method="_on_create_playlist_button_pressed"]
[connection signal="pressed" from="CreatePlaylistsMenu/CloseButton" to="CreatePlaylistsMenu" method="_on_close_button_pressed"]
[connection signal="pressed" from="SettingsButton" to="SettingsButton" method="_on_pressed"]
[connection signal="toggled" from="SearchToggle" to="SearchToggle" method="_on_toggled"]
[connection signal="text_submitted" from="SearchBar" to="SearchBar" method="_on_text_submitted"]
[connection signal="index_pressed" from="SearchResults" to="SearchBar" method="_on_search_results_index_pressed"]
[connection signal="toggled" from="VolumeButton" to="VolumeButton" method="_on_toggled"]
[connection signal="toggled" from="YtTabButton" to="YtTabButton" method="_on_toggled"]
@@ -0,0 +1,144 @@
extends Node
class_name MusicMeta
class MusicMetadata:
var error: Error
var bpm: int
var title: String
var album: String
var comments: String
var year: int
var artist: String
var cover: ImageTexture
func print_info():
print("bpm: ", bpm)
print("title: ", title)
print("album: ", album)
print("comments: ", comments)
print("year: ", year)
print("cover: ", cover)
print("artist: ", artist)
func get_mp3_metadata(stream: AudioStreamMP3) -> MusicMetadata:
var meta: MusicMetadata = MusicMetadata.new()
var data: PackedByteArray = stream.data
meta.error = OK
if data.size() < 10:
meta.error = FAILED
return meta
var header = data.slice(0, 10)
var id = header.slice(0, 3).get_string_from_ascii()
if id != "ID3":
meta.error = FAILED
push_error("Error: Stream data's header '%s' is not ID3."%id)
return meta
var v = "ID3v2.%d.%d" % [header[3], header[4]]
if v == "ID3v2.4.0" or v == "ID3v2.3.0":
var flags = header[5]
var _unsync = flags & 0x80 > 0
var extended = flags & 0x40 > 0
var _experimental = flags & 0x20 > 0
var _has_footer = flags & 0x10 > 0
var idx = 10
var end = idx + bytes_to_int(header.slice(6, 10))
if extended:
idx += bytes_to_int(data.slice(idx, idx + 4))
while idx < end:
if not data:
meta.error = FAILED
push_error("Error: Stream data is null.")
return meta
var frame_id = data.slice(idx, idx + 4).get_string_from_ascii()
var size = bytes_to_int(data.slice(idx + 4, idx + 8), frame_id != "APIC")
# if greater than byte, not sync safe number (0b0111_1111 -> 0x7f)
if size > 0x7f:
size = bytes_to_int(data.slice(idx + 4, idx + 8), false)
idx += 10
match frame_id:
"TBPM", 'TBP':
meta.bpm = int(get_string_from_data(data, idx, size))
"TIT2":
print("a " + str(Array(data.slice(idx, idx + 3)).hash()))
print([1, 0xff, 0xfe].hash())
meta.title = get_string_from_data(data, idx, size)
"TALB", 'TAL':
meta.album = get_string_from_data(data, idx, size)
"COMM":
meta.comments = get_string_from_data(data, idx, size)
"TYER":
meta.year = int(get_string_from_data(data, idx, size))
"TPE1", 'TP1':
meta.artist = get_string_from_data(data, idx, size)
"APIC","PIC":
var pic_frame = data.slice(idx + 1, idx + size)
var zero1 = pic_frame.find(0)
if zero1 > 0:
var mime_type = pic_frame.slice(0, zero1).get_string_from_ascii()
zero1 += 1 # Picture type
if zero1 < pic_frame.size():
zero1 += 1
if zero1 < pic_frame.size():
var zero2 = pic_frame.find(0, zero1)
var image_bytes = pic_frame.slice(zero2 + 1, pic_frame.size())
var img = Image.new()
match mime_type:
"image/png":
img.load_png_from_buffer(image_bytes)
"image/jpeg", "image/jpg":
img.load_jpg_from_buffer(image_bytes)
_:
meta.error = FAILED
push_error("MusicMeta.get_metadata_mp3(): ERROR: mime type ", mime_type, " not yet supported...")
return meta
var t: ImageTexture = ImageTexture.new()
t.set_image(img)
meta.cover = t
idx += size
return meta
else:
meta.error = FAILED
push_error("Error: Found version '%s' from streams data; must be 'ID3v2.4.0'."%v)
return meta
func get_string_from_data(data, idx, size):
var ret
if size > 3 and Array(data.slice(idx, idx + 3)).hash() == [1, 0xff, 0xfe].hash():
# Null-terminated string of ucs2 chars
ret = get_string_from_ucs2(data.slice(idx + 3, idx + size))
if data[idx] == 0:
# Simple utf8 string
ret = data.slice(idx + 1, idx + size).get_string_from_utf8()
if ret:
return ret
else:
return ""
# Syncsafe uses 0x80 multiplier otherwise use 0x100 multiplier
func bytes_to_int(bytes: Array, is_syncsafe = true):
var mult = 0x80 if is_syncsafe else 0x100
var n = 0
for byte in bytes:
n *= mult
n += byte
return n
func get_string_from_ucs2(bytes: Array):
var s = ""
var idx = 0
while idx < (bytes.size() - 1):
s += char(bytes[idx] + 256 * bytes[idx + 1])
idx += 2
return s
@@ -0,0 +1,10 @@
@tool
extends EditorPlugin
const AUTOLOAD_NAME = "MusicMeta"
func _enter_tree():
add_autoload_singleton(AUTOLOAD_NAME, "res://addons/MusicMeta/MusicMeta.gd")
func _exit_tree():
remove_autoload_singleton(AUTOLOAD_NAME)
@@ -0,0 +1,3 @@
# MusicMeta - Godot 4 Plugin
A plugin for extracting mp3 file metadata.
@@ -0,0 +1,9 @@
extends Node
@export var Stream: AudioStreamMP3
func _ready():
var metadata := MusicMeta.new().get_mp3_metadata(Stream)
if metadata.error != OK:
return
metadata.print_info()
@@ -0,0 +1,7 @@
[plugin]
name="MusicMeta"
description="An extension that allows the extraction of ID3v2.3.0 MP3 metadata."
author="aineejames,wilcockj"
version="1.0"
script="MusicMetaPlugin.gd"
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 728 B

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ch8wymyxftkb3"
path="res://.godot/imported/Pause.png-99d81406ad159c03d8332d8485dcc99a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Pause.png"
dest_files=["res://.godot/imported/Pause.png-99d81406ad159c03d8332d8485dcc99a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctb4s2nks73rx"
path="res://.godot/imported/Play.png-6c190f94eded8f6a668bcf021d49d2ce.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Play.png"
dest_files=["res://.godot/imported/Play.png-6c190f94eded8f6a668bcf021d49d2ce.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+94
View File
@@ -0,0 +1,94 @@
[gd_scene load_steps=4 format=3 uid="uid://c33qaelwn46f4"]
[ext_resource type="Script" path="res://playlist_display.gd" id="1_h0jh1"]
[ext_resource type="Texture2D" uid="uid://dwvy6crqhardn" path="res://Dropdown.png" id="2_im6ur"]
[sub_resource type="LabelSettings" id="LabelSettings_ky8oc"]
font_size = 12
font_color = Color(0.597176, 0.597176, 0.597176, 1)
[node name="PlaylistDisplay" type="Control"]
custom_minimum_size = Vector2(0, 67.92)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -910.0
offset_bottom = -727.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_h0jh1")
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.439049, 0.439049, 0.439049, 0.298039)
[node name="HSplitContainer" type="HSplitContainer" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0247678
anchor_top = 0.0882353
anchor_right = 0.981424
anchor_bottom = 0.897059
grow_horizontal = 2
grow_vertical = 2
split_offset = 310
dragger_visibility = 2
metadata/_edit_use_anchors_ = true
[node name="VBoxContainer" type="VBoxContainer" parent="HSplitContainer"]
layout_mode = 2
[node name="Name" type="RichTextLabel" parent="HSplitContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24.395)
layout_mode = 2
bbcode_enabled = true
text = "Name"
autowrap_mode = 0
[node name="Directory" type="Label" parent="HSplitContainer/VBoxContainer"]
layout_mode = 2
text = "directory not found"
label_settings = SubResource("LabelSettings_ky8oc")
clip_text = true
[node name="HBoxContainer" type="HBoxContainer" parent="HSplitContainer"]
layout_mode = 2
[node name="PlayButton" type="Button" parent="HSplitContainer/HBoxContainer"]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
focus_mode = 0
text = "Play"
[node name="OptionsDropdown" type="MenuButton" parent="HSplitContainer/HBoxContainer"]
custom_minimum_size = Vector2(20.505, 0)
layout_mode = 2
icon = ExtResource("2_im6ur")
expand_icon = true
item_count = 2
popup/item_0/text = "Change Directory"
popup/item_1/text = "Delete"
popup/item_1/id = 1
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a Directory"
size = Vector2i(303, 180)
ok_button_text = "Select Current Folder"
file_mode = 2
access = 2
use_native_dialog = true
[node name="ConfirmationDialog" type="ConfirmationDialog" parent="."]
position = Vector2i(445, 275)
size = Vector2i(359, 100)
dialog_text = "Are you sure you want to delete the playlist?"
[connection signal="pressed" from="HSplitContainer/HBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
[connection signal="dir_selected" from="FileDialog" to="." method="_on_file_dialog_dir_selected"]
[connection signal="confirmed" from="ConfirmationDialog" to="." method="_on_confirmation_dialog_confirmed"]
BIN
View File
Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://cvndnnx1mdvqp"
path="res://.godot/imported/Project_4.mp3-7c16bd7b00580091b3ef24ad137a239b.mp3str"
[deps]
source_file="res://Project_4.mp3"
dest_files=["res://.godot/imported/Project_4.mp3-7c16bd7b00580091b3ef24ad137a239b.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4
+548
View File
@@ -0,0 +1,548 @@
[gd_scene load_steps=9 format=3 uid="uid://dqg674t6kun4e"]
[ext_resource type="Script" path="res://settings.gd" id="1_uaa7d"]
[ext_resource type="Script" path="res://eq_settings.gd" id="2_1n4m6"]
[ext_resource type="Texture2D" uid="uid://1rstn6r2wisy" path="res://X.png" id="2_iuivb"]
[ext_resource type="Texture2D" uid="uid://pgij783wgbhn" path="res://File.png" id="2_jmen4"]
[sub_resource type="LabelSettings" id="LabelSettings_ouq8m"]
font_size = 30
[sub_resource type="LabelSettings" id="LabelSettings_2bhor"]
font_size = 25
[sub_resource type="LabelSettings" id="LabelSettings_p55k3"]
font_size = 11
[sub_resource type="LabelSettings" id="LabelSettings_cwn10"]
font_size = 15
[node name="SettingsMenuChild" type="Control"]
custom_minimum_size = Vector2(576, 493)
layout_mode = 3
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -288.0
offset_right = 288.0
offset_bottom = 493.0
grow_horizontal = 2
size_flags_vertical = 0
script = ExtResource("1_uaa7d")
[node name="ScrollContainer" type="ScrollContainer" parent="."]
custom_minimum_size = Vector2(576, 493)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
custom_minimum_size = Vector2(576, 493)
layout_mode = 2
size_flags_vertical = 0
[node name="SETTINGS" type="Label" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(68.49, 25.94)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 3
text = "SETTINGS"
label_settings = SubResource("LabelSettings_ouq8m")
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="Seperator5" type="Control" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 16.07)
layout_mode = 2
[node name="THIRDPARTYAPPS" type="Label" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(400, 26.975)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 3
text = "THIRD PARTY APPS"
label_settings = SubResource("LabelSettings_2bhor")
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="DiscordRichPresenceButton" type="CheckBox" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
focus_mode = 0
text = "Discord Rich Presence"
[node name="disclaimer" type="Label" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(229.895, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "NOTE: After disableing a restart is needed"
label_settings = SubResource("LabelSettings_p55k3")
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="Seperator4" type="Control" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 16.07)
layout_mode = 2
[node name="Looks" type="Label" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(400, 26.975)
layout_mode = 2
size_flags_vertical = 3
text = "LOOKs"
label_settings = SubResource("LabelSettings_2bhor")
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
uppercase = true
[node name="Seperator3" type="Control" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 16.07)
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer2"]
texture_filter = 1
custom_minimum_size = Vector2(15, 15)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("2_jmen4")
expand_mode = 3
[node name="BackroundDirLabel" type="Label" parent="ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 0
label_settings = SubResource("LabelSettings_cwn10")
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
[node name="SelectBG" type="Button" parent="ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(0, 25.35)
layout_mode = 2
size_flags_horizontal = 4
text = "Select Background"
[node name="ResetBG" type="Button" parent="ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(0, 25.35)
layout_mode = 2
size_flags_horizontal = 4
text = "Reset BG"
[node name="SelectBGDialog" type="FileDialog" parent="ScrollContainer/VBoxContainer"]
title = "Open a File"
size = Vector2i(324, 180)
transient = false
ok_button_text = "Open"
file_mode = 0
access = 2
filters = PackedStringArray("*.png", "*.jpg", "*.jpeg", "*")
show_hidden_files = true
use_native_dialog = true
[node name="Seperator2" type="Control" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 16.07)
layout_mode = 2
[node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(400, 26.975)
layout_mode = 2
size_flags_vertical = 3
text = "SOUND SETTINGS"
label_settings = SubResource("LabelSettings_2bhor")
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="Seperator" type="Control" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 16.07)
layout_mode = 2
[node name="PitchAdjustSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(328.985, 0)
layout_mode = 2
size_flags_horizontal = 0
split_offset = 200
dragger_visibility = 2
[node name="PitchSlider" type="HSlider" parent="ScrollContainer/VBoxContainer/PitchAdjustSettings"]
layout_mode = 2
size_flags_vertical = 4
focus_mode = 0
min_value = 0.25
max_value = 2.0
step = 0.05
value = 1.0
[node name="PitchAdjustSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/PitchAdjustSettings"]
custom_minimum_size = Vector2(130.38, 0)
layout_mode = 2
size_flags_horizontal = 4
split_offset = 995
dragger_visibility = 2
[node name="PitchValue" type="Label" parent="ScrollContainer/VBoxContainer/PitchAdjustSettings/PitchAdjustSettings"]
custom_minimum_size = Vector2(23.9, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "1.0"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer/PitchAdjustSettings/PitchAdjustSettings"]
custom_minimum_size = Vector2(94.52, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "pitch/speed"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="ReverbCheck" type="CheckBox" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
focus_mode = 0
text = "Reverb"
[node name="ReverbSettings" type="VBoxContainer" parent="ScrollContainer/VBoxContainer"]
visible = false
layout_mode = 2
[node name="SizeAdjustSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/ReverbSettings"]
custom_minimum_size = Vector2(328.985, 0)
layout_mode = 2
size_flags_horizontal = 0
split_offset = 200
dragger_visibility = 2
[node name="RoomSizeSlider" type="HSlider" parent="ScrollContainer/VBoxContainer/ReverbSettings/SizeAdjustSettings"]
layout_mode = 2
size_flags_vertical = 4
focus_mode = 0
max_value = 0.95
step = 0.05
value = 0.8
[node name="PitchAdjustSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/ReverbSettings/SizeAdjustSettings"]
custom_minimum_size = Vector2(130.38, 0)
layout_mode = 2
size_flags_horizontal = 4
split_offset = 995
dragger_visibility = 2
[node name="RoomSizeValue" type="Label" parent="ScrollContainer/VBoxContainer/ReverbSettings/SizeAdjustSettings/PitchAdjustSettings"]
custom_minimum_size = Vector2(23.9, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "1.0"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer/ReverbSettings/SizeAdjustSettings/PitchAdjustSettings"]
custom_minimum_size = Vector2(94.52, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "Room size"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="DampeningAdjustSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/ReverbSettings"]
custom_minimum_size = Vector2(328.985, 0)
layout_mode = 2
size_flags_horizontal = 0
split_offset = 200
dragger_visibility = 2
[node name="DampeningSizeSlider" type="HSlider" parent="ScrollContainer/VBoxContainer/ReverbSettings/DampeningAdjustSettings"]
layout_mode = 2
size_flags_vertical = 4
focus_mode = 0
max_value = 0.95
step = 0.05
value = 0.8
[node name="DampaningAdjustSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/ReverbSettings/DampeningAdjustSettings"]
custom_minimum_size = Vector2(130.38, 0)
layout_mode = 2
size_flags_horizontal = 4
split_offset = 995
dragger_visibility = 2
[node name="DampeningValue" type="Label" parent="ScrollContainer/VBoxContainer/ReverbSettings/DampeningAdjustSettings/DampaningAdjustSettings"]
custom_minimum_size = Vector2(23.9, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "1.0"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer/ReverbSettings/DampeningAdjustSettings/DampaningAdjustSettings"]
custom_minimum_size = Vector2(94.52, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "Damping"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="SpreadAdjustSettings2" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/ReverbSettings"]
custom_minimum_size = Vector2(328.985, 0)
layout_mode = 2
size_flags_horizontal = 0
split_offset = 200
dragger_visibility = 2
[node name="SpreadSizeSlider" type="HSlider" parent="ScrollContainer/VBoxContainer/ReverbSettings/SpreadAdjustSettings2"]
layout_mode = 2
size_flags_vertical = 4
focus_mode = 0
max_value = 0.95
step = 0.05
value = 0.8
[node name="SpreadAdjustSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/ReverbSettings/SpreadAdjustSettings2"]
custom_minimum_size = Vector2(130.38, 0)
layout_mode = 2
size_flags_horizontal = 4
split_offset = 995
dragger_visibility = 2
[node name="SpreadValue" type="Label" parent="ScrollContainer/VBoxContainer/ReverbSettings/SpreadAdjustSettings2/SpreadAdjustSettings"]
custom_minimum_size = Vector2(23.9, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "1.0"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer/ReverbSettings/SpreadAdjustSettings2/SpreadAdjustSettings"]
custom_minimum_size = Vector2(94.52, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "Spread"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="EQCheckBox" type="CheckBox" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
focus_mode = 0
text = "EQ"
[node name="EQSettings" type="VBoxContainer" parent="ScrollContainer/VBoxContainer"]
visible = false
layout_mode = 2
script = ExtResource("2_1n4m6")
[node name="CompressionCheck" type="CheckBox" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
focus_mode = 0
text = "Compression"
[node name="CompressionContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer"]
visible = false
layout_mode = 2
[node name="ThresholdSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/CompressionContainer"]
custom_minimum_size = Vector2(328.985, 0)
layout_mode = 2
size_flags_horizontal = 0
split_offset = 200
dragger_visibility = 2
[node name="ThresholdSlider" type="HSlider" parent="ScrollContainer/VBoxContainer/CompressionContainer/ThresholdSettings"]
layout_mode = 2
size_flags_vertical = 4
focus_mode = 0
min_value = -60.0
max_value = 0.0
step = 0.5
value = -9.0
[node name="ThresholdSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/CompressionContainer/ThresholdSettings"]
custom_minimum_size = Vector2(130.38, 0)
layout_mode = 2
size_flags_horizontal = 4
split_offset = 995
dragger_visibility = 2
[node name="ThresholdValue" type="Label" parent="ScrollContainer/VBoxContainer/CompressionContainer/ThresholdSettings/ThresholdSettings"]
custom_minimum_size = Vector2(23.9, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "1.0"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer/CompressionContainer/ThresholdSettings/ThresholdSettings"]
custom_minimum_size = Vector2(94.52, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "Threshold"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="RatioSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/CompressionContainer"]
custom_minimum_size = Vector2(328.985, 0)
layout_mode = 2
size_flags_horizontal = 0
split_offset = 200
dragger_visibility = 2
[node name="RatioSlider" type="HSlider" parent="ScrollContainer/VBoxContainer/CompressionContainer/RatioSettings"]
layout_mode = 2
size_flags_vertical = 4
focus_mode = 0
min_value = 1.0
max_value = 48.0
value = 4.0
[node name="RatioSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/CompressionContainer/RatioSettings"]
custom_minimum_size = Vector2(130.38, 0)
layout_mode = 2
size_flags_horizontal = 4
split_offset = 995
dragger_visibility = 2
[node name="RatioValue" type="Label" parent="ScrollContainer/VBoxContainer/CompressionContainer/RatioSettings/RatioSettings"]
custom_minimum_size = Vector2(23.9, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "1.0"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer/CompressionContainer/RatioSettings/RatioSettings"]
custom_minimum_size = Vector2(94.52, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "Ratio
"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="GainSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/CompressionContainer"]
custom_minimum_size = Vector2(328.985, 0)
layout_mode = 2
size_flags_horizontal = 0
split_offset = 200
dragger_visibility = 2
[node name="GainSlider" type="HSlider" parent="ScrollContainer/VBoxContainer/CompressionContainer/GainSettings"]
layout_mode = 2
size_flags_vertical = 4
focus_mode = 0
min_value = -10.0
max_value = 8.0
step = 0.5
[node name="GainSettings" type="HSplitContainer" parent="ScrollContainer/VBoxContainer/CompressionContainer/GainSettings"]
custom_minimum_size = Vector2(130.38, 0)
layout_mode = 2
size_flags_horizontal = 4
split_offset = 995
dragger_visibility = 2
[node name="GainValue" type="Label" parent="ScrollContainer/VBoxContainer/CompressionContainer/GainSettings/GainSettings"]
custom_minimum_size = Vector2(23.9, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "1.0"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer/CompressionContainer/GainSettings/GainSettings"]
custom_minimum_size = Vector2(94.52, 7.51)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "Gain
"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="Seperator6" type="Control" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 16.07)
layout_mode = 2
[node name="TimeListening" type="Label" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
[node name="Reset" type="Button" parent="ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
focus_mode = 0
text = "RESET SETTINGS"
[node name="Exit" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -72.0
offset_bottom = 72.0
grow_horizontal = 0
size_flags_horizontal = 8
size_flags_vertical = 0
focus_mode = 0
icon = ExtResource("2_iuivb")
flat = true
[connection signal="toggled" from="ScrollContainer/VBoxContainer/DiscordRichPresenceButton" to="." method="_on_discord_rich_presence_button_toggled"]
[connection signal="pressed" from="ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer/SelectBG" to="." method="_on_select_bg_pressed"]
[connection signal="pressed" from="ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer/ResetBG" to="." method="_on_reset_bg_pressed"]
[connection signal="file_selected" from="ScrollContainer/VBoxContainer/SelectBGDialog" to="." method="_on_select_bg_dialog_file_selected"]
[connection signal="drag_ended" from="ScrollContainer/VBoxContainer/PitchAdjustSettings/PitchSlider" to="." method="_on_h_slider_drag_ended"]
[connection signal="toggled" from="ScrollContainer/VBoxContainer/ReverbCheck" to="." method="_on_reverb_check_toggled"]
[connection signal="drag_ended" from="ScrollContainer/VBoxContainer/ReverbSettings/SizeAdjustSettings/RoomSizeSlider" to="." method="_on_room_size_slider_drag_ended"]
[connection signal="drag_ended" from="ScrollContainer/VBoxContainer/ReverbSettings/DampeningAdjustSettings/DampeningSizeSlider" to="." method="_on_dampening_size_slider_drag_ended"]
[connection signal="drag_ended" from="ScrollContainer/VBoxContainer/ReverbSettings/SpreadAdjustSettings2/SpreadSizeSlider" to="." method="_on_spread_size_slider_drag_ended"]
[connection signal="toggled" from="ScrollContainer/VBoxContainer/EQCheckBox" to="." method="_on_eq_check_box_toggled"]
[connection signal="toggled" from="ScrollContainer/VBoxContainer/CompressionCheck" to="." method="_on_compression_check_toggled"]
[connection signal="drag_ended" from="ScrollContainer/VBoxContainer/CompressionContainer/ThresholdSettings/ThresholdSlider" to="." method="_on_threshold_slider_drag_ended"]
[connection signal="drag_ended" from="ScrollContainer/VBoxContainer/CompressionContainer/RatioSettings/RatioSlider" to="." method="_on_ratio_slider_drag_ended"]
[connection signal="drag_ended" from="ScrollContainer/VBoxContainer/CompressionContainer/GainSettings/GainSlider" to="." method="_on_gain_slider_drag_ended"]
[connection signal="pressed" from="ScrollContainer/VBoxContainer/Reset" to="." method="_on_reset_pressed"]
[connection signal="pressed" from="ScrollContainer/VBoxContainer/Reset" to="ScrollContainer/VBoxContainer/EQSettings" method="_on_reset_pressed"]
[connection signal="pressed" from="Exit" to="." method="_on_exit_pressed"]
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 849 B

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://daq8wnhtscpjl"
path="res://.godot/imported/Skip.png-07c55752ee3a8c4e00f218deff844b62.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Skip.png"
dest_files=["res://.godot/imported/Skip.png-07c55752ee3a8c4e00f218deff844b62.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+11
View File
@@ -0,0 +1,11 @@
extends Sprite2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
rotation_degrees += 90 * delta * 2
+3
View File
@@ -0,0 +1,3 @@
[gd_resource type="Theme" format=3 uid="uid://cpd5cym1d4tde"]
[resource]
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://1rstn6r2wisy"
path="res://.godot/imported/X.png-bee569f28a73ace116a223ee2aee69ec.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://X.png"
dest_files=["res://.godot/imported/X.png-bee569f28a73ace116a223ee2aee69ec.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bdpat2sfflaxq"
path="res://.godot/imported/Youtube_logo.png-22e44a6c4c4bd7a2da4492032ea62686.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Youtube_logo.png"
dest_files=["res://.godot/imported/Youtube_logo.png-22e44a6c4c4bd7a2da4492032ea62686.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+10
View File
@@ -0,0 +1,10 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_110_26)">
<path d="M13.3334 5.33333H11.4601C11.1594 4.81182 10.7446 4.36512 10.2467 4.02667L11.3334 2.94L10.3934 2L8.94675 3.44667C8.64008 3.37333 8.32675 3.33333 8.00008 3.33333C7.67341 3.33333 7.36008 3.37333 7.06008 3.44667L5.60675 2L4.66675 2.94L5.74675 4.02667C5.25341 4.36667 4.84008 4.81333 4.54008 5.33333H2.66675V6.66667H4.06008C4.02675 6.88667 4.00008 7.10667 4.00008 7.33333V8H2.66675V9.33333H4.00008V10C4.00008 10.2267 4.02675 10.4467 4.06008 10.6667H2.66675V12H4.54008C5.23341 13.1933 6.52008 14 8.00008 14C9.48008 14 10.7667 13.1933 11.4601 12H13.3334V10.6667H11.9401C11.9734 10.4467 12.0001 10.2267 12.0001 10V9.33333H13.3334V8H12.0001V7.33333C12.0001 7.10667 11.9734 6.88667 11.9401 6.66667H13.3334V5.33333ZM9.33341 10.6667H6.66675V9.33333H9.33341V10.6667ZM9.33341 8H6.66675V6.66667H9.33341V8Z" fill="#5865F2"/>
</g>
<defs>
<clipPath id="clip0_110_26">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

+37
View File
@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ufh1hha1ehui"
path="res://.godot/imported/Debug.svg-d4cb8599fa7926b76a2d6e40d2efd949.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/discord-rpc-gd/Debug.svg"
dest_files=["res://.godot/imported/Debug.svg-d4cb8599fa7926b76a2d6e40d2efd949.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csl0e2px0cwc1"
path="res://.godot/imported/Logo_V2_No_Bg.png-ed667fb599fe1e17ebcfc361ff7c9c93.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/discord-rpc-gd/Logo_V2_No_Bg.png"
dest_files=["res://.godot/imported/Logo_V2_No_Bg.png-ed667fb599fe1e17ebcfc361ff7c9c93.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+7
View File
@@ -0,0 +1,7 @@
MINIMUM GODOT VERSION: 4.2
PLEASE ACTIVATE THE PLUGIN UNDER Project -> Project Settings... -> Plugins -> DiscordRPC -> Status
IGNORE THE RED ERRORS ON THE FIRST 2 RESTARTS
READ THE TUTORIAL LINKED IN THE WINDOW THAT WILL OPEN ON PLUGIN ENABLE
If nothing works, enable the plugin and delete /addons/discord-rpc-gd/bin/.gdignore
@@ -0,0 +1,29 @@
[configuration]
entry_symbol = "discordrpcgd_library_init"
compatibility_minimum = 4.1
[libraries]
macos.debug = "macos/libdiscord_game_sdk_binding_debug.dylib"
macos.release = "macos/libdiscord_game_sdk_binding.dylib"
windows.debug.x86_64 = "windows/discord_game_sdk_binding_debug.dll"
windows.release.x86_64 = "windows/discord_game_sdk_binding.dll"
linux.debug.x86_64 = "linux/libdiscord_game_sdk_binding_debug.so"
linux.release.x86_64 = "linux/libdiscord_game_sdk_binding.so"
linux.debug.arm64 = "linux/libdiscord_game_sdk_binding_debug.so"
linux.release.arm64 = "linux/libdiscord_game_sdk_binding.so"
linux.debug.rv64 = "linux/libdiscord_game_sdk_binding_debug.so"
linux.release.rv64 = "linux/libdiscord_game_sdk_binding.so"
[dependencies]
macos = { "macos/libdiscord_game_sdk.dylib": "" }
windows.debug.x86_64 = { "windows/discord_game_sdk.dll": "" }
windows.release.x86_64 = { "windows/discord_game_sdk.dll": "" }
linux.debug.x86_64 = { "linux/libdiscord_game_sdk.so": "" }
linux.release.x86_64 = { "linux/libdiscord_game_sdk.so": "" }
linux.debug.arm64 = { "linux/libdiscord_game_sdk.so": "" }
linux.release.arm64 = { "linux/libdiscord_game_sdk.so": "" }
linux.debug.rv64 = { "linux/libdiscord_game_sdk.so": "" }
linux.release.rv64 = { "linux/libdiscord_game_sdk.so": "" }
+38
View File
@@ -0,0 +1,38 @@
class_name DiscordRPCTutorial
extends Node
## 1. Put the addons/ folder in your Godot project[br]
## 2. Enable the addon in your Project Settings under "Plugins" and "DiscordRPC". [br](if it doesn't show up restart your project and try again)[br]
## 3. Restart your project[br]
## 4. Create an Application under https://discord.com/developers/applications and get the Application ID br]
## 5. (optional) Set images under "Rich Presence" and "Art Assets" and remember the keys[br]
##
## This is your [code]_ready()[/code] function wich could be anywhere
## [codeblock]
## func _ready():
## # Application ID
## DiscordRPC.app_id = 1099618430065324082
## # this is boolean if everything worked
## print("Discord working: " + str(DiscordRPC.get_is_discord_working()))
## # Set the first custom text row of the activity here
## DiscordRPC.details = "A demo activity by vaporvee#1231"
## # Set the second custom text row of the activity here
## DiscordRPC.state = "Checkpoint 23/23"
## # Image key for small image from "Art Assets" from the Discord Developer website
## DiscordRPC.large_image = "game"
## # Tooltip text for the large image
## DiscordRPC.large_image_text = "Try it now!"
## # Image key for large image from "Art Assets" from the Discord Developer website
## DiscordRPC.small_image = "boss"
## # Tooltip text for the small image
## DiscordRPC.small_image_text = "Fighting the end boss! D:"
## # "02:41 elapsed" timestamp for the activity
## DiscordRPC.start_timestamp = int(Time.get_unix_time_from_system())
## # "59:59 remaining" timestamp for the activity
## DiscordRPC.end_timestamp = int(Time.get_unix_time_from_system()) + 3600
## # Always refresh after changing the values!
## DiscordRPC.refresh()
## [/codeblock]
##
## @tutorial(More information here): https://github.com/vaporvee/discord-rpc-godot/wiki/Quick-start
## @tutorial(Make your Application ID and else here): https://discord.com/developers/applications
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csl0e2px0cwc1"
path="res://.godot/imported/logo.png-bacb448eabae556bdb0659359ea4e4af.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/discord-rpc-gd/logo.png"
dest_files=["res://.godot/imported/logo.png-bacb448eabae556bdb0659359ea4e4af.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+268
View File
@@ -0,0 +1,268 @@
[gd_scene load_steps=9 format=3 uid="uid://c1slhdnlsv2qt"]
[ext_resource type="Texture2D" uid="uid://dnfq6kug4x6o2" path="res://addons/discord-rpc-gd/nodes/assets/Checked.svg" id="2_q6tao"]
[ext_resource type="Texture2D" uid="uid://compmm3kviqqe" path="res://addons/discord-rpc-gd/nodes/assets/Unchecked.svg" id="3_5cyem"]
[ext_resource type="Texture2D" uid="uid://dtc6ckladq0td" path="res://addons/discord-rpc-gd/nodes/assets/circle.svg" id="3_goflf"]
[sub_resource type="GDScript" id="GDScript_ak1tp"]
resource_name = "Debug"
script/source = "extends Node
func _ready():
DiscordRPC.app_id = 1276916292170809426
DiscordRPC.connect(\"activity_join_request\",_on_activity_join_request)
func _process(_delta):
if(DiscordRPC.get_is_discord_working()):
$Panel/TextureRect.self_modulate = Color(\"#3eff8d\")
$Panel/TextureRect/AnimationPlayer.play(\"pulsate\")
debug_text_update()
else:
$Panel/TextureRect.self_modulate = Color(\"#797979\")
$Panel/TextureRect/AnimationPlayer.stop()
debug_text_update()
func debug_text_update():
$Panel/Info.text = \"Application ID : {id}
Details: {details}
State: {state}
Large image key: {lkey}
Large image text: {ltext}
Small image key: {skey}
Small image text: {stext}
Start timestamp: {stimestamp}
End timestamp: {etimestamp}
Party ID: {partyid}
Current party size: {cpartysize}
Max party size: {mpartysize}
Match secret: {msecret}
Join secret: {jsecret}
Spectate secret: {ssecret}
Is party public: {ppublic} (needs to be activated in Discord client settings)
Is instanced: {instanced}
\"
$Panel/Info.text = $Panel/Info.text.replace(\"{ppublic}\",str(DiscordRPC.is_public_party)).replace(\"{instanced}\",str(DiscordRPC.instanced)).replace(\"{ssecret}\",DiscordRPC.spectate_secret).replace(\"{jsecret}\",DiscordRPC.join_secret).replace(\"{msecret}\",DiscordRPC.match_secret).replace(\"{mpartysize}\",str(DiscordRPC.max_party_size)).replace(\"{cpartysize}\",str(DiscordRPC.current_party_size)).replace(\"{partyid}\",DiscordRPC.party_id).replace(\"{id}\",str(DiscordRPC.app_id)).replace(\"{details}\",DiscordRPC.details).replace(\"{state}\",DiscordRPC.state).replace(\"{lkey}\",DiscordRPC.large_image).replace(\"{ltext}\",DiscordRPC.large_image_text).replace(\"{skey}\",DiscordRPC.small_image).replace(\"{stext}\",DiscordRPC.small_image_text).replace(\"{stimestamp}\",str(DiscordRPC.start_timestamp)).replace(\"{etimestamp}\",str(DiscordRPC.end_timestamp))
var user_request = {};
func _on_activity_join_request(user_requesting):
print(user_requesting)
user_request = user_requesting
func _on_accept_join_request_pressed():
if(!user_request.is_empty()):
DiscordRPC.accept_join_request(user_request.id)
func _on_invite_with_user_id_text_submitted(new_text):
DiscordRPC.send_invite(int(new_text),true,\"this is a test invite sent from godot\")
func _on_accept_with_user_id_text_submitted(new_text):
DiscordRPC.accept_invite(int(new_text))
func _on_print_current_user_on_console_pressed():
print(DiscordRPC.get_current_user())
func _on_toggle_sdk_toggled(button_pressed):
if(button_pressed):
DiscordRPC.unclear()
else:
DiscordRPC.clear(false)
func _on_print_friends_pressed():
print(DiscordRPC.get_all_relationships())
"
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8abo6"]
[sub_resource type="Animation" id="Animation_mmtmn"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.4),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0.5, 0.5)]
}
[sub_resource type="Animation" id="Animation_5u02v"]
resource_name = "pulsate"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0.5, 0.5), Vector2(0.8, 0.8), Vector2(0.5, 0.5)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_a7ofc"]
_data = {
"RESET": SubResource("Animation_mmtmn"),
"pulsate": SubResource("Animation_5u02v")
}
[node name="DebugNodeGroup" type="Node"]
editor_description = "This is a Debug Node wich will show (only if the project runs) some usefull info and buttons/input"
script = SubResource("GDScript_ak1tp")
[node name="Panel" type="Panel" parent="."]
anchors_preset = -1
anchor_right = 0.373
anchor_bottom = 1.0
offset_left = -5.0
offset_right = 0.303955
grow_horizontal = 2
grow_vertical = 2
[node name="Info" type="RichTextLabel" parent="Panel"]
layout_mode = 0
offset_left = 12.0
offset_top = 21.0
offset_right = 429.0
offset_bottom = 461.0
theme_override_font_sizes/normal_font_size = 14
text = "Application ID : {id}
Details: {details}
State: {state}
Large image key: {lkey}
Large image text: {ltext}
Small image key: {skey}
Small image text: {stext}
Start timestamp: {stimestamp}
End timestamp: {etimestamp}
Party ID: {partyid}
Current party size: {cpartysize}
Max party size: {mpartysize}
Match secret: {msecret}
Join secret: {jsecret}
Spectate secret: {ssecret}
Is party public: {ppublic} (needs to be activated in Discord client settings)
Is instanced: {instanced}
"
fit_content = true
[node name="PrintCurrentUserOnConsole" type="Button" parent="Panel"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 12.0
offset_top = 138.375
offset_right = 245.0
offset_bottom = 171.375
grow_vertical = 2
text = "Print current user on console"
[node name="PrintFriends" type="Button" parent="Panel"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 12.0
offset_top = 176.5
offset_right = 204.0
offset_bottom = 207.5
grow_vertical = 2
text = "Print friends on console"
[node name="AcceptJoinRequest" type="Button" parent="Panel"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 12.0
offset_top = 212.875
offset_right = 154.0
offset_bottom = 243.875
grow_vertical = 2
text = "ACCEPT REQUEST"
[node name="InviteWithUserID" type="LineEdit" parent="Panel"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 11.0
offset_top = 250.375
offset_right = 210.0
offset_bottom = 281.375
grow_vertical = 2
size_flags_horizontal = 0
placeholder_text = "Invite with user_id here"
[node name="AcceptWithUserID" type="LineEdit" parent="Panel"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 11.0
offset_top = 286.875
offset_right = 260.0
offset_bottom = 317.875
grow_vertical = 2
placeholder_text = "Accept Invite with user_id here"
[node name="ToggleSDK" type="CheckButton" parent="Panel"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 298.0
offset_top = 157.375
offset_right = 1144.0
offset_bottom = 665.375
grow_vertical = 2
scale = Vector2(0.05, 0.05)
theme_override_styles/focus = SubResource("StyleBoxEmpty_8abo6")
theme_override_icons/checked = ExtResource("2_q6tao")
theme_override_icons/unchecked = ExtResource("3_5cyem")
button_pressed = true
[node name="TextureRect" type="TextureRect" parent="Panel"]
self_modulate = Color(0.47451, 0.47451, 0.47451, 1)
layout_mode = 1
anchors_preset = -1
anchor_left = 0.88
anchor_top = 0.762
anchor_right = 0.88
anchor_bottom = 0.762
offset_left = -28.8
offset_top = -28.776
offset_right = 28.0841
offset_bottom = 28.1082
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.5, 0.5)
pivot_offset = Vector2(29.0693, 29.0693)
texture = ExtResource("3_goflf")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Panel/TextureRect"]
libraries = {
"": SubResource("AnimationLibrary_a7ofc")
}
[connection signal="pressed" from="Panel/PrintCurrentUserOnConsole" to="." method="_on_print_current_user_on_console_pressed"]
[connection signal="pressed" from="Panel/PrintFriends" to="." method="_on_print_friends_pressed"]
[connection signal="pressed" from="Panel/AcceptJoinRequest" to="." method="_on_accept_join_request_pressed"]
[connection signal="text_submitted" from="Panel/InviteWithUserID" to="." method="_on_invite_with_user_id_text_submitted"]
[connection signal="text_submitted" from="Panel/AcceptWithUserID" to="." method="_on_accept_with_user_id_text_submitted"]
[connection signal="toggled" from="Panel/ToggleSDK" to="." method="_on_toggle_sdk_toggled"]
@@ -0,0 +1,18 @@
<svg width="834" height="500" viewBox="0 0 834 500" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_162_85)">
<rect width="833.333" height="500" rx="250" fill="#23A55A"/>
<g clip-path="url(#clip1_162_85)">
<path d="M791.667 250C791.667 134.941 698.393 41.6666 583.333 41.6666C468.274 41.6666 375 134.941 375 250C375 365.059 468.274 458.333 583.333 458.333C698.393 458.333 791.667 365.059 791.667 250Z" fill="white"/>
<path d="M539.491 351.121L506.345 317.977L673.122 151.199L706.268 184.345L539.491 351.121Z" fill="#23A55A"/>
<path d="M460.134 272.714L493.279 239.568L571.844 318.133L538.698 351.279L460.134 272.714Z" fill="#23A55A"/>
</g>
</g>
<defs>
<clipPath id="clip0_162_85">
<rect width="833.333" height="500" rx="250" fill="white"/>
</clipPath>
<clipPath id="clip1_162_85">
<rect width="583.333" height="416.667" fill="white" transform="translate(291.667 41.6666)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 926 B

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dnfq6kug4x6o2"
path="res://.godot/imported/Checked.svg-80704e37f30c24e2ec3dfc0955f5f21c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/discord-rpc-gd/nodes/assets/Checked.svg"
dest_files=["res://.godot/imported/Checked.svg-80704e37f30c24e2ec3dfc0955f5f21c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
@@ -0,0 +1,18 @@
<svg width="834" height="500" viewBox="0 0 834 500" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_162_79)">
<rect x="0.666687" width="833.333" height="500" rx="250" fill="#80848E"/>
<g clip-path="url(#clip1_162_79)">
<path d="M459 250C459 134.941 365.726 41.6666 250.667 41.6666C135.607 41.6666 42.3333 134.941 42.3333 250C42.3333 365.059 135.607 458.333 250.667 458.333C365.726 458.333 459 365.059 459 250Z" fill="white"/>
<path d="M149.257 181.868L182.402 148.722L351.813 318.134L318.667 351.28L149.257 181.868Z" fill="#80848E"/>
<path d="M318.801 148.722L351.946 181.868L182.535 351.28L149.389 318.134L318.801 148.722Z" fill="#80848E"/>
</g>
</g>
<defs>
<clipPath id="clip0_162_79">
<rect x="0.666687" width="833.333" height="500" rx="250" fill="white"/>
</clipPath>
<clipPath id="clip1_162_79">
<rect width="583.333" height="416.667" fill="white" transform="translate(-41 41.6666)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 942 B

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://compmm3kviqqe"
path="res://.godot/imported/Unchecked.svg-b526adfd78f7b1577fc3c10a8ea626ee.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/discord-rpc-gd/nodes/assets/Unchecked.svg"
dest_files=["res://.godot/imported/Unchecked.svg-b526adfd78f7b1577fc3c10a8ea626ee.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44.72 44.72">
<defs>
<style>
.cls-1 {
fill: #fff;
}
</style>
</defs>
<circle class="cls-1" cx="22.36" cy="22.36" r="22.36"/>
</svg>

After

Width:  |  Height:  |  Size: 290 B

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dtc6ckladq0td"
path="res://.godot/imported/circle.svg-d0b0579c9433c6250a5869daf4f70024.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/discord-rpc-gd/nodes/assets/circle.svg"
dest_files=["res://.godot/imported/circle.svg-d0b0579c9433c6250a5869daf4f70024.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+11
View File
@@ -0,0 +1,11 @@
## This is a Debug Node wich will show some usefull info and buttons/input
##
## The DiscordRPC Debug Node will show info about the current values of its variables and some buttons to change them.
##
## @tutorial: https://github.com/vaporvee/discord-rpc-godot/wiki
@tool
extends Node
func _ready() -> void:
const DebugNodeGroup: PackedScene = preload("res://addons/discord-rpc-gd/nodes/Debug.tscn")
add_child(DebugNodeGroup.instantiate())
@@ -0,0 +1,13 @@
## This is a GDscript Node wich gets automatically added as Autoload while installing the addon.
##
## It can run in the background to comunicate with Discord.
## You don't need to use it. If you remove it make sure to run [code]DiscordRPC.run_callbacks()[/code] in a [code]_process[/code] function.
##
## @tutorial: https://github.com/vaporvee/discord-rpc-godot/wiki
extends Node
func _ready() -> void:
pass
func _process(_delta) -> void:
DiscordRPC.run_callbacks()
+7
View File
@@ -0,0 +1,7 @@
[plugin]
name="DiscordRPC"
description="Discord RPC Plugin for GDScript in Godot"
author="vaporvee"
version="1.3.1"
script="plugin.gd"
+56
View File
@@ -0,0 +1,56 @@
@tool
extends EditorPlugin
const DiscordRPCDebug = preload("res://addons/discord-rpc-gd/nodes/debug.gd")
const DiscordRPCDebug_icon = preload("res://addons/discord-rpc-gd/Debug.svg")
var loaded_DiscordRPCDebug = DiscordRPCDebug.new()
var restart_window: ConfirmationDialog = preload("res://addons/discord-rpc-gd/restart_window.tscn").instantiate()
var plugin_cfg: ConfigFile = ConfigFile.new()
const plugin_data_filename = "/plugin_data.cfg"
func _enter_tree() -> void:
add_custom_type("DiscordRPCDebug","Node",DiscordRPCDebug,DiscordRPCDebug_icon)
get_editor_interface().get_editor_settings().settings_changed.connect(_on_editor_settings_changed)
func _ready() -> void:
await get_tree().create_timer(0.5).timeout
plugin_cfg.load(get_editor_interface().get_editor_paths().get_data_dir() + plugin_data_filename)
if !get_editor_interface().get_editor_settings().has_setting("DiscordRPC/EditorPresence/enabled"):
get_editor_interface().get_editor_settings().set_setting("DiscordRPC/EditorPresence/enabled",plugin_cfg.get_value("Discord","editor_presence",false))
func _exit_tree():
if get_editor_interface().get_editor_settings().has_setting("DiscordRPC/EditorPresence/enabled"):
get_editor_interface().get_editor_settings().erase("DiscordRPC/EditorPresence/enabled")
func _enable_plugin() -> void:
if FileAccess.file_exists(ProjectSettings.globalize_path("res://") + "addons/discord-rpc-gd/bin/.gdignore"):
DirAccess.remove_absolute(ProjectSettings.globalize_path("res://") + "addons/discord-rpc-gd/bin/.gdignore")
add_autoload_singleton("DiscordRPCLoader","res://addons/discord-rpc-gd/nodes/discord_autoload.gd")
restart_window.connect("confirmed", save_no_restart)
restart_window.connect("canceled", save_and_restart)
get_editor_interface().popup_dialog_centered(restart_window)
print("IGNORE RED ERROR MESSAGES BEFORE THE SECOND RESTART!")
func _disable_plugin() -> void:
remove_autoload_singleton("DiscordRPCLoader")
FileAccess.open("res://addons/discord-rpc-gd/bin/.gdignore",FileAccess.WRITE)
remove_custom_type("DiscordRPCDebug")
get_editor_interface().get_editor_settings().erase("DiscordRPC/EditorPresence/enabled")
push_warning("Please restart the editor to fully disable the DiscordRPC plugin")
func save_and_restart() -> void:
get_editor_interface().restart_editor(true)
func save_no_restart() -> void:
get_editor_interface().restart_editor(false)
var editor_presence: Node
func _on_editor_settings_changed() -> void:
plugin_cfg.set_value("Discord","editor_presence",get_editor_interface().get_editor_settings().get_setting("DiscordRPC/EditorPresence/enabled"))
plugin_cfg.save(get_editor_interface().get_editor_paths().get_data_dir() + plugin_data_filename)
if ClassDB.class_exists("EditorPresence") && editor_presence == null:
editor_presence = ClassDB.instantiate("EditorPresence")
if get_editor_interface().get_editor_settings().has_setting("DiscordRPC/EditorPresence/enabled") && get_editor_interface().get_editor_settings().get_setting("DiscordRPC/EditorPresence/enabled"):
add_child(editor_presence)
else:
editor_presence.queue_free()
+112
View File
@@ -0,0 +1,112 @@
[gd_scene load_steps=8 format=3 uid="uid://byc4c6d5tpomq"]
[ext_resource type="Texture2D" uid="uid://csl0e2px0cwc1" path="res://addons/discord-rpc-gd/Logo_V2_No_Bg.png" id="1_0svbg"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1t7mm"]
[sub_resource type="Theme" id="Theme_swwco"]
Button/styles/focus = SubResource("StyleBoxEmpty_1t7mm")
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5vqdt"]
[sub_resource type="Image" id="Image_qmqj5"]
data = {
"data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 168, 224, 224, 224, 233, 224, 224, 224, 236, 224, 224, 224, 170, 231, 231, 231, 31, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 234, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 239, 230, 230, 230, 30, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 168, 224, 224, 224, 255, 224, 224, 224, 186, 224, 224, 224, 32, 224, 224, 224, 33, 224, 224, 224, 187, 224, 224, 224, 255, 225, 225, 225, 167, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 237, 224, 224, 224, 255, 224, 224, 224, 33, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 255, 224, 224, 224, 234, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 237, 224, 224, 224, 255, 224, 224, 224, 33, 255, 255, 255, 0, 255, 255, 255, 0, 229, 229, 229, 38, 224, 224, 224, 255, 224, 224, 224, 229, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 164, 224, 224, 224, 255, 224, 224, 224, 187, 225, 225, 225, 34, 227, 227, 227, 36, 224, 224, 224, 192, 224, 224, 224, 255, 224, 224, 224, 162, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 24, 225, 225, 225, 215, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 229, 224, 224, 224, 32, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 24, 224, 224, 224, 216, 224, 224, 224, 255, 224, 224, 224, 210, 224, 224, 224, 161, 224, 224, 224, 232, 224, 224, 224, 231, 225, 225, 225, 159, 230, 230, 230, 30, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 107, 224, 224, 224, 255, 224, 224, 224, 210, 230, 230, 230, 20, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 105, 230, 230, 230, 20, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 221, 224, 224, 224, 130, 255, 255, 255, 1, 255, 255, 255, 1, 225, 225, 225, 134, 224, 224, 224, 224, 225, 225, 225, 223, 224, 224, 224, 132, 255, 255, 255, 1, 255, 255, 255, 6, 224, 224, 224, 137, 224, 224, 224, 231, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 130, 225, 225, 225, 133, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 129, 224, 224, 224, 137, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 65, 224, 224, 224, 255, 224, 224, 224, 220, 225, 225, 225, 223, 224, 224, 224, 255, 226, 226, 226, 61, 224, 224, 224, 65, 224, 224, 224, 255, 224, 224, 224, 222, 224, 224, 224, 231, 224, 224, 224, 255, 227, 227, 227, 62, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 67, 224, 224, 224, 255, 224, 224, 224, 219, 224, 224, 224, 222, 224, 224, 224, 255, 227, 227, 227, 63, 225, 225, 225, 67, 224, 224, 224, 255, 224, 224, 224, 219, 224, 224, 224, 230, 224, 224, 224, 255, 227, 227, 227, 63, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 127, 224, 224, 224, 129, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 126, 225, 225, 225, 135, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 221, 225, 225, 225, 127, 255, 255, 255, 0, 255, 255, 255, 1, 224, 224, 224, 128, 224, 224, 224, 220, 224, 224, 224, 219, 225, 225, 225, 127, 255, 255, 255, 0, 255, 255, 255, 5, 225, 225, 225, 134, 224, 224, 224, 229, 224, 224, 224, 255, 255, 255, 255, 0),
"format": "RGBA8",
"height": 16,
"mipmaps": false,
"width": 16
}
[sub_resource type="ImageTexture" id="ImageTexture_gdtpn"]
image = SubResource("Image_qmqj5")
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7v0rg"]
[node name="RestartWindow" type="ConfirmationDialog"]
title = "Restart required"
initial_position = 2
size = Vector2i(430, 500)
visible = true
transient = false
unresizable = true
theme = SubResource("Theme_swwco")
ok_button_text = "Restart"
cancel_button_text = "Save and restart"
[node name="Panel" type="Panel" parent="."]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = 8.0
offset_top = 8.0
offset_right = 422.0
offset_bottom = 451.0
grow_horizontal = 2
mouse_filter = 1
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
custom_minimum_size = Vector2(400, 0)
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -200.0
offset_right = 200.0
offset_bottom = 389.0
grow_horizontal = 2
[node name="HSeparator" type="HSeparator" parent="Panel/VBoxContainer"]
layout_mode = 2
mouse_filter = 1
theme_override_constants/separation = 15
theme_override_styles/separator = SubResource("StyleBoxEmpty_5vqdt")
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_constants/separation = 10
[node name="DocsIcon" type="TextureRect" parent="Panel/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
texture = SubResource("ImageTexture_gdtpn")
stretch_mode = 2
[node name="LinkButton" type="LinkButton" parent="Panel/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
mouse_default_cursor_shape = 16
theme_override_font_sizes/font_size = 20
text = "HOW TO USE"
uri = "https://vaporvee.com/docs/discord-rpc-godot#quick-start"
[node name="TextureRect" type="TextureRect" parent="Panel/VBoxContainer"]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource("1_0svbg")
expand_mode = 1
[node name="RichTextLabel" type="RichTextLabel" parent="Panel/VBoxContainer"]
custom_minimum_size = Vector2(400, 250)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
mouse_filter = 1
theme_override_font_sizes/normal_font_size = 16
theme_override_styles/normal = SubResource("StyleBoxEmpty_7v0rg")
bbcode_enabled = true
text = "[center]Thanks for enabling the
[rainbow]Discord Game SDK Plugin[/rainbow]
made by vaporvee. ❤️
You need to [wave]restart[/wave] the editor to fully enable this plugin!
Do you want to [wave]save[/wave] your project before restarting?
Error messages after the first two restarts are normal. Please ignore them!"
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2016-2023 The Godot Engine community
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.
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,12 @@
[configuration]
entry_symbol = "git_plugin_init"
compatibility_minimum = "4.1.0"
[libraries]
macos.editor = "macos/libgit_plugin.macos.editor.universal.dylib"
windows.editor.x86_64 = "win64/libgit_plugin.windows.editor.x86_64.dll"
linux.editor.x86_64 = "linux/libgit_plugin.linux.editor.x86_64.so"
linux.editor.arm64 = "linux/libgit_plugin.linux.editor.arm64.so"
linux.editor.rv64 = ""
+7
View File
@@ -0,0 +1,7 @@
[plugin]
name="Godot Git Plugin"
description="This plugin lets you interact with Git without leaving the Godot editor. More information can be found at https://github.com/godotengine/godot-git-plugin/wiki"
author="twaritwaikar"
version="v3.1.1"
script="godot-git-plugin.gd"
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Noé Le Cam
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.

Some files were not shown because too many files have changed in this diff Show More