90 lines
3.1 KiB
Plaintext
90 lines
3.1 KiB
Plaintext
[gd_scene format=3 uid="uid://dkjnko13aajor"]
|
|
|
|
[ext_resource type="Script" uid="uid://d05ac7jxa8og" path="res://options.gd" id="1_2iy26"]
|
|
[ext_resource type="Texture2D" uid="uid://2ddggeetjj1t" path="res://assets/images/screenshot_game.png" id="2_kv8mn"]
|
|
[ext_resource type="FontFile" uid="uid://8v71dcws4q6o" path="res://assets/fonts/slkscre.ttf" id="3_1sggn"]
|
|
|
|
[node name="options" type="CanvasLayer" unique_id=1052266028]
|
|
script = ExtResource("1_2iy26")
|
|
|
|
[node name="BackgroundSprite" type="TextureRect" parent="." unique_id=1032425303]
|
|
z_index = -2
|
|
offset_left = 4.0
|
|
offset_top = 2.0
|
|
offset_right = 1277.0
|
|
offset_bottom = 718.0
|
|
texture = ExtResource("2_kv8mn")
|
|
expand_mode = 2
|
|
|
|
[node name="BackgroundRect" type="ColorRect" parent="." unique_id=998212266]
|
|
z_index = -1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.47058824)
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=422787080]
|
|
z_index = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -308.5
|
|
offset_top = -106.0
|
|
offset_right = 308.5
|
|
offset_bottom = 106.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 50
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer" unique_id=1435679909]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("3_1sggn")
|
|
theme_override_font_sizes/font_size = 64
|
|
text = "Options"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=1082653827]
|
|
custom_minimum_size = Vector2(300, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer" unique_id=388379542]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("3_1sggn")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Music Volume"
|
|
|
|
[node name="HSlider" type="HSlider" parent="VBoxContainer/HBoxContainer" unique_id=2135080977]
|
|
custom_minimum_size = Vector2(300, 30)
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer" unique_id=532391329]
|
|
custom_minimum_size = Vector2(300, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2" unique_id=1484176872]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("3_1sggn")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Fullscreen"
|
|
|
|
[node name="CheckBox" type="CheckBox" parent="VBoxContainer/HBoxContainer2" unique_id=56580094]
|
|
layout_mode = 2
|
|
|
|
[node name="BackButton" type="Button" parent="VBoxContainer" unique_id=2058400072]
|
|
custom_minimum_size = Vector2(200, 45)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("3_1sggn")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Back"
|
|
|
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/HSlider" to="." method="_on_h_slider_value_changed"]
|
|
[connection signal="toggled" from="VBoxContainer/HBoxContainer2/CheckBox" to="." method="_on_check_box_toggled"]
|
|
[connection signal="pressed" from="VBoxContainer/BackButton" to="." method="_on_back_button_pressed"]
|