-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStartMenu.tscn
81 lines (67 loc) · 2.33 KB
/
StartMenu.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://StartMenu.gd" type="Script" id=1]
[ext_resource path="res://source/Fonts/ChiKareGo2.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://source/images/UI/bakground.png" type="Texture" id=3]
[sub_resource type="DynamicFont" id=1]
size = 32
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=4]
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=3]
font_data = ExtResource( 2 )
[node name="StartMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
margin_left = -13.0
margin_top = -7.0
margin_right = 947.0
margin_bottom = 633.0
texture = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
margin_left = 124.0
margin_top = 37.0
margin_right = 196.0
margin_bottom = 142.0
[node name="Title" type="Label" parent="CenterContainer/VBoxContainer"]
margin_right = 72.0
margin_bottom = 30.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 1 )
text = "Game"
[node name="StartGameButton" type="Button" parent="CenterContainer/VBoxContainer"]
margin_top = 34.0
margin_right = 72.0
margin_bottom = 55.0
custom_fonts/font = SubResource( 2 )
text = "Start"
[node name="CreditsButton" type="Button" parent="CenterContainer/VBoxContainer"]
margin_top = 59.0
margin_right = 72.0
margin_bottom = 80.0
custom_fonts/font = SubResource( 4 )
text = "Credits"
[node name="QuitGameButton" type="Button" parent="CenterContainer/VBoxContainer"]
margin_top = 84.0
margin_right = 72.0
margin_bottom = 105.0
custom_fonts/font = SubResource( 3 )
text = "Quit"
[connection signal="pressed" from="CenterContainer/VBoxContainer/StartGameButton" to="." method="_on_StartGameButton_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/CreditsButton" to="." method="_on_CreditsButton_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/QuitGameButton" to="." method="_on_QuitGameButton_pressed"]