summaryrefslogtreecommitdiff
path: root/demos/2d/space_shooter/main_menu.tscn
blob: e51791611d7a1fb9ae1193e30f739f247b0af2e5 (plain)
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
[gd_scene load_steps=2 format=1]

[ext_resource path="res://main_menu.gd" type="Script" id=1]

[node name="main_screen" type="Control"]

anchor/right = 1
anchor/bottom = 1
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 0.0
margin/right = 0.0
margin/bottom = 0.0
script/script = ExtResource( 1 )

[node name="title" type="Label" parent="."]

focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
margin/left = 405.0
margin/top = 86.0
margin/right = 547.0
margin/bottom = 99.0
text = "S P A C E  S H O O T E R"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1

[node name="score" type="Label" parent="."]

focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
margin/left = 349.0
margin/top = 204.0
margin/right = 585.0
margin/bottom = 218.0
text = "HIGH SCORE:"
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1

[node name="play" type="Button" parent="."]

focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 412.0
margin/top = 390.0
margin/right = 535.0
margin/bottom = 442.0
toggle_mode = false
text = "PLAY"
flat = false

[connection signal="pressed" from="play" to="." method="_on_play_pressed"]