-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStartMenu.tscn
53 lines (45 loc) · 1.76 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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://VBoxContainer.gd" type="Script" id=1]
[ext_resource path="res://Assets/Fonds/dpcomic.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Assets/Fonds/StartMenu.tres" type="Theme" id=3]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
font_data = ExtResource( 2 )
[node name="StartMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = -67.0
margin_right = 190.0
margin_bottom = 15.0
script = ExtResource( 1 )
[node name="StartButton" type="Button" parent="VBoxContainer"]
margin_right = 174.0
margin_bottom = 16.0
theme = ExtResource( 3 )
custom_colors/font_color_disabled = Color( 1, 1, 1, 1 )
custom_colors/font_color_focus = Color( 1, 1, 0, 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 1, 1, 0, 1 )
custom_colors/font_color_pressed = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 1 )
text = "Start Game"
align = 0
[node name="QuitButton" type="Button" parent="VBoxContainer"]
margin_top = 20.0
margin_right = 174.0
margin_bottom = 36.0
theme = ExtResource( 3 )
custom_colors/font_color_focus = Color( 1, 1, 0, 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 1, 1, 0, 1 )
custom_colors/font_color_pressed = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 2 )
text = "Quit"
align = 0
[connection signal="button_down" from="VBoxContainer/StartButton" to="VBoxContainer" method="_on_StartButton_button_down"]
[connection signal="button_down" from="VBoxContainer/QuitButton" to="VBoxContainer" method="_on_QuitButton_button_down"]