-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_menu.tscn
76 lines (67 loc) · 2.25 KB
/
main_menu.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
[gd_scene load_steps=4 format=3 uid="uid://bs0nen0neofhj"]
[ext_resource type="Script" path="res://main_menu.gd" id="1_yjr37"]
[ext_resource type="Texture2D" uid="uid://0j01lq76hrh6" path="res://assets/background.png" id="2_b7y3a"]
[ext_resource type="FontFile" uid="uid://or1ir2y2kqgd" path="res://assets/monogram-extended.ttf" id="3_i4p74"]
[node name="main_menu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_yjr37")
[node name="Sprite2D" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 11851.0
offset_bottom = 7901.0
scale = Vector2(0.162, 0.162)
texture = ExtResource("2_b7y3a")
stretch_mode = 4
[node name="Button" type="Button" parent="."]
layout_mode = 0
offset_left = 763.0
offset_top = 923.0
offset_right = 1195.0
offset_bottom = 1083.0
theme_override_fonts/font = ExtResource("3_i4p74")
theme_override_font_sizes/font_size = 64
text = "Start"
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 31.0
offset_top = -73.0
offset_right = 607.0
offset_bottom = 346.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_i4p74")
theme_override_font_sizes/font_size = 480
text = "UWE"
[node name="Label2" type="Label" parent="."]
layout_mode = 0
offset_left = 10.0
offset_top = 264.0
offset_right = 682.0
offset_bottom = 371.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_i4p74")
theme_override_font_sizes/font_size = 64
text = "Das U ist fast ein Kreis"
[node name="Panel" type="Panel" parent="."]
layout_mode = 0
offset_left = 31.0
offset_top = 991.0
offset_right = 455.0
offset_bottom = 1079.0
[node name="CheckBox" type="CheckBox" parent="Panel"]
layout_mode = 0
offset_left = 16.0
offset_top = 8.0
offset_right = 404.0
offset_bottom = 68.0
theme_override_fonts/font = ExtResource("3_i4p74")
theme_override_font_sizes/font_size = 64
text = "Reduced visuals"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[connection signal="toggled" from="Panel/CheckBox" to="." method="_on_check_box_toggled"]