Simplaudio.
This commit is contained in:
+100
@@ -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")
|
||||
Reference in New Issue
Block a user