-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMenu.tscn
74 lines (64 loc) · 2.18 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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Assets/Fonts/VT323-Regular BIG.tres" type="DynamicFont" id=1]
[ext_resource path="res://Scripts/Menu.gd" type="Script" id=2]
[ext_resource path="res://Assets/Graphics/StartupIllustration.png" type="Texture" id=3]
[ext_resource path="res://Assets/Audio/menu music.ogg" type="AudioStream" id=4]
[sub_resource type="Theme" id=1]
default_font = ExtResource( 1 )
[node name="Menu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = SubResource( 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 678.0
margin_top = 250.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
margin_left = 5.0
margin_top = 72.0
margin_right = 277.0
margin_bottom = 218.0
[node name="PlayButton" type="Button" parent="CenterContainer/VBoxContainer"]
margin_right = 272.0
margin_bottom = 71.0
mouse_default_cursor_shape = 2
custom_colors/font_color_hover = Color( 1, 0.752941, 0.180392, 1 )
text = "Start Game"
flat = true
[node name="ExitButton" type="Button" parent="CenterContainer/VBoxContainer"]
margin_top = 75.0
margin_right = 272.0
margin_bottom = 146.0
mouse_default_cursor_shape = 2
custom_colors/font_color_hover = Color( 1, 0.752941, 0.180392, 1 )
text = "Exit Game"
flat = true
[node name="StartupIllustration" type="Sprite" parent="."]
z_index = -1
texture = ExtResource( 3 )
centered = false
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
autoplay = true
[node name="RichTextLabel" type="RichTextLabel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 61.0
margin_right = -553.0
margin_bottom = -460.0
custom_colors/default_color = Color( 1, 0.752941, 0.180392, 1 )
bbcode_text = "Re-Pairing..."
text = "Re-Pairing..."
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="CenterContainer/VBoxContainer/PlayButton" to="." method="_on_PlayButton_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]