Files
Dunkanoid/Settings.tscn

159 lines
5.3 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dm61ni80p8hll"]
[ext_resource type="Script" path="res://Settings.gd" id="1_a8wdi"]
[ext_resource type="Theme" uid="uid://cfvww0geatnnk" path="res://MainTheme.tres" id="1_lirja"]
[ext_resource type="AudioStream" uid="uid://d3g30x1n2ncjj" path="res://Sounds/PaddleHit.wav" id="4_hgwvx"]
[node name="Settings" type="Node2D"]
texture_filter = 1
script = ExtResource("1_a8wdi")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
offset_left = 32.0
offset_top = 32.0
offset_right = 608.0
offset_bottom = 328.0
[node name="Version" type="Label" parent="VBoxContainer"]
layout_mode = 2
theme = ExtResource("1_lirja")
text = "0.0.0"
horizontal_alignment = 2
vertical_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="LeftGutter" type="HSeparator" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_lirja")
[node name="LeftPanel" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="MouseModeLabel" type="Label" parent="VBoxContainer/HBoxContainer/LeftPanel"]
layout_mode = 2
theme = ExtResource("1_lirja")
theme_type_variation = &"GlowLabel"
text = "Mouse Mode"
horizontal_alignment = 1
vertical_alignment = 1
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/HBoxContainer/LeftPanel"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
theme = ExtResource("1_lirja")
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/LeftPanel"]
layout_mode = 2
[node name="Absolute" type="Button" parent="VBoxContainer/HBoxContainer/LeftPanel/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_lirja")
text = "Absolute"
[node name="Toggle" type="CheckButton" parent="VBoxContainer/HBoxContainer/LeftPanel/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_lirja")
[node name="Relative" type="Button" parent="VBoxContainer/HBoxContainer/LeftPanel/HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_lirja")
text = "Relative
"
[node name="CenterGutter" type="HSeparator" parent="VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(32, 0)
layout_mode = 2
theme = ExtResource("1_lirja")
[node name="RightPanel" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Volume" type="Label" parent="VBoxContainer/HBoxContainer/RightPanel"]
layout_mode = 2
theme = ExtResource("1_lirja")
theme_type_variation = &"GlowLabel"
text = "Volume
"
horizontal_alignment = 1
vertical_alignment = 1
[node name="VSeparator3" type="VSeparator" parent="VBoxContainer/HBoxContainer/RightPanel"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
theme = ExtResource("1_lirja")
[node name="MusicLabel" type="Label" parent="VBoxContainer/HBoxContainer/RightPanel"]
layout_mode = 2
theme = ExtResource("1_lirja")
text = "Music"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Music" type="HSlider" parent="VBoxContainer/HBoxContainer/RightPanel"]
layout_mode = 2
max_value = 1.0
step = 0.1
tick_count = 11
ticks_on_borders = true
[node name="VSeparator2" type="VSeparator" parent="VBoxContainer/HBoxContainer/RightPanel"]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
theme = ExtResource("1_lirja")
[node name="EffectsLabel" type="Label" parent="VBoxContainer/HBoxContainer/RightPanel"]
layout_mode = 2
theme = ExtResource("1_lirja")
text = "Effects"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Effects" type="HSlider" parent="VBoxContainer/HBoxContainer/RightPanel"]
layout_mode = 2
max_value = 1.0
step = 0.1
tick_count = 11
ticks_on_borders = true
[node name="RightGutter" type="HSeparator" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_lirja")
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="ResetTimes" type="Button" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
theme = ExtResource("1_lirja")
text = "Reset Best Times
"
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_lirja")
[node name="Exit" type="Button" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
theme = ExtResource("1_lirja")
text = "Exit"
[node name="Boink" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_hgwvx")
bus = &"Effects"
[connection signal="pressed" from="VBoxContainer/HBoxContainer/LeftPanel/HBoxContainer/Absolute" to="." method="_on_absolute_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/LeftPanel/HBoxContainer/Toggle" to="." method="_on_toggle_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/LeftPanel/HBoxContainer/Relative" to="." method="_on_relative_pressed"]
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/RightPanel/Music" to="." method="_on_music_value_changed"]
[connection signal="drag_ended" from="VBoxContainer/HBoxContainer/RightPanel/Effects" to="." method="_on_effects_volume_drag_ended"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/ResetTimes" to="." method="_on_reset_times_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Exit" to="." method="_on_exit_pressed"]