update audio player

This commit is contained in:
2026-07-02 22:49:26 +02:00
parent 498115107e
commit f63c9fa141
4 changed files with 99 additions and 41 deletions

View File

@@ -2,6 +2,7 @@
[ext_resource type="Script" uid="uid://c4kekqicrv4m8" path="res://core/main_scene_ui/audio_player.gd" id="1_i2mrl"]
[ext_resource type="Theme" uid="uid://bg8megpn77mod" path="res://core/font/main_theme.tres" id="2_0koyu"]
[ext_resource type="Texture2D" uid="uid://dlp62v48tori0" path="res://core/main_scene_ui/assets/audio_player_background.png" id="3_e87kc"]
[ext_resource type="Texture2D" uid="uid://s8pp2i6bjkps" path="res://core/main_scene_ui/assets/audio_player_wheel.png" id="4_n5r1o"]
[ext_resource type="Texture2D" uid="uid://bgrmy57xhg2gj" path="res://core/main_scene_ui/assets/audio_player_empty.png" id="10_xv7rp"]
@@ -23,11 +24,63 @@ layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
mouse_filter = 2
texture = ExtResource("10_xv7rp")
metadata/_edit_use_anchors_ = true
[node name="Background" type="TextureRect" parent="." unique_id=1772744681]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
mouse_filter = 2
texture = ExtResource("3_e87kc")
stretch_mode = 2
metadata/_edit_use_anchors_ = true
[node name="LeftWheel" type="TextureRect" parent="Background" unique_id=1719200441]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -51.5
offset_top = -47.5
offset_right = -20.5
offset_bottom = -16.5
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
texture = ExtResource("4_n5r1o")
stretch_mode = 2
[node name="RightWheel" type="TextureRect" parent="Background" unique_id=960520776]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 18.5
offset_top = -47.5
offset_right = 49.5
offset_bottom = -16.5
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
texture = ExtResource("4_n5r1o")
stretch_mode = 2
[node name="DisplayContainer" type="Control" parent="." unique_id=1280352652]
clip_contents = true
layout_mode = 1
@@ -119,39 +172,3 @@ custom_minimum_size = Vector2(32, 0)
layout_mode = 2
size_flags_horizontal = 5
flat = true
[node name="LeftWheel" type="TextureRect" parent="." unique_id=1719200441]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -64.5
offset_top = -51.5
offset_right = -33.5
offset_bottom = -20.5
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
texture = ExtResource("4_n5r1o")
stretch_mode = 2
[node name="RightWheel" type="TextureRect" parent="." unique_id=960520776]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 35.5
offset_top = -51.5
offset_right = 66.5
offset_bottom = -20.5
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
texture = ExtResource("4_n5r1o")
stretch_mode = 2