-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainMenu.tscn
89 lines (82 loc) · 1.95 KB
/
MainMenu.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
[gd_scene load_steps=3 format=2]
[ext_resource path="res://logo_menu.png" type="Texture" id=1]
[ext_resource path="res://ColorRect.gd" type="Script" id=2]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.82849
margin_top = -1.0
margin_right = 4.82849
margin_bottom = -1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.596078, 0.0509804, 0.113725, 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
anchor_left = 0.116
anchor_top = 0.192
anchor_right = 0.537
anchor_bottom = 0.869
margin_left = -192.323
margin_top = -221.266
margin_right = 1424.57
margin_bottom = 1420.53
grow_horizontal = 2
grow_vertical = 2
rect_scale = Vector2( 0.4, 0.4 )
texture = ExtResource( 1 )
expand = true
stretch_mode = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ItemList" type="ItemList" parent="."]
anchor_left = 0.88
anchor_top = 0.5
anchor_right = 0.88
anchor_bottom = 0.5
margin_left = -184.0
margin_top = -200.5
margin_bottom = 200.5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="ItemList"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -82.0
margin_top = 10.0561
margin_right = 82.0
margin_bottom = 47.0561
grow_horizontal = 2
grow_vertical = 2
text = "PLAY"
flat = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button2" type="Button" parent="ItemList"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -82.0
margin_top = -45.0
margin_right = 82.0
margin_bottom = -8.0
grow_horizontal = 2
grow_vertical = 2
text = "PLAY, BUT AT THE BOTTOM"
flat = true
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="ItemList/Button" to="ColorRect" method="_on_play"]
[connection signal="pressed" from="ItemList/Button2" to="ColorRect" method="_on_play"]