-
Notifications
You must be signed in to change notification settings - Fork 2
/
TitleScreen.tscn
109 lines (91 loc) · 3.08 KB
/
TitleScreen.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
101
102
103
104
105
106
107
108
109
[gd_scene load_steps=11 format=2]
[ext_resource path="res://Logo_placeholder.png" type="Texture" id=1]
[ext_resource path="res://Buttons2.tscn" type="PackedScene" id=2]
[ext_resource path="res://Buttons.tscn" type="PackedScene" id=3]
[ext_resource path="res://TitleScreen.gd" type="Script" id=5]
[ext_resource path="res://title.png" type="Texture" id=6]
[ext_resource path="res://Sprites/Roboto-Bold.ttf" type="DynamicFontData" id=7]
[sub_resource type="DynamicFont" id=1]
size = 42
font_data = ExtResource( 7 )
[sub_resource type="Theme" id=2]
default_font = SubResource( 1 )
[sub_resource type="DynamicFont" id=3]
size = 42
font_data = ExtResource( 7 )
[sub_resource type="Theme" id=4]
default_font = SubResource( 3 )
[node name="TitleScreen" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1.0
script = ExtResource( 5 )
[node name="TextureRect" type="TextureRect" parent="."]
margin_left = 1.0
margin_top = 1.0
margin_right = 641.0
margin_bottom = 362.0
texture = ExtResource( 6 )
[node name="Menu" type="VBoxContainer" parent="."]
margin_left = 11.0
margin_top = 45.0
margin_right = 588.0
margin_bottom = 349.0
[node name="Logo" type="TextureRect" parent="Menu"]
modulate = Color( 1, 1, 1, 0 )
margin_right = 577.0
margin_bottom = 117.0
texture = ExtResource( 1 )
stretch_mode = 4
[node name="Up row" type="HBoxContainer" parent="Menu"]
margin_top = 121.0
margin_right = 577.0
margin_bottom = 210.0
size_flags_vertical = 3
[node name="button up" type="VBoxContainer" parent="Menu/Up row"]
margin_right = 577.0
margin_bottom = 89.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Menu Button" parent="Menu/Up row/button up" instance=ExtResource( 2 )]
margin_bottom = 89.0
size_flags_vertical = 3
action_mode = 0
[node name="New Game" type="Label" parent="Menu/Up row/button up/Menu Button"]
margin_left = 48.0
margin_top = 21.0
margin_right = 253.0
margin_bottom = 71.0
size_flags_horizontal = 3
size_flags_vertical = 3
theme = SubResource( 2 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 4
custom_constants/shadow_offset_y = 4
text = "New Game"
[node name="Down row" type="HBoxContainer" parent="Menu"]
margin_top = 214.0
margin_right = 577.0
margin_bottom = 304.0
size_flags_vertical = 3
[node name="button up" type="VBoxContainer" parent="Menu/Down row"]
margin_right = 577.0
margin_bottom = 90.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Menu Button2" parent="Menu/Down row/button up" instance=ExtResource( 3 )]
margin_bottom = 90.0
size_flags_vertical = 3
action_mode = 0
[node name="Quit" type="Label" parent="Menu/Down row/button up/Menu Button2"]
margin_left = 49.0
margin_top = 12.0
margin_right = 127.0
margin_bottom = 62.0
theme = SubResource( 4 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 4
custom_constants/shadow_offset_y = 4
text = "Quit"
[connection signal="pressed" from="Menu/Up row/button up/Menu Button" to="." method="_on_Menu_Button_pressed"]
[connection signal="pressed" from="Menu/Down row/button up/Menu Button2" to="." method="_on_Menu_Button2_pressed"]