ghost-delivery/UI/settings_panel.tscn

73 lines
1.9 KiB
Plaintext

[gd_scene format=3 uid="uid://b3e3ei5tw6my0"]
[ext_resource type="Script" uid="uid://dxopqskxx6g42" path="res://UI/h_slider.gd" id="1_8kna2"]
[ext_resource type="Script" uid="uid://cgb543hf5l1yw" path="res://UI/settings_panel.gd" id="1_sp"]
[node name="SettingsPanel" type="Control" unique_id=832925976]
visible = false
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_sp")
[node name="Dim" type="ColorRect" parent="." unique_id=1129032935]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 205.0
offset_top = 80.0
offset_right = 960.0
offset_bottom = 531.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.07152661, 0.09129932, 0.100457646, 0.6)
[node name="Title" type="Label" parent="Dim" unique_id=2118999054]
layout_mode = 0
offset_left = 132.0
offset_top = 8.0
offset_right = 618.0
offset_bottom = 85.0
theme_override_colors/font_color = Color(0.5921569, 0.92941177, 0.7921569, 1)
theme_override_font_sizes/font_size = 56
text = "Settings"
horizontal_alignment = 1
[node name="HSlider" type="HSlider" parent="Dim" unique_id=957130795]
layout_mode = 0
offset_left = 177.0
offset_top = 120.0
offset_right = 621.0
offset_bottom = 214.0
max_value = 0.8
step = 0.05
script = ExtResource("1_8kna2")
[node name="ContinueButton" type="Button" parent="Dim" unique_id=220174193]
layout_mode = 0
offset_left = 280.0
offset_top = 300.0
offset_right = 480.0
offset_bottom = 350.0
text = "Weiter"
[node name="MainMenuButton" type="Button" parent="Dim" unique_id=1923702677]
layout_mode = 0
offset_left = 280.0
offset_top = 360.0
offset_right = 480.0
offset_bottom = 410.0
text = "Zurück zum Hauptmenü"
[node name="QuitButton" type="Button" parent="Dim" unique_id=257418098]
layout_mode = 0
offset_left = 280.0
offset_top = 420.0
offset_right = 480.0
offset_bottom = 470.0
text = "Spiel Beenden"
[connection signal="value_changed" from="Dim/HSlider" to="Dim/HSlider" method="_on_value_changed"]