Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d04eca330 | |||
| 11b3e7512d | |||
| 3093f6fb6b | |||
| dd3d64bdfb | |||
| f28d92a498 | |||
| 750d0f844a | |||
| f7ed6749bf | |||
| 5a5d6f90e6 | |||
| b4fb35ceeb | |||
| cbdb3a4e52 | |||
| 0c21592f91 | |||
| dde309291e | |||
| 4a83c33452 | |||
| accd1fe26f | |||
| 45b758627e | |||
| 833bfc3650 | |||
| 8557adbed5 |
@@ -0,0 +1 @@
|
||||
uid://dgwslfj43mu1y
|
||||
|
Before Width: | Height: | Size: 136 KiB |
@@ -0,0 +1 @@
|
||||
uid://cv5aoaprqfuhx
|
||||
@@ -0,0 +1 @@
|
||||
uid://cf1rsngucr7e2
|
||||
|
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 4.8 KiB |
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://n8g3v41u2u48"
|
||||
path="res://.godot/imported/Error.wav-f6422fca2f257bd634183d1c1c7a43ba.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Error.wav"
|
||||
dest_files=["res://.godot/imported/Error.wav-f6422fca2f257bd634183d1c1c7a43ba.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=0
|
||||
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 271 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cmr1ij4s7xa27"
|
||||
path="res://.godot/imported/IMG_20241015_162213_033(1).jpg-9929b05aea172bc5afc1063f329c9b14.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://IMG_20241015_162213_033(1).jpg"
|
||||
dest_files=["res://.godot/imported/IMG_20241015_162213_033(1).jpg-9929b05aea172bc5afc1063f329c9b14.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
|
||||
|
After Width: | Height: | Size: 782 KiB |
@@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://drj8iwoxqu7kk"
|
||||
path="res://.godot/imported/Cat_August_2010-4.jpg-ee22e0b2d7c21625ade8bb157ecd9ac0.ctex"
|
||||
uid="uid://2vacx4h6vn46"
|
||||
path="res://.godot/imported/IMG_20241015_175925_722(1).jpg-b4169e075837dc19cf9c8f3902aa4f18.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"]
|
||||
source_file="res://IMG_20241015_175925_722(1).jpg"
|
||||
dest_files=["res://.godot/imported/IMG_20241015_175925_722(1).jpg-b4169e075837dc19cf9c8f3902aa4f18.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
Before Width: | Height: | Size: 935 B After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1 @@
|
||||
uid://b8g2xx06g626m
|
||||
@@ -1,14 +1,14 @@
|
||||
[gd_scene load_steps=69 format=3 uid="uid://b2sygl55s6fng"]
|
||||
[gd_scene load_steps=81 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://cmr1ij4s7xa27" path="res://IMG_20241015_162213_033(1).jpg" id="5_8v24s"]
|
||||
[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://2vacx4h6vn46" path="res://IMG_20241015_175925_722(1).jpg" id="6_hvupl"]
|
||||
[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://Background1.gdshader" id="8_xtnau"]
|
||||
@@ -34,8 +34,12 @@
|
||||
[ext_resource type="PackedScene" uid="uid://bel6i6wdbexw4" path="res://search_results.tscn" id="27_g8wmp"]
|
||||
[ext_resource type="Texture2D" uid="uid://bmbxyma4ra46p" path="res://Download.png" id="29_v44vi"]
|
||||
[ext_resource type="Script" path="res://update_checker.gd" id="30_byc5i"]
|
||||
[ext_resource type="Script" path="res://patch_notes_button.gd" id="31_hjsj1"]
|
||||
[ext_resource type="Script" path="res://CustomButtonColor.gd" id="32_pwgec"]
|
||||
[ext_resource type="Script" path="res://loading_failed_screen.gd" id="37_mkkhu"]
|
||||
[ext_resource type="AudioStream" uid="uid://n8g3v41u2u48" path="res://Error.wav" id="38_nkjlp"]
|
||||
[ext_resource type="Script" path="res://birthday_container.gd" id="38_pitc3"]
|
||||
[ext_resource type="AudioStream" uid="uid://bwfw3l3iyv67o" path="res://roblox win sound effect.mp3" id="39_3er0p"]
|
||||
[ext_resource type="PackedScene" uid="uid://n7cnapaftfse" path="res://playing_now_window.tscn" id="40_ismud"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_kvkfy"]
|
||||
shader = ExtResource("8_xtnau")
|
||||
@@ -161,6 +165,62 @@ font_size = 31
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_ivhc6"]
|
||||
font_size = 20
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_spe36"]
|
||||
font_size = 46
|
||||
outline_size = 5
|
||||
outline_color = Color(0.675524, 0.62112, 0, 1)
|
||||
shadow_size = 2
|
||||
shadow_color = Color(0.282353, 0.282353, 0.282353, 0.384314)
|
||||
shadow_offset = Vector2(3, 5)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_amome"]
|
||||
font_size = 18
|
||||
font_color = Color(0.894922, 0.894922, 0.894922, 1)
|
||||
outline_size = 2
|
||||
outline_color = Color(0.519817, 0.439396, 0, 1)
|
||||
shadow_size = 4
|
||||
shadow_color = Color(0.290196, 0.290196, 0.290196, 0.270588)
|
||||
shadow_offset = Vector2(2, 3)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_drf2g"]
|
||||
font_size = 20
|
||||
outline_size = 2
|
||||
outline_color = Color(0.519817, 0.439396, 0, 1)
|
||||
shadow_size = 4
|
||||
shadow_color = Color(0.290196, 0.290196, 0.290196, 0.270588)
|
||||
shadow_offset = Vector2(2, 3)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_ilc1k"]
|
||||
_data = [Vector2(0, 0), 0.0, 11.3773, 0, 0, Vector2(0.253275, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="Curve" id="Curve_wqjqk"]
|
||||
_data = [Vector2(0, 0), 0.0, 16.8231, 0, 0, Vector2(0.119342, 1), 0.0, 0.0, 0, 0, Vector2(0.991769, 1), 8.04663e-07, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_wg7pm"]
|
||||
curve = SubResource("Curve_wqjqk")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_cr82i"]
|
||||
particle_flag_disable_z = true
|
||||
angle_min = -406.2
|
||||
angle_max = 219.7
|
||||
direction = Vector3(0, -1, 0)
|
||||
initial_velocity_min = 357.05
|
||||
initial_velocity_max = 586.59
|
||||
gravity = Vector3(0, 392, 0)
|
||||
scale_min = 10.0
|
||||
scale_max = 22.95
|
||||
scale_curve = SubResource("CurveTexture_wg7pm")
|
||||
hue_variation_min = -0.77
|
||||
hue_variation_max = 0.22
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_f1d3e"]
|
||||
font_size = 80
|
||||
shadow_size = 2
|
||||
shadow_color = Color(0, 0, 0, 0.556863)
|
||||
shadow_offset = Vector2(6.55, 6.735)
|
||||
|
||||
[node name="Node2D" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -190,18 +250,19 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_wf35v")
|
||||
texture = ExtResource("5_8v24s")
|
||||
expand_mode = 3
|
||||
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")
|
||||
texture = ExtResource("6_hvupl")
|
||||
expand_mode = 3
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="Nighttime" type="TextureRect" parent="."]
|
||||
@@ -299,7 +360,7 @@ grow_vertical = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="PlaylistsPanel" type="Control" parent="PlaylistPanelHolder"]
|
||||
layout_mode = 2
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 19.0
|
||||
@@ -374,7 +435,6 @@ size_flags_vertical = 4
|
||||
alignment = 1
|
||||
|
||||
[node name="YtTabButton" type="Button" parent="."]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 1.0
|
||||
@@ -389,6 +449,7 @@ scale = Vector2(0.79, 0.79)
|
||||
focus_mode = 0
|
||||
toggle_mode = true
|
||||
icon = ExtResource("29_v44vi")
|
||||
expand_icon = true
|
||||
script = ExtResource("16_2t15p")
|
||||
|
||||
[node name="YoutubeMenuHolder" type="Control" parent="."]
|
||||
@@ -449,7 +510,7 @@ offset_left = 1.99998
|
||||
offset_top = 49.0
|
||||
offset_right = 227.0
|
||||
offset_bottom = 72.0
|
||||
text = "NOTE: speeds depend on your internet"
|
||||
text = "NOTE: speed depends on your internet"
|
||||
label_settings = SubResource("LabelSettings_fiiw4")
|
||||
|
||||
[node name="HelpButton" type="Button" parent="YoutubeMenuHolder/Youtube menu"]
|
||||
@@ -468,7 +529,7 @@ grow_vertical = 0
|
||||
focus_mode = 0
|
||||
text = "?"
|
||||
script = ExtResource("17_4b8oh")
|
||||
Open = "https://notdraimdev.github.io/SimplSite/GettingStarted.html"
|
||||
Open = "https://realbucketofchicken.github.io/SimplSite/GettingStarted.html"
|
||||
|
||||
[node name="CreatePlaylistsMenu" type="Control" parent="."]
|
||||
visible = false
|
||||
@@ -492,10 +553,13 @@ color = Color(0.14902, 0.14902, 0.14902, 1)
|
||||
|
||||
[node name="FileDialog" type="FileDialog" parent="CreatePlaylistsMenu"]
|
||||
title = "Open a Directory"
|
||||
initial_position = 2
|
||||
size = Vector2i(352, 180)
|
||||
ok_button_text = "Select Current Folder"
|
||||
file_mode = 2
|
||||
access = 2
|
||||
filters = PackedStringArray("*")
|
||||
show_hidden_files = true
|
||||
use_native_dialog = true
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="CreatePlaylistsMenu"]
|
||||
@@ -568,6 +632,7 @@ grow_horizontal = 0
|
||||
focus_mode = 0
|
||||
icon = ExtResource("14_mioc4")
|
||||
flat = true
|
||||
expand_icon = true
|
||||
|
||||
[node name="RandomizeList" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -610,6 +675,7 @@ scale = Vector2(0.5, 0.5)
|
||||
focus_mode = 0
|
||||
shortcut = SubResource("Shortcut_0ov5v")
|
||||
icon = ExtResource("8_5v7u3")
|
||||
expand_icon = true
|
||||
|
||||
[node name="CurrentProgress" type="HSlider" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -627,7 +693,6 @@ 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
|
||||
@@ -640,12 +705,14 @@ offset_right = -65.0
|
||||
offset_bottom = -35.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
rotation = 3.14159
|
||||
pivot_offset = Vector2(20, 20)
|
||||
focus_mode = 0
|
||||
shortcut = SubResource("Shortcut_qw6pv")
|
||||
icon = ExtResource("3_4vx67")
|
||||
expand_icon = true
|
||||
|
||||
[node name="Loop" type="Button" parent="."]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
@@ -661,6 +728,7 @@ grow_vertical = 0
|
||||
focus_mode = 0
|
||||
shortcut = SubResource("Shortcut_vot6l")
|
||||
icon = ExtResource("5_c2g63")
|
||||
expand_icon = true
|
||||
|
||||
[node name="GoBack" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -669,16 +737,17 @@ 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
|
||||
offset_left = -198.535
|
||||
offset_top = -75.09
|
||||
offset_right = -158.535
|
||||
offset_bottom = -35.09
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
rotation = 3.14159
|
||||
pivot_offset = Vector2(20, 20)
|
||||
focus_mode = 0
|
||||
shortcut = SubResource("Shortcut_xu6hm")
|
||||
icon = ExtResource("3_4vx67")
|
||||
expand_icon = true
|
||||
|
||||
[node name="SongName" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -692,7 +761,7 @@ offset_right = -200.0
|
||||
offset_bottom = -95.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
text = "Please make a Playlist "
|
||||
text = "(no song)"
|
||||
label_settings = SubResource("LabelSettings_6prit")
|
||||
clip_text = true
|
||||
text_overrun_behavior = 2
|
||||
@@ -709,7 +778,6 @@ 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
|
||||
@@ -726,7 +794,6 @@ 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
|
||||
@@ -736,9 +803,9 @@ layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -318.0
|
||||
offset_left = -320.0
|
||||
offset_top = 24.0
|
||||
offset_right = -246.0
|
||||
offset_right = -248.0
|
||||
offset_bottom = 96.0
|
||||
grow_horizontal = 0
|
||||
scale = Vector2(0.79, 0.79)
|
||||
@@ -746,6 +813,7 @@ focus_mode = 0
|
||||
toggle_mode = true
|
||||
shortcut = SubResource("Shortcut_g3fcr")
|
||||
icon = ExtResource("12_cv2gm")
|
||||
expand_icon = true
|
||||
script = ExtResource("13_5illk")
|
||||
PressedIcon = ExtResource("14_mioc4")
|
||||
NotPressedIcon = ExtResource("12_cv2gm")
|
||||
@@ -792,7 +860,6 @@ offset_right = -264.5
|
||||
offset_bottom = -263.775
|
||||
|
||||
[node name="VolumeButton" type="Button" parent="."]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
@@ -808,6 +875,7 @@ grow_vertical = 0
|
||||
focus_mode = 0
|
||||
toggle_mode = true
|
||||
icon = ExtResource("6_3mi6c")
|
||||
expand_icon = true
|
||||
script = ExtResource("14_7q3ja")
|
||||
|
||||
[node name="VolumeSlider" type="VSlider" parent="."]
|
||||
@@ -825,6 +893,7 @@ grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 8
|
||||
tooltip_text = "use Up/Down arrow keys to adjust"
|
||||
focus_mode = 0
|
||||
value = 100.0
|
||||
|
||||
@@ -850,7 +919,7 @@ offset_left = -64.0
|
||||
offset_top = -23.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "v1.5.0.2"
|
||||
text = "v1.5.6"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="SettingsButton" type="Button" parent="."]
|
||||
@@ -868,6 +937,7 @@ focus_mode = 0
|
||||
toggle_mode = true
|
||||
shortcut = SubResource("Shortcut_8p5o4")
|
||||
icon = ExtResource("11_esjel")
|
||||
expand_icon = true
|
||||
script = ExtResource("12_073mb")
|
||||
|
||||
[node name="SettingsHolder" type="Control" parent="."]
|
||||
@@ -941,6 +1011,8 @@ grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
script = ExtResource("30_byc5i")
|
||||
errorColor = Color(0.981984, 0, 0.065929, 1)
|
||||
IMPUpdateLinkColor = Color(0.51, 0.31008, 0.2652, 1)
|
||||
IMPUpdatePatchNotesColor = Color(0.35, 0.27125, 0.2555, 1)
|
||||
|
||||
[node name="HTTPRequest" type="HTTPRequest" parent="UpdateChecker"]
|
||||
timeout = 5.0
|
||||
@@ -949,9 +1021,9 @@ timeout = 5.0
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="UpdateChecker"]
|
||||
layout_mode = 0
|
||||
offset_left = -214.0
|
||||
offset_top = -144.0
|
||||
offset_right = -24.0
|
||||
offset_left = -292.0
|
||||
offset_top = -256.0
|
||||
offset_right = -10.0
|
||||
offset_bottom = -44.0
|
||||
color = Color(0.14902, 0.14902, 0.14902, 1)
|
||||
|
||||
@@ -960,30 +1032,29 @@ layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -68.0
|
||||
offset_right = 68.0
|
||||
offset_left = -136.0
|
||||
offset_right = 113.0
|
||||
offset_bottom = 23.0
|
||||
grow_horizontal = 2
|
||||
text = "Update Available!"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="PatchNotesButton" type="Button" parent="UpdateChecker/ColorRect"]
|
||||
z_index = 4
|
||||
[node name="Patchnotes" type="RichTextLabel" parent="UpdateChecker/ColorRect"]
|
||||
z_index = 2
|
||||
layout_mode = 1
|
||||
anchors_preset = 14
|
||||
anchor_top = 0.5
|
||||
anchors_preset = -1
|
||||
anchor_top = 0.150943
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -24.0
|
||||
offset_bottom = 12.0
|
||||
anchor_bottom = 0.820755
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "View patch notes"
|
||||
flat = true
|
||||
script = ExtResource("31_hjsj1")
|
||||
text = "PatchNotes
|
||||
(!IT) for important updates"
|
||||
context_menu_enabled = true
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="UpdateChecker/ColorRect/PatchNotesButton"]
|
||||
[node name="PatchnotesBG" type="ColorRect" parent="UpdateChecker/ColorRect/Patchnotes"]
|
||||
z_index = -1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -991,9 +1062,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.19706, 0.279877, 0.326012, 1)
|
||||
script = ExtResource("32_pwgec")
|
||||
color = Color(0.257219, 0.338913, 0.352311, 1)
|
||||
|
||||
[node name="LinkButton" type="Button" parent="UpdateChecker/ColorRect"]
|
||||
z_index = 1
|
||||
@@ -1008,7 +1077,7 @@ grow_vertical = 0
|
||||
text = "Update"
|
||||
flat = true
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="UpdateChecker/ColorRect/LinkButton"]
|
||||
[node name="LinkBTTNBG" type="ColorRect" parent="UpdateChecker/ColorRect/LinkButton"]
|
||||
z_index = -1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -1021,6 +1090,7 @@ color = Color(0.264012, 0.463229, 0.504783, 1)
|
||||
script = ExtResource("32_pwgec")
|
||||
|
||||
[node name="CloseBuen" type="Button" parent="UpdateChecker/ColorRect"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
@@ -1028,10 +1098,11 @@ anchor_right = 1.0
|
||||
offset_left = -72.0
|
||||
offset_bottom = 72.0
|
||||
grow_horizontal = 0
|
||||
scale = Vector2(0.25, 0.25)
|
||||
scale = Vector2(0.4, 0.4)
|
||||
pivot_offset = Vector2(72, 0)
|
||||
icon = ExtResource("14_mioc4")
|
||||
flat = true
|
||||
expand_icon = true
|
||||
|
||||
[node name="UpdatingNotification" type="Control" parent="."]
|
||||
visible = false
|
||||
@@ -1121,8 +1192,146 @@ horizontal_alignment = 1
|
||||
|
||||
[node name="deleteConfirm" type="ConfirmationDialog" parent="."]
|
||||
initial_position = 2
|
||||
size = Vector2i(263, 100)
|
||||
dialog_text = "Are you sure you want to delete"
|
||||
|
||||
[node name="LoadingFailedScreen" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -235.0
|
||||
offset_top = -159.0
|
||||
offset_right = 235.0
|
||||
offset_bottom = 159.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("37_mkkhu")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="LoadingFailedScreen"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.681657, 0.492205, 3.85046e-07, 1)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="LoadingFailedScreen"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -187.0
|
||||
offset_right = 187.0
|
||||
offset_bottom = 91.0
|
||||
grow_horizontal = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="LoadingFailedLabel" type="Label" parent="LoadingFailedScreen/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "LOADING FAILED"
|
||||
label_settings = SubResource("LabelSettings_spe36")
|
||||
|
||||
[node name="Label2" type="Label" parent="LoadingFailedScreen/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Saving is currently disabled
|
||||
Simplaudio failed to load your save,
|
||||
Simplaudio may also have failed to save,
|
||||
if you suspect this, please contact me."
|
||||
label_settings = SubResource("LabelSettings_amome")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Label3" type="Label" parent="LoadingFailedScreen/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Please restart Simplaudio,
|
||||
if the issue presists you can:"
|
||||
label_settings = SubResource("LabelSettings_drf2g")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="LoadingFailedScreen/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
alignment = 1
|
||||
|
||||
[node name="ContinueAnyways" type="Button" parent="LoadingFailedScreen/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Continue anyways"
|
||||
|
||||
[node name="Contact" type="Button" parent="LoadingFailedScreen/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Contact me"
|
||||
|
||||
[node name="ConfirmationDialog" type="ConfirmationDialog" parent="LoadingFailedScreen"]
|
||||
title = "Are you sure?"
|
||||
initial_position = 2
|
||||
size = Vector2i(242, 106)
|
||||
force_native = true
|
||||
ok_button_text = "Yes, i will take the risk"
|
||||
dialog_text = "This is *irreversable*"
|
||||
cancel_button_text = "No"
|
||||
|
||||
[node name="FailedAudioCue" type="AudioStreamPlayer" parent="LoadingFailedScreen"]
|
||||
stream = ExtResource("38_nkjlp")
|
||||
|
||||
[node name="BirthdayContainer" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
script = ExtResource("38_pitc3")
|
||||
opacitycurve = SubResource("Curve_ilc1k")
|
||||
|
||||
[node name="BirthdayParticles" type="GPUParticles2D" parent="BirthdayContainer"]
|
||||
emitting = false
|
||||
amount = 120
|
||||
process_material = SubResource("ParticleProcessMaterial_cr82i")
|
||||
lifetime = 5.0
|
||||
one_shot = true
|
||||
explosiveness = 0.9
|
||||
visibility_rect = Rect2(-750, -750, 1500, 1000)
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="BirthdayContainer"]
|
||||
stream = ExtResource("39_3er0p")
|
||||
volume_db = -10.0
|
||||
bus = &"Music"
|
||||
|
||||
[node name="BirthdayHappy" type="Label" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -62.5
|
||||
offset_top = -11.5
|
||||
offset_right = 62.5
|
||||
offset_bottom = 11.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Happy Birthday Simplaudio!"
|
||||
label_settings = SubResource("LabelSettings_f1d3e")
|
||||
|
||||
[node name="PlayingNow" type="Window" parent="."]
|
||||
transparent_bg = true
|
||||
visible = false
|
||||
borderless = true
|
||||
transparent = true
|
||||
mouse_passthrough = true
|
||||
force_native = true
|
||||
|
||||
[node name="PlayingNowWindow" parent="PlayingNow" node_paths=PackedStringArray("ParentScene") instance=ExtResource("40_ismud")]
|
||||
ParentScene = NodePath("../..")
|
||||
|
||||
[connection signal="toggled" from="SelectPlaylist" to="SelectPlaylist" method="_on_toggled"]
|
||||
[connection signal="pressed" from="PlaylistPanelHolder/PlaylistsPanel/PlaylistsContainer/VBoxContainer/HBoxContainer/CreatePlaylist" to="PlaylistPanelHolder/PlaylistsPanel" method="_on_create_playlist_pressed"]
|
||||
[connection signal="toggled" from="PlaylistPanelHolder/PlaylistsPanel/PlaylistsContainer/VBoxContainer/HBoxContainer/PlayAll" to="PlaylistPanelHolder/PlaylistsPanel" method="_on_play_all_toggled"]
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://rnxfmtoo2yn4
|
||||
@@ -0,0 +1 @@
|
||||
uid://cdigfnlqg2r8l
|
||||
@@ -0,0 +1 @@
|
||||
uid://bs5vnv3baji7f
|
||||
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 859 B After Width: | Height: | Size: 7.8 KiB |
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dqg674t6kun4e"]
|
||||
[gd_scene load_steps=10 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"]
|
||||
@@ -17,6 +17,9 @@ font_size = 11
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_cwn10"]
|
||||
font_size = 15
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_i51gs"]
|
||||
font_size = 50
|
||||
|
||||
[node name="SettingsMenuChild" type="Control"]
|
||||
custom_minimum_size = Vector2(576, 493)
|
||||
layout_mode = 3
|
||||
@@ -503,6 +506,72 @@ autowrap_mode = 2
|
||||
custom_minimum_size = Vector2(0, 16.07)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MISC" type="Label" parent="ScrollContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(400, 26.975)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 3
|
||||
text = "MISC"
|
||||
label_settings = SubResource("LabelSettings_2bhor")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="NowPlayingWindowButton" type="CheckBox" parent="ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
focus_mode = 0
|
||||
text = "Now playing window"
|
||||
|
||||
[node name="NowPlayingInfo" type="Label" parent="ScrollContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(229.895, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
text = "This setting enables a dedicated window for displaying the currently playing song. This can be useful when streaming "
|
||||
label_settings = SubResource("LabelSettings_p55k3")
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Credits" type="VBoxContainer" parent="ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Credits"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "CREDITS"
|
||||
label_settings = SubResource("LabelSettings_i51gs")
|
||||
|
||||
[node name="Label5" type="LinkButton" parent="ScrollContainer/VBoxContainer/Credits"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "Godot"
|
||||
underline = 1
|
||||
uri = "https://godotengine.org"
|
||||
|
||||
[node name="Label2" type="LinkButton" parent="ScrollContainer/VBoxContainer/Credits"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "Godot YT-DL by Noé Le Cam"
|
||||
underline = 1
|
||||
uri = "https://github.com/Nolkaloid/godot-yt-dlp"
|
||||
|
||||
[node name="Label3" type="LinkButton" parent="ScrollContainer/VBoxContainer/Credits"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "Discord RPC by vaporee"
|
||||
underline = 1
|
||||
uri = "https://github.com/vaporvee/discord-rpc-godot"
|
||||
|
||||
[node name="Label4" type="LinkButton" parent="ScrollContainer/VBoxContainer/Credits"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "Godot GIF by b0tlanner"
|
||||
underline = 1
|
||||
uri = "https://github.com/BOTLANNER/godot-gif"
|
||||
|
||||
[node name="Seperator7" 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
|
||||
@@ -520,14 +589,15 @@ layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -72.0
|
||||
offset_bottom = 72.0
|
||||
offset_left = -40.0
|
||||
offset_bottom = 40.0
|
||||
grow_horizontal = 0
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 0
|
||||
focus_mode = 0
|
||||
icon = ExtResource("2_iuivb")
|
||||
flat = true
|
||||
expand_icon = 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"]
|
||||
@@ -543,6 +613,7 @@ flat = true
|
||||
[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="toggled" from="ScrollContainer/VBoxContainer/NowPlayingWindowButton" to="." method="_on_now_playing_window_button_toggled"]
|
||||
[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"]
|
||||
|
||||
|
Before Width: | Height: | Size: 849 B After Width: | Height: | Size: 8.0 KiB |
@@ -0,0 +1 @@
|
||||
uid://bx75h6xic1hi7
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 7.7 KiB |
@@ -0,0 +1 @@
|
||||
uid://0jnn2i3r56m3
|
||||
@@ -0,0 +1 @@
|
||||
uid://cu21wq8hdk6mq
|
||||
@@ -0,0 +1 @@
|
||||
uid://bupnp7dee8k3a
|
||||
@@ -0,0 +1 @@
|
||||
uid://bb81mf7sks0g4
|
||||
@@ -0,0 +1 @@
|
||||
uid://ec3hjq1x03oq
|
||||
@@ -0,0 +1 @@
|
||||
uid://bkptv02am6p88
|
||||
@@ -0,0 +1 @@
|
||||
uid://rxllqh6yapvt
|
||||
@@ -0,0 +1 @@
|
||||
uid://osytjsx5x5lb
|
||||
@@ -0,0 +1 @@
|
||||
uid://c0dklnw4cfoe3
|
||||
@@ -0,0 +1 @@
|
||||
uid://b5mou30wr43g
|
||||
@@ -0,0 +1,39 @@
|
||||
extends Control
|
||||
|
||||
@onready var birthday_particles: GPUParticles2D = $BirthdayParticles
|
||||
@onready var audio_stream_player: AudioStreamPlayer = $AudioStreamPlayer
|
||||
@onready var birthday_happy: Label = $"../BirthdayHappy"
|
||||
@export var opacitycurve:Curve
|
||||
var opacity:float = 1
|
||||
|
||||
var awaitingJumpscare:bool
|
||||
var IsFocused:bool
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
birthday_happy.hide()
|
||||
print("user: ",DiscordRPC.get_current_user().get("username"))
|
||||
var bday:bool
|
||||
if Time.get_datetime_dict_from_system().day == 9:
|
||||
if Time.get_datetime_dict_from_system().month == 9:
|
||||
await get_tree().create_timer(0.2).timeout
|
||||
awaitingJumpscare = true
|
||||
bday = true
|
||||
|
||||
func _notification(what):
|
||||
if what == get_tree().NOTIFICATION_APPLICATION_FOCUS_IN:
|
||||
IsFocused = true
|
||||
if what == get_tree().NOTIFICATION_APPLICATION_FOCUS_OUT:
|
||||
IsFocused = false
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
if awaitingJumpscare && IsFocused:
|
||||
birthday_happy.show()
|
||||
awaitingJumpscare = false
|
||||
birthday_particles.emitting = true
|
||||
audio_stream_player.play()
|
||||
if !awaitingJumpscare:
|
||||
opacity -= delta/5
|
||||
birthday_happy.modulate.a = opacitycurve.sample_baked(opacity)
|
||||
if opacity <= 0.0:
|
||||
process_mode = ProcessMode.PROCESS_MODE_DISABLED
|
||||
@@ -0,0 +1 @@
|
||||
uid://n3koklp0funr
|
||||
@@ -0,0 +1 @@
|
||||
uid://dg68hvw773xu6
|
||||
@@ -0,0 +1 @@
|
||||
uid://bsnt1irskti8d
|
||||
@@ -0,0 +1 @@
|
||||
uid://dl37gwyodonea
|
||||
@@ -0,0 +1 @@
|
||||
uid://kt7n1epi3ng8
|
||||
@@ -9,9 +9,11 @@ custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../Exports/Windows/Simplaudio.exe"
|
||||
export_path="../SimplaudioExports/Windows/Simplaudio.exe"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
seed=0
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
script_export_mode=2
|
||||
@@ -77,9 +79,11 @@ custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../Exports/Linux/Simplaudio.x86_64"
|
||||
export_path="../SimplaudioExports/Linux/Simplaudio.x86_64"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
seed=0
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
script_export_mode=2
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://bn0iqqmor3b2b
|
||||
@@ -0,0 +1,29 @@
|
||||
extends Control
|
||||
|
||||
@onready var continue_anyways: Button = $VBoxContainer/HBoxContainer/ContinueAnyways
|
||||
@onready var contact: Button = $VBoxContainer/HBoxContainer/Contact
|
||||
@onready var failed_audio_cue: AudioStreamPlayer = $FailedAudioCue
|
||||
@onready var confirmation_dialog: ConfirmationDialog = $ConfirmationDialog
|
||||
|
||||
func Show():
|
||||
failed_audio_cue.play()
|
||||
show()
|
||||
continue_anyways.pressed.connect(confirmation_dialog.show)
|
||||
confirmation_dialog.confirmed.connect(Confiremed)
|
||||
contact.pressed.connect(Contact)
|
||||
|
||||
func Confiremed():
|
||||
owner.LoadingSaveFailed = false
|
||||
hide()
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
hide()
|
||||
|
||||
func Contact():
|
||||
print("Contact pressed")
|
||||
OS.shell_open("https://notdraimdev.github.io/SimplSite/Contact.html")
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
uid://cbdcs7oie12g5
|
||||
@@ -31,6 +31,7 @@ extends Control
|
||||
@onready var search_results: SearchResults = $SearchResults
|
||||
@onready var delete_confirm: ConfirmationDialog = $deleteConfirm
|
||||
@onready var search_bar: LineEdit = $SearchBar
|
||||
@onready var playing_now: Window = $PlayingNow
|
||||
|
||||
var DiscordUsername:String
|
||||
|
||||
@@ -62,6 +63,7 @@ var PlaylistsLocation:Dictionary
|
||||
var BackroundSetup:bool
|
||||
var CurrentPlaylist:String
|
||||
var PlayAllLists:bool
|
||||
var UsingPlayingNow:bool
|
||||
|
||||
@export var LoopPressed:Texture2D
|
||||
@export var LoopNotPressed:Texture2D
|
||||
@@ -69,8 +71,17 @@ var PlayAllLists:bool
|
||||
signal ContinueDelete
|
||||
var deleteSong:bool
|
||||
|
||||
signal SongChanged
|
||||
var currentSongName:String
|
||||
var currentArtistName:String
|
||||
var currentAlbumName:String
|
||||
|
||||
var LoadingSaveFailed:bool = true
|
||||
@onready var loading_failed_screen: Control = $LoadingFailedScreen
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
playing_now.visible = false
|
||||
get_tree().root.min_size = Vector2(850,492)
|
||||
current_progress.drag_ended.connect(SongDragStopped)
|
||||
current_progress.drag_started.connect(SongDragStarted)
|
||||
@@ -88,9 +99,10 @@ func _ready() -> void:
|
||||
if Arg.to_lower().ends_with(".mp3") or Arg.to_lower().ends_with(".wav"):
|
||||
OS.alert("opening files like this\nis no longer supported")
|
||||
var data:Dictionary
|
||||
var save = loadUserdata()
|
||||
if save != {}:
|
||||
data = save
|
||||
loadPlaylists()
|
||||
if loadUserdata() != null:
|
||||
data = loadUserdata()
|
||||
if Strin.is_empty():
|
||||
if !Playlists.is_empty():
|
||||
PlaylistSelected(Playlists.keys()[0],PlaylistsLocation[Playlists.keys()[0]])
|
||||
@@ -109,9 +121,6 @@ func _ready() -> void:
|
||||
child.PlaylistSongs = Playlists[Playlist]
|
||||
playlists_holder.add_child(child)
|
||||
if data != null:
|
||||
if data.has("DiscordUsername"):
|
||||
DiscordUsername = data["DiscordUsername"]
|
||||
print("stiff ",data)
|
||||
if data.has("Volume"):
|
||||
print(data["Volume"])
|
||||
SetVolume(data["Volume"])
|
||||
@@ -129,6 +138,13 @@ func _ready() -> void:
|
||||
if data.has("DiscordRichPresenceEnabled"):
|
||||
settings_menu_child.discord_rich_presence_button.set_pressed_no_signal(data["DiscordRichPresenceEnabled"])
|
||||
DiscordRichPresenceEnabled = data["DiscordRichPresenceEnabled"]
|
||||
if data["DiscordRichPresenceEnabled"]:
|
||||
setUpDiscord()
|
||||
if data.has("DiscordUsername"):
|
||||
if data["DiscordUsername"]:
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordUsername = data["DiscordUsername"]
|
||||
print("stiff ",data)
|
||||
if data.has("ReverbEnabled") :
|
||||
settings_menu_child.reverb_check.button_pressed = data["ReverbEnabled"]
|
||||
if data.has("ReverbRoomSize") :
|
||||
@@ -152,6 +168,8 @@ func _ready() -> void:
|
||||
PlayAllLists = data["PlayAllLists"]
|
||||
if PlayAllLists:
|
||||
play_all.button_pressed = true
|
||||
if data.has("UsingPlayingNow"):
|
||||
UsingPlayingNow = data["UsingPlayingNow"]
|
||||
else:
|
||||
if data != null:
|
||||
print(data["Volume"])
|
||||
@@ -175,18 +193,33 @@ func _ready() -> void:
|
||||
PlaySongs()
|
||||
#PlaySongs()
|
||||
|
||||
setUpDiscord()
|
||||
for child in get_children(true):
|
||||
if child is Control:
|
||||
child.focus_mode = child is LineEdit
|
||||
if LoadingSaveFailed:
|
||||
var file2 = FileAccess.open("user://playlists.dat", FileAccess.READ)
|
||||
if (file2.get_error() != ERR_FILE_NOT_FOUND) or (file2.get_error() != ERR_FILE_BAD_PATH):
|
||||
loading_failed_screen.Show()
|
||||
ERR_PRINTER_ON_FIRE
|
||||
|
||||
func setUpDiscord():
|
||||
DiscordRPC.app_id = 1276916292170809426
|
||||
DiscordRPC.refresh()
|
||||
print("stiff chicks ",DiscordRPC.get_current_user())
|
||||
SplashStrings = ["the party just started!"]
|
||||
var LText = SplashStrings.pick_random()
|
||||
print(LText)
|
||||
DiscordRPC.large_image_text = LText
|
||||
if DiscordUsername == "vrenthusiest":
|
||||
if randi_range(1,4) == 1:
|
||||
DiscordRPC.large_image = "nullbody"
|
||||
DiscordRPC.large_image_text = "I am racist against nullbodys - Vr"
|
||||
else:
|
||||
DiscordRPC.large_image = "logo"
|
||||
else:
|
||||
DiscordRPC.large_image = "logo"
|
||||
DiscordUsername = DiscordRPC.get_current_user().get("username")
|
||||
DiscordRPC.refresh()
|
||||
DiscordRPC.large_image = "logo"
|
||||
# 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
|
||||
@@ -197,10 +230,6 @@ func setUpDiscord():
|
||||
DiscordRPC.state = ""
|
||||
# Image key for small image from "Art Assets" from the Discord Developer website
|
||||
# Tooltip text for the large image
|
||||
SplashStrings = ["the party just started!"]
|
||||
var LText = SplashStrings.pick_random()
|
||||
print(LText)
|
||||
DiscordRPC.large_image_text = LText
|
||||
# Image key for large image from "Art Assets" from the Discord Developer website
|
||||
DiscordRPC.small_image = ""
|
||||
# Tooltip text for the small image
|
||||
@@ -270,6 +299,7 @@ func SetSong(IDX:int):
|
||||
CurrentIDX = IDX -1
|
||||
PlaySongs()
|
||||
music_player.stop()
|
||||
if !LoadingSaveFailed:
|
||||
SaveEverything()
|
||||
print("SetSong")
|
||||
|
||||
@@ -298,15 +328,14 @@ func SetVolume(Volume:float):
|
||||
|
||||
var volume = (-50 + (Volume/2))
|
||||
if Volume >= 2:
|
||||
AudioServer.set_bus_volume_db(0,volume)
|
||||
AudioServer.set_bus_volume_db(1,volume)
|
||||
else:
|
||||
AudioServer.set_bus_volume_db(0,-1000)
|
||||
print("Chnaged Volume")
|
||||
SaveEverything()
|
||||
AudioServer.set_bus_volume_db(1,-1000)
|
||||
volume_slider.value = Volume
|
||||
|
||||
func SelectPlaylistDir():
|
||||
file_dialog.show()
|
||||
if !LoadingSaveFailed:
|
||||
SaveEverything()
|
||||
print("Select Playtlist dir")
|
||||
|
||||
@@ -337,7 +366,7 @@ func PlaySongs():
|
||||
if LoopingSong:
|
||||
music_player.play()
|
||||
elif textSongs.size() != 0:
|
||||
var index
|
||||
var index:int
|
||||
if OpenedSong.is_empty():
|
||||
if PlayAllLists:
|
||||
if CurrentIDX >= (textSongs.size()):
|
||||
@@ -356,6 +385,7 @@ func PlaySongs():
|
||||
GetSongs(PlaylistsLocation[CurrentPlaylist])
|
||||
var CurrentSongDir:String = PlaylistsLocation[CurrentPlaylist] + "/" + textSongs[index]
|
||||
DiscordRPC.details = textSongs[index].replace(".mp3","")
|
||||
currentSongName = textSongs[index].replace(".mp3","")
|
||||
print(CurrentSongDir)
|
||||
var sonnname:String = textSongs[index]
|
||||
sonnname = sonnname.replace(".mp3", "")
|
||||
@@ -372,17 +402,21 @@ func PlaySongs():
|
||||
if MusicMetadataAutoload.get_mp3_metadata(song).title != "":
|
||||
song_name.text = MusicMetadataAutoload.get_mp3_metadata(song).title
|
||||
if MusicMetadataAutoload.get_mp3_metadata(song).artist != "":
|
||||
artist_name.text = MusicMetadataAutoload.get_mp3_metadata(song).artist
|
||||
else: artist_name.text = ""
|
||||
currentArtistName = MusicMetadataAutoload.get_mp3_metadata(song).artist
|
||||
else: currentArtistName = ""
|
||||
artist_name.text = currentArtistName
|
||||
if MusicMetadataAutoload.get_mp3_metadata(song).album != "":
|
||||
album_name.text = MusicMetadataAutoload.get_mp3_metadata(song).album
|
||||
else: album_name.text = ""
|
||||
currentAlbumName = MusicMetadataAutoload.get_mp3_metadata(song).album
|
||||
else: currentAlbumName = ""
|
||||
album_name.text = currentAlbumName
|
||||
if song != null:
|
||||
CurrentSongLenth = song.get_length()
|
||||
music_player.stream = song
|
||||
music_player.play()
|
||||
if !LoadingSaveFailed:
|
||||
SaveEverything()
|
||||
print("set stream")
|
||||
SongChanged.emit()
|
||||
|
||||
|
||||
func GetSongs(dir:String):
|
||||
@@ -451,6 +485,7 @@ func PlaylistSelected(Playlist:String,PlaylistLocation:String):
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(_delta: float) -> void:
|
||||
playing_now.visible = UsingPlayingNow
|
||||
currentSaveTime -= _delta
|
||||
if !BackroundSetup:
|
||||
if CurrentCustomBackroundImageDirectory != null and CurrentCustomBackroundImageDirectory != "":
|
||||
@@ -458,17 +493,19 @@ func _process(_delta: float) -> void:
|
||||
BackroundSetup = true
|
||||
if currentSaveTime < 0:
|
||||
currentSaveTime = SaveInterval
|
||||
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordUsername = DiscordRPC.get_current_user().get("username")
|
||||
print(DiscordRPC.get_current_user())
|
||||
if !LoadingSaveFailed:
|
||||
SaveEverything()
|
||||
print("yoo")
|
||||
@warning_ignore("integer_division")
|
||||
if DiscordRichPresenceEnabled:
|
||||
if DiscordRPC.large_image != "nullbody":
|
||||
UpdateSplashes()
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
print(DiscordRPC.get_current_user()["username"])
|
||||
print(TimeSpentListening)
|
||||
var LText = SplashStrings.pick_random()
|
||||
if DiscordRPC.large_image != "nullbody":
|
||||
DiscordRPC.large_image_text = LText
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
DiscordRPC.refresh()
|
||||
@@ -568,46 +605,70 @@ func SaveEverything():
|
||||
"CompressionGain" : settings_menu_child.gain_slider.value,
|
||||
"CurrentCustomBackroundImageDirectory" : CurrentCustomBackroundImageDirectory,
|
||||
"PlayAllLists" : PlayAllLists,
|
||||
"DiscordUsername" : DiscordRPC.get_current_user().get("username")
|
||||
"DiscordUsername" : DiscordRPC.get_current_user().get("username"),
|
||||
"UsingPlayingNow" : UsingPlayingNow
|
||||
}
|
||||
print("saving")
|
||||
saveUserdata(Data)
|
||||
savePlaylists()
|
||||
|
||||
var saveRetrys:int =0
|
||||
|
||||
func savePlaylists():
|
||||
var json = JSON.new()
|
||||
var file = FileAccess.open("user://playlists.dat", FileAccess.WRITE)
|
||||
var file2 = FileAccess.open("user://playlistsLocation.dat", FileAccess.WRITE)
|
||||
@warning_ignore("static_called_on_instance")
|
||||
if !Playlists == null or !Playlists == {}:
|
||||
if !(Playlists == null) or !(Playlists == {}):
|
||||
file.store_string(str(json.stringify(Playlists)))
|
||||
if !PlaylistsLocation == null or !PlaylistsLocation == {}:
|
||||
if !(PlaylistsLocation == null) or !(PlaylistsLocation == {}):
|
||||
file2.store_string(str(json.stringify(PlaylistsLocation)))
|
||||
if loadUserdata() == {}:
|
||||
if saveRetrys < 3:
|
||||
savePlaylists()
|
||||
else:
|
||||
printerr("saving failed")
|
||||
|
||||
|
||||
func saveUserdata(content):
|
||||
var json = JSON.new()
|
||||
var file = FileAccess.open("user://data.dat", FileAccess.WRITE)
|
||||
@warning_ignore("static_called_on_instance")
|
||||
file.store_string(Marshalls.utf8_to_base64(json.stringify(content)))
|
||||
file.store_string(json.stringify(content))
|
||||
file.close()
|
||||
|
||||
func loadUserdata():
|
||||
var saveLoadTries:int
|
||||
|
||||
func loadUserdata() -> Dictionary:
|
||||
var json = JSON.new()
|
||||
var file = FileAccess.open("user://data.dat", FileAccess.READ)
|
||||
var filetext = file.get_as_text() if file != null else null
|
||||
if file != null:
|
||||
var content
|
||||
var content:Dictionary = {}
|
||||
if json.parse_string(file.get_as_text()) != null:
|
||||
content = json.parse_string(filetext)
|
||||
else:
|
||||
@warning_ignore("static_called_on_instance")
|
||||
content = json.parse_string(Marshalls.base64_to_utf8(file.get_as_text()))
|
||||
file.close()
|
||||
if content != null:
|
||||
LoadingSaveFailed = false
|
||||
return content
|
||||
else:
|
||||
LoadingSaveFailed = true
|
||||
return {}
|
||||
else:
|
||||
file.close()
|
||||
return null
|
||||
printerr("loading save failed")
|
||||
if saveLoadTries < 3:
|
||||
print("retrying")
|
||||
saveLoadTries +=1
|
||||
return loadUserdata()
|
||||
LoadingSaveFailed = true
|
||||
return {}
|
||||
|
||||
|
||||
var playlistLoadTries:int
|
||||
func loadPlaylists():
|
||||
var json = JSON.new()
|
||||
var file = FileAccess.open("user://playlistsLocation.dat", FileAccess.READ)
|
||||
@@ -617,8 +678,17 @@ func loadPlaylists():
|
||||
print(filetext)
|
||||
#print("shit " + json.parse_string(filetext))
|
||||
if file.get_as_text() != "" and file2.get_as_text() != "":
|
||||
PlaylistsLocation = json.parse_string(file.get_as_text())
|
||||
Playlists = {} if json.parse_string(file2.get_as_text()) == null else json.parse_string(file2.get_as_text())
|
||||
var PlaylistsLocationTemp
|
||||
var PlaylistsTemp
|
||||
PlaylistsLocationTemp = json.parse_string(file.get_as_text())
|
||||
PlaylistsTemp = json.parse_string(file2.get_as_text())
|
||||
if (PlaylistsTemp == null) or (PlaylistsLocationTemp == null):
|
||||
printerr("Loading playlists failed")
|
||||
LoadingSaveFailed = true
|
||||
else:
|
||||
LoadingSaveFailed = false
|
||||
Playlists = PlaylistsTemp
|
||||
PlaylistsLocation = PlaylistsLocationTemp
|
||||
print(PlaylistsLocation)
|
||||
print(Playlists.keys())
|
||||
print("Playlists")
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://cvqefw0g6ala7
|
||||
@@ -0,0 +1 @@
|
||||
uid://bh3btjt2hkbs
|
||||
@@ -0,0 +1,21 @@
|
||||
extends Control
|
||||
|
||||
@export var ParentScene:MainScene
|
||||
@onready var desctibtor: Label = $Desctibtor
|
||||
@onready var ParentWindow:Window = $".."
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
ParentScene.SongChanged.connect(SongChanged)
|
||||
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
ParentWindow.size = size
|
||||
|
||||
func SongChanged():
|
||||
print("SongChanged: ", ParentScene.currentSongName)
|
||||
desctibtor.text = 'Now Playing: "' + ParentScene.currentSongName + '"'
|
||||
if ParentScene.currentArtistName:
|
||||
desctibtor.text += " uploaded by " + ParentScene.currentArtistName
|
||||
#ParentWindow.size = size * 2
|
||||
@@ -0,0 +1 @@
|
||||
uid://q2gdlr10ncnb
|
||||
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://n7cnapaftfse"]
|
||||
|
||||
[ext_resource type="Script" path="res://playing_now_window.gd" id="1_f0rac"]
|
||||
|
||||
[node name="PlayingNowWindow" type="AspectRatioContainer"]
|
||||
offset_right = 160.0
|
||||
offset_bottom = 23.0
|
||||
script = ExtResource("1_f0rac")
|
||||
|
||||
[node name="Desctibtor" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
@@ -0,0 +1 @@
|
||||
uid://cs12qambyvou8
|
||||
@@ -0,0 +1 @@
|
||||
uid://bxc2fqwlm5ea5
|
||||
@@ -32,6 +32,7 @@ window/size/initial_position_type=3
|
||||
window/size/extend_to_title=true
|
||||
window/energy_saving/keep_screen_on=false
|
||||
window/stretch/aspect="expand"
|
||||
window/per_pixel_transparency/allowed=true
|
||||
|
||||
[dotnet]
|
||||
|
||||
@@ -48,10 +49,9 @@ enabled=PackedStringArray("res://addons/discord-rpc-gd/plugin.cfg", "res://addon
|
||||
|
||||
[rendering]
|
||||
|
||||
textures/canvas_textures/default_texture_filter=2
|
||||
renderer/rendering_method="gl_compatibility"
|
||||
renderer/rendering_method.mobile="gl_compatibility"
|
||||
textures/vram_compression/import_etc2_astc=true
|
||||
textures/default_filters/texture_mipmap_bias=2.0
|
||||
environment/defaults/default_clear_color=Color(0.147672, 0.147672, 0.147672, 1)
|
||||
anti_aliasing/quality/msaa_2d=2
|
||||
2d/snap/snap_2d_vertices_to_pixel=true
|
||||
2d/sdf/scale=0
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://bwfw3l3iyv67o"
|
||||
path="res://.godot/imported/roblox win sound effect.mp3-39d0ba8b033f858214671048098e2f18.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://roblox win sound effect.mp3"
|
||||
dest_files=["res://.godot/imported/roblox win sound effect.mp3-39d0ba8b033f858214671048098e2f18.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 8.0 KiB |
@@ -0,0 +1 @@
|
||||
uid://cchutywgopaq4
|
||||
@@ -2,24 +2,32 @@ extends Control
|
||||
|
||||
var SongName:String
|
||||
var CurrentlyPlaying:bool
|
||||
var idx:int
|
||||
var songidx:int
|
||||
@onready var songname: Button = $HBoxContainer/Songname
|
||||
@onready var dropdown: Button = $HBoxContainer/Dropdown
|
||||
@onready var popup_menu: PopupMenu = $PopupMenu
|
||||
|
||||
|
||||
signal PlayPressed
|
||||
signal DeletePressed
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
songname.text = SongName
|
||||
popup_menu.index_pressed.connect(popupPressed)
|
||||
|
||||
func popupPressed(idx:int):
|
||||
if idx == 0:
|
||||
DeletePressed.emit(songidx)
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
dropdown.visible = songname.is_hovered() or dropdown.is_hovered()
|
||||
|
||||
|
||||
func _on_songname_pressed() -> void:
|
||||
PlayPressed.emit(idx)
|
||||
PlayPressed.emit(songidx)
|
||||
|
||||
|
||||
func _on_delete_pressed() -> void:
|
||||
DeletePressed.emit(idx)
|
||||
func _on_dropdown_pressed() -> void:
|
||||
popup_menu.show()
|
||||
popup_menu.position = get_global_mouse_position()
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://c3aaxhp0oim08
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ctqcbjrmxaqsk"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cm5ps3a716wr0" path="res://XSmall.png" id="1_6wgd5"]
|
||||
[ext_resource type="Script" path="res://search_item.gd" id="1_j4126"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwvy6crqhardn" path="res://Dropdown.png" id="2_hicj1"]
|
||||
|
||||
[node name="SearchItem" type="Control"]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
@@ -17,23 +17,26 @@ size_flags_vertical = 4
|
||||
script = ExtResource("1_j4126")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(700, 0)
|
||||
custom_minimum_size = Vector2(700, 32)
|
||||
layout_mode = 1
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -19.0
|
||||
offset_right = 50.0
|
||||
offset_bottom = 19.0
|
||||
offset_top = -16.0
|
||||
offset_right = 700.0
|
||||
offset_bottom = 16.0
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="delete" type="Button" parent="HBoxContainer"]
|
||||
modulate = Color(0.553478, 0.101429, 4.81308e-08, 1)
|
||||
[node name="Dropdown" type="Button" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(20, 0)
|
||||
layout_mode = 2
|
||||
tooltip_text = "delete song from hard-drive"
|
||||
focus_mode = 0
|
||||
icon = ExtResource("1_6wgd5")
|
||||
icon = ExtResource("2_hicj1")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="Songname" type="Button" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
@@ -42,5 +45,9 @@ focus_mode = 0
|
||||
flat = true
|
||||
alignment = 0
|
||||
|
||||
[connection signal="pressed" from="HBoxContainer/delete" to="." method="_on_delete_pressed"]
|
||||
[node name="PopupMenu" type="PopupMenu" parent="."]
|
||||
item_count = 1
|
||||
item_0/text = "delete"
|
||||
|
||||
[connection signal="pressed" from="HBoxContainer/Dropdown" to="." method="_on_dropdown_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/Songname" to="." method="_on_songname_pressed"]
|
||||
|
||||
@@ -24,7 +24,7 @@ func _process(delta: float) -> void:
|
||||
func add_item(text:String):
|
||||
var child = SEARCH_ITEM.instantiate()
|
||||
child.SongName = text.replace(".mp3", "")
|
||||
child.idx = parent.textSongs.find(text)
|
||||
child.songidx = parent.textSongs.find(text)
|
||||
SongsAmount+=1
|
||||
child.PlayPressed.connect(songSelected)
|
||||
child.DeletePressed.connect(deletePressed)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://d0hvudugo3d37
|
||||
@@ -0,0 +1 @@
|
||||
uid://c2t3ignwqoplj
|
||||
@@ -0,0 +1 @@
|
||||
uid://dv2vjibopktug
|
||||
@@ -2,6 +2,8 @@ class_name Settings
|
||||
extends Control
|
||||
@onready var exit: Button = $Exit
|
||||
|
||||
# do NOT think i dont hate this codebase, it sucks man 😭
|
||||
|
||||
@onready var discord_rich_presence_button: CheckBox = $ScrollContainer/VBoxContainer/DiscordRichPresenceButton
|
||||
|
||||
@onready var pitch_slider: HSlider = $ScrollContainer/VBoxContainer/PitchAdjustSettings/PitchSlider
|
||||
@@ -40,11 +42,14 @@ extends Control
|
||||
@onready var select_bg: Button = $ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer/SelectBG
|
||||
@onready var reset_bg: Button = $ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer/ResetBG
|
||||
|
||||
@onready var now_playing_window_button: CheckBox = $ScrollContainer/VBoxContainer/NowPlayingWindowButton
|
||||
|
||||
|
||||
var CurrentBGImagePath:String
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass
|
||||
now_playing_window_button.button_pressed = Parent.UsingPlayingNow
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
@@ -143,6 +148,7 @@ func _on_discord_rich_presence_button_toggled(toggled_on: bool) -> void:
|
||||
Parent.DiscordRichPresenceEnabled = true
|
||||
else:
|
||||
Parent.DiscordRichPresenceEnabled = false
|
||||
Parent.setUpDiscord()
|
||||
Parent.SaveEverything()
|
||||
|
||||
|
||||
@@ -181,3 +187,9 @@ func _on_reset_bg_pressed() -> void:
|
||||
Parent.user_bg.texture = null
|
||||
Parent.CurrentCustomBackroundImageDirectory = ""
|
||||
Parent.SaveEverything()
|
||||
|
||||
|
||||
func _on_now_playing_window_button_toggled(toggled_on: bool) -> void:
|
||||
Parent.UsingPlayingNow = toggled_on
|
||||
Parent.SaveEverything()
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://vnpslgl788du
|
||||
@@ -0,0 +1 @@
|
||||
uid://xnlvpxy2jwxb
|
||||
|
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 9.6 KiB |
@@ -0,0 +1 @@
|
||||
uid://dkjp64f01dpf4
|
||||
@@ -10,8 +10,13 @@ extends Control
|
||||
@onready var errorLabel: Label = $"../UpdatingNotification/Error"
|
||||
@onready var updating_bg: ColorRect = $"../UpdatingBG"
|
||||
@onready var paused_indicator: TextureRect = $"../PausedIndicator"
|
||||
@onready var patchnotes: RichTextLabel = $ColorRect/Patchnotes
|
||||
@onready var link_bttnbg: ColorRect = $ColorRect/LinkButton/LinkBTTNBG
|
||||
@onready var patchnotes_bg: ColorRect = $ColorRect/Patchnotes/PatchnotesBG
|
||||
|
||||
@export var errorColor:Color
|
||||
@export var IMPUpdateLinkColor:Color
|
||||
@export var IMPUpdatePatchNotesColor:Color
|
||||
|
||||
var CheckForUpdates:bool = true
|
||||
|
||||
@@ -29,7 +34,7 @@ func check_for_updates() -> void:
|
||||
print("! INFO: Checking for updates…")
|
||||
|
||||
var error := http_request.request(
|
||||
"https://api.github.com/repos/notdraimdev/Simplaudio/releases/latest"
|
||||
"https://api.github.com/repos/realbucketofchicken/Simplaudio/releases/latest"
|
||||
)
|
||||
|
||||
if error != OK:
|
||||
@@ -51,6 +56,15 @@ func _on_http_request_completed(result: int, _response_code: int, _headers: Pack
|
||||
update_available_text.text = result2["tag_name"] + " Is Out!"
|
||||
show()
|
||||
updateLink = result2["html_url"]
|
||||
if result2.has("body"):
|
||||
patchnotes.text = str(result2["body"])
|
||||
if patchnotes.text.contains("(!IT)"):
|
||||
patchnotes.text = patchnotes.text.erase(patchnotes.text.find("(!IT)"),7)
|
||||
print("importaint update detected")
|
||||
update_available_text.text = "(Important) " + result2["tag_name"] + " Is Out!"
|
||||
patchnotes_bg.color = IMPUpdatePatchNotesColor
|
||||
link_bttnbg.color = IMPUpdateLinkColor
|
||||
link_bttnbg.StandardColor = IMPUpdateLinkColor
|
||||
|
||||
func _on_close_buen_pressed() -> void:
|
||||
hide()
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://drqx8pjalsxqr
|
||||
@@ -0,0 +1 @@
|
||||
uid://ctj7miuviibin
|
||||
@@ -0,0 +1 @@
|
||||
uid://b4mmbu4weiab5
|
||||
@@ -0,0 +1 @@
|
||||
uid://cjjiclahlyxii
|
||||
@@ -0,0 +1 @@
|
||||
uid://chdf40dyj73pq
|
||||