-
Notifications
You must be signed in to change notification settings - Fork 0
/
OptionsPage.tscn
62 lines (51 loc) · 1.7 KB
/
OptionsPage.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
[gd_scene load_steps=4 format=3 uid="uid://b050quk2dct6"]
[ext_resource type="PackedScene" uid="uid://dq0bqoex4778g" path="res://Background.tscn" id="2_1ogka"]
[ext_resource type="Texture2D" uid="uid://djsl16w4728qq" path="res://Externals/godot-logo.png" id="3_qxhux"]
[sub_resource type="GDScript" id="GDScript_m2iby"]
script/source = "extends Control
func _on_back_button_pressed() -> void:
self.hide()
"
[node name="OptionsPage" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = SubResource("GDScript_m2iby")
[node name="Background" parent="." instance=ExtResource("2_1ogka")]
position = Vector2(960, 540)
[node name="Container" type="VBoxContainer" parent="."]
custom_minimum_size = Vector2(1500, 0)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -750.0
offset_top = -144.5
offset_right = 750.0
offset_bottom = 144.5
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 21
[node name="Label" type="Label" parent="Container"]
layout_mode = 2
theme_override_font_sizes/font_size = 60
text = "Choose your level below:"
[node name="LevelSlider" type="HSlider" parent="Container"]
layout_mode = 2
size_flags_vertical = 3
tooltip_text = "Choose level"
theme_override_icons/grabber = ExtResource("3_qxhux")
theme_override_icons/grabber_highlight = ExtResource("3_qxhux")
min_value = 1.0
max_value = 10.0
value = 5.0
[node name="BackButton" type="Button" parent="Container"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Back"
[connection signal="pressed" from="Container/BackButton" to="." method="_on_back_button_pressed"]