immersive-home/app/content/entities/media_player/media_player.tscn

76 lines
2.6 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=3 uid="uid://dyktdg7ggiwl4"]
[ext_resource type="PackedScene" uid="uid://bsjqdvkt0u87c" path="res://content/ui/components/button/button.tscn" id="1_8opk3"]
2023-11-26 03:01:27 +02:00
[ext_resource type="Script" path="res://content/entities/media_player/media_player.gd" id="1_ame17"]
[ext_resource type="Script" path="res://content/functions/movable.gd" id="3_bguto"]
2023-11-29 23:24:38 +02:00
[ext_resource type="PackedScene" uid="uid://pk5k1q8bx0rj" path="res://content/ui/components/slider/slider.tscn" id="4_w73hw"]
[ext_resource type="FontVariation" uid="uid://sshfnckriqxn" path="res://assets/icons/icons.tres" id="5_koe28"]
2023-11-26 03:01:27 +02:00
[sub_resource type="BoxShape3D" id="BoxShape3D_vi3eg"]
2023-11-26 13:58:31 +02:00
size = Vector3(0.23, 0.142768, 0.01)
[node name="MediaPlayer" type="StaticBody3D"]
2023-11-28 16:14:21 +02:00
collision_mask = 0
2023-11-26 03:01:27 +02:00
script = ExtResource("1_ame17")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
2023-11-26 13:58:31 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0364514, -0.01)
2023-11-26 03:01:27 +02:00
shape = SubResource("BoxShape3D_vi3eg")
2023-11-26 03:01:27 +02:00
[node name="Previous" parent="." instance=ExtResource("1_8opk3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.07, 0, 0)
2023-11-26 03:01:27 +02:00
label = "skip_previous"
icon = true
2023-11-26 03:01:27 +02:00
[node name="Play" parent="." instance=ExtResource("1_8opk3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.65661e-08, 0, 0)
2023-11-26 03:01:27 +02:00
label = "pause"
icon = true
[node name="Next" parent="." instance=ExtResource("1_8opk3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.07, 0, 0)
2023-11-26 03:01:27 +02:00
label = "skip_next"
icon = true
[node name="PlayingInfo" type="Node3D" parent="."]
[node name="Title" type="Label3D" parent="PlayingInfo"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.09, 0.07, 0)
pixel_size = 0.001
text = "All Falls Down"
font_size = 24
outline_size = 4
horizontal_alignment = 0
[node name="Artist" type="Label3D" parent="PlayingInfo"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.09, 0.05, 0)
pixel_size = 0.001
text = "Alan Walker"
font_size = 16
outline_size = 4
horizontal_alignment = 0
[node name="Logo" type="Sprite3D" parent="PlayingInfo"]
2023-11-29 01:16:25 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.178254, 0)
2023-11-26 03:01:27 +02:00
pixel_size = 0.001
[node name="HTTPRequest" type="HTTPRequest" parent="PlayingInfo"]
[node name="Movable" type="Node" parent="."]
script = ExtResource("3_bguto")
[node name="Slider" parent="." instance=ExtResource("4_w73hw")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0562844, 0)
max = 100.0
value = 30.0
step = 1.0
label_unit = "%"
[node name="Label3D" type="Label3D" parent="Slider"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.088399, 0, 0.01)
pixel_size = 0.001
text = "volume_up"
font = ExtResource("5_koe28")
font_size = 18
outline_size = 4