-
Notifications
You must be signed in to change notification settings - Fork 0
/
margin_container_options.tscn
58 lines (47 loc) · 1.76 KB
/
margin_container_options.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[gd_scene load_steps=3 format=3 uid="uid://r7cq2h8ludm4"]
[ext_resource type="Script" path="res://margin_container_options.gd" id="1_52n2j"]
[ext_resource type="AudioStream" uid="uid://b0j4uonjmq6kf" path="res://Sounds/Collect.mp3" id="2_5ara8"]
[node name="MarginContainerOptions" type="MarginContainer"]
visible = false
offset_left = 56.0
offset_top = 232.0
offset_right = 433.0
offset_bottom = 439.0
focus_neighbor_right = NodePath("../MarginContainer")
focus_mode = 2
script = ExtResource("1_52n2j")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="Music" type="HSlider" parent="VBoxContainer"]
layout_mode = 2
max_value = 2.0
step = 0.1
value = 2.0
[node name="Music Label" type="RichTextLabel" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
text = "Music"
[node name="Sound" type="HSlider" parent="VBoxContainer"]
layout_mode = 2
max_value = 2.0
step = 0.1
value = 2.0
[node name="Sound Label" type="RichTextLabel" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
text = "Sound
"
[node name="Mute Music" type="CheckBox" parent="VBoxContainer"]
layout_mode = 2
text = "Mute Music
"
[node name="Mute Sounds" type="CheckBox" parent="VBoxContainer"]
layout_mode = 2
text = "Mute Sounds"
[node name="TestPop" type="AudioStreamPlayer" parent="." groups=["Sounds"]]
stream = ExtResource("2_5ara8")
volume_db = -5.0
[connection signal="value_changed" from="VBoxContainer/Music" to="." method="_on_music_value_changed"]
[connection signal="value_changed" from="VBoxContainer/Sound" to="." method="_on_sound_value_changed"]
[connection signal="toggled" from="VBoxContainer/Mute Music" to="." method="_on_mute_music_toggled"]
[connection signal="toggled" from="VBoxContainer/Mute Sounds" to="." method="_on_mute_sounds_toggled"]