test-client-godot/gui_scene/GUI/MusicControls/MusicControls.tscn

69 lines
2.5 KiB
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://gui_scene/GUI/MusicControls/Music.gd" type="Script" id=1]
[ext_resource path="res://assets/musics/pre-mix_khanat_main_theme_2018-07-23.ogg" type="AudioStream" id=2]
[ext_resource path="res://assets/musics/Sangakanat (short instrumental theme).ogg" type="AudioStream" id=3]
[ext_resource path="res://assets/musics/pre-mix_Le_concours_de_tartes_aux_klums.ogg" type="AudioStream" id=4]
[node name="Music" type="VBoxContainer"]
margin_right = 256.0
margin_bottom = 86.0
script = ExtResource( 1 )
[node name="Songs" type="Container" parent="."]
margin_right = 256.0
mouse_filter = 1
[node name="pre-mix_khanat_main_theme" type="AudioStreamPlayer" parent="Songs"]
pause_mode = 1
stream = ExtResource( 2 )
[node name="Sangakanat" type="AudioStreamPlayer" parent="Songs"]
pause_mode = 1
stream = ExtResource( 3 )
[node name="pre-mix_Le_concours_de_tartes_aux_klums" type="AudioStreamPlayer" parent="Songs"]
stream = ExtResource( 4 )
[node name="Title" type="Label" parent="."]
margin_top = 4.0
margin_right = 256.0
margin_bottom = 18.0
text = "Musique:"
[node name="SongsSelector" type="OptionButton" parent="."]
margin_top = 22.0
margin_right = 256.0
margin_bottom = 42.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
[node name="Buttons" type="HBoxContainer" parent="."]
margin_top = 46.0
margin_right = 256.0
margin_bottom = 66.0
[node name="Pause" type="Button" parent="Buttons"]
margin_right = 126.0
margin_bottom = 20.0
size_flags_horizontal = 3
custom_colors/font_color_disabled = Color( 0.496055, 0.413039, 0.660156, 1 )
custom_colors/font_color = Color( 0.494118, 0.411765, 0.658824, 1 )
custom_colors/font_color_hover = Color( 0.863051, 0.203209, 1, 1 )
custom_colors/font_color_pressed = Color( 0.673295, 0.508021, 1, 1 )
toggle_mode = true
text = "Play"
[node name="Stop" type="Button" parent="Buttons"]
margin_left = 130.0
margin_right = 256.0
margin_bottom = 20.0
size_flags_horizontal = 3
custom_colors/font_color_disabled = Color( 0.496055, 0.413039, 0.660156, 1 )
custom_colors/font_color = Color( 0.494118, 0.411765, 0.658824, 1 )
custom_colors/font_color_hover = Color( 0.863051, 0.203209, 1, 1 )
custom_colors/font_color_pressed = Color( 0.673295, 0.508021, 1, 1 )
text = "Stop"
[connection signal="item_selected" from="SongsSelector" to="." method="_on_SongsSelector_item_selected"]
[connection signal="toggled" from="Buttons/Pause" to="." method="_on_Pause_toggled"]
[connection signal="pressed" from="Buttons/Stop" to="." method="_on_Stop_pressed"]