-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.tscn
More file actions
127 lines (111 loc) · 3.34 KB
/
menu.tscn
File metadata and controls
127 lines (111 loc) · 3.34 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[gd_scene load_steps=12 format=2]
[ext_resource path="res://img/bg/menu.png" type="Texture" id=1]
[ext_resource path="res://fonts/Dancing-Script/DancingScript-VariableFont_wght.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://scripts/menu/startButton.gd" type="Script" id=3]
[ext_resource path="res://fonts/Montserrat/Montserrat-Light.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://scripts/menu/exitButton.gd" type="Script" id=5]
[ext_resource path="res://scripts/menu/resetButton.gd" type="Script" id=6]
[sub_resource type="DynamicFont" id=1]
size = 240
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
size = 48
outline_size = 1
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=3]
size = 81
outline_size = 1
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=4]
size = 120
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=5]
size = 72
font_data = ExtResource( 2 )
[node name="Node2D" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."]
margin_top = -4.13269
margin_right = 1920.0
margin_bottom = 1075.87
texture = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="title" type="Label" parent="CanvasLayer"]
margin_top = 30.0
margin_right = 1920.0
margin_bottom = 300.0
custom_fonts/font = SubResource( 1 )
text = "reflection"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="CanvasLayer"]
margin_left = 11.8746
margin_top = 950.481
margin_right = 1463.87
margin_bottom = 1073.48
custom_fonts/font = SubResource( 2 )
text = "Note: you will lose your progress if you exit the game
(Going back to menu keeps your progress)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="by" type="Label" parent="CanvasLayer"]
margin_left = 804.181
margin_top = 286.938
margin_right = 1117.18
margin_bottom = 384.938
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 0.619608, 0.847059, 0.643137, 1 )
text = "michael liu"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="CanvasLayer"]
anchor_left = 0.00110359
anchor_right = 0.00110359
margin_left = 760.0
margin_top = 605.576
margin_right = 1160.0
margin_bottom = 775.576
custom_fonts/font = SubResource( 4 )
text = "start"
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button3" type="Button" parent="CanvasLayer"]
anchor_left = 0.00110359
anchor_right = 0.00110359
margin_left = 1539.44
margin_top = 785.552
margin_right = 1909.44
margin_bottom = 894.552
custom_fonts/font = SubResource( 5 )
text = "reset progress"
script = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button2" type="Button" parent="CanvasLayer"]
anchor_left = 0.00110359
anchor_right = 0.00110359
margin_left = 1610.88
margin_top = 910.0
margin_right = 1902.88
margin_bottom = 1061.0
custom_fonts/font = SubResource( 4 )
text = "exit"
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="CanvasLayer/Button" to="CanvasLayer/Button" method="_on_Button_pressed"]
[connection signal="pressed" from="CanvasLayer/Button2" to="CanvasLayer/Button2" method="_on_Button_pressed"]