This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.tscn
100 lines (86 loc) · 2.97 KB
/
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[gd_scene load_steps=5 format=2]
[ext_resource path="res://fonts/Futura Condensed Extra Bold.otf" type="DynamicFontData" id=1]
[ext_resource path="res://scripts/Menu.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=1]
size = 32
font_data = ExtResource( 1 )
[sub_resource type="Theme" id=2]
[node name="Menu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Label" type="Label" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 192.0
margin_top = 94.0
margin_right = -192.0
margin_bottom = -440.0
custom_fonts/font = SubResource( 1 )
text = "Pokemon Manager"
align = 1
valign = 1
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 312.0
margin_top = 176.0
margin_right = -312.0
margin_bottom = -48.0
[node name="Reset" type="Button" parent="Panel/VBoxContainer"]
margin_right = 400.0
margin_bottom = 122.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Reset"
[node name="Quit" type="Button" parent="Panel/VBoxContainer"]
margin_top = 126.0
margin_right = 400.0
margin_bottom = 249.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Quit without Saving"
[node name="QuitSave" type="Button" parent="Panel/VBoxContainer"]
margin_top = 253.0
margin_right = 400.0
margin_bottom = 376.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Quit and Save"
[node name="Reset" type="ConfirmationDialog" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 272.0
margin_top = 236.0
margin_right = -272.0
margin_bottom = -284.0
theme = SubResource( 2 )
dialog_text = "Are you sure you want to reset everything? (All pokémon, parties, boxes, and trainer info will have to be added to the bank or created from scratch)"
dialog_autowrap = true
[node name="Quit" type="ConfirmationDialog" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 272.0
margin_top = 236.0
margin_right = -272.0
margin_bottom = -284.0
theme = SubResource( 2 )
dialog_text = "Are you sure you want to quit without saving? (Any pokémon, parties, or boxes that were added after the latest save will have to be added to the bank or created again)"
dialog_autowrap = true
[node name="Back" type="Button" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = -64.0
margin_right = 136.0
margin_bottom = -16.0
text = "Back"
[connection signal="pressed" from="Panel/VBoxContainer/Reset" to="." method="_on_Reset_pressed"]
[connection signal="pressed" from="Panel/VBoxContainer/Quit" to="." method="_on_Quit_pressed"]
[connection signal="pressed" from="Panel/VBoxContainer/QuitSave" to="." method="_on_QuitSave_pressed"]
[connection signal="confirmed" from="Panel/Reset" to="." method="_on_Reset_confirmed"]
[connection signal="confirmed" from="Panel/Quit" to="." method="_on_Quit_confirmed"]
[connection signal="pressed" from="Back" to="." method="_on_Back_pressed"]