mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Menu/Buttons/AudioSliders/VolumeSlider.gd" type="Script" id=1]
|
|
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=2]
|
|
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=3]
|
|
|
|
[node name="VolumeSlider" type="HSlider"]
|
|
margin_right = 500.0
|
|
margin_bottom = 32.0
|
|
grow_vertical = 2
|
|
rect_min_size = Vector2( 100, 32 )
|
|
theme = ExtResource( 2 )
|
|
max_value = 1.0
|
|
step = 0.025
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ButtonSFX" parent="." instance=ExtResource( 3 )]
|
|
|
|
[connection signal="changed" from="." to="." method="save_volume"]
|
|
[connection signal="focus_entered" from="." to="ButtonSFX" method="on_hover"]
|
|
[connection signal="focus_exited" from="." to="." method="save_volume"]
|
|
[connection signal="focus_exited" from="." to="ButtonSFX" method="on_select"]
|
|
[connection signal="mouse_entered" from="." to="ButtonSFX" method="on_hover"]
|
|
[connection signal="mouse_exited" from="." to="ButtonSFX" method="on_select"]
|
|
[connection signal="value_changed" from="." to="." method="_on_MusicVolumeSlider_value_changed"]
|