-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.tscn
123 lines (111 loc) · 3.16 KB
/
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[gd_scene load_steps=5 format=3 uid="uid://w3q5m7w4upsh"]
[ext_resource type="Texture2D" uid="uid://cqx67krpafcj8" path="res://assets/menu/menuscreendark.png" id="1_evk3s"]
[ext_resource type="Script" path="res://options.gd" id="1_wd5pn"]
[ext_resource type="AudioStream" uid="uid://dcnuymd34e3n8" path="res://assets/click.mp3" id="3_r8mjq"]
[ext_resource type="Script" path="res://volume.gd" id="3_vf8ge"]
[node name="Options" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 6
script = ExtResource("1_wd5pn")
[node name="Menuscreendark" type="Sprite2D" parent="."]
position = Vector2(952, 538)
scale = Vector2(0.855556, 0.855556)
texture = ExtResource("1_evk3s")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_r8mjq")
pitch_scale = 1.5
bus = &"Effects"
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -240.0
offset_top = -315.0
offset_right = 2.0
offset_bottom = 16.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(2, 2)
theme_override_constants/separation = 40
[node name="Master" type="HSlider" parent="VBoxContainer"]
custom_minimum_size = Vector2(200, 60)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
size_flags_stretch_ratio = 0.0
theme_override_constants/grabber_offset = 0
min_value = -30.0
max_value = 10.0
step = 0.001
value = -20.0
script = ExtResource("3_vf8ge")
audio_bus = "Master"
[node name="Label" type="Label" parent="VBoxContainer/Master"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -238.0
offset_right = 238.0
offset_bottom = 26.0
grow_horizontal = 2
text = "Master volume"
horizontal_alignment = 1
[node name="Music" type="HSlider" parent="VBoxContainer"]
custom_minimum_size = Vector2(200, 60)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
size_flags_stretch_ratio = 0.0
theme_override_constants/grabber_offset = 0
min_value = -30.0
max_value = 10.0
step = 0.001
script = ExtResource("3_vf8ge")
audio_bus = "Music"
[node name="Label" type="Label" parent="VBoxContainer/Music"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -238.0
offset_right = 238.0
offset_bottom = 26.0
grow_horizontal = 2
text = "Music volume"
horizontal_alignment = 1
[node name="Effects" type="HSlider" parent="VBoxContainer"]
custom_minimum_size = Vector2(200, 60)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
size_flags_stretch_ratio = 0.0
theme_override_constants/grabber_offset = 0
min_value = -30.0
max_value = 10.0
script = ExtResource("3_vf8ge")
audio_bus = "Effects"
[node name="Label" type="Label" parent="VBoxContainer/Effects"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -238.0
offset_right = 238.0
offset_bottom = 26.0
grow_horizontal = 2
text = "Effects volume"
horizontal_alignment = 1
[node name="Exit" type="Button" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "Save and exit"