-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMainMenu.tscn
73 lines (62 loc) · 1.85 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
[gd_scene load_steps=9 format=2]
[ext_resource path="res://assets/opener2.png" type="Texture" id=1]
[ext_resource path="res://MainMenu.gd" type="Script" id=2]
[ext_resource path="res://assets/fonts/seguibl.ttf" type="DynamicFontData" id=3]
[sub_resource type="InputEventAction" id=1]
action = "ui_accept"
[sub_resource type="ShortCut" id=2]
shortcut = SubResource( 1 )
[sub_resource type="StyleBoxTexture" id=3]
texture = ExtResource( 1 )
region_rect = Rect2( 0, 0, 1022, 598 )
[sub_resource type="DynamicFont" id=4]
size = 40
font_data = ExtResource( 3 )
[sub_resource type="Animation" id=5]
resource_name = "New Anim"
length = 1.5
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Label:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.8, 1.5 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
[node name="CanvasLayer" type="CanvasLayer"]
script = ExtResource( 2 )
[node name="Enter" type="Button" parent="."]
margin_right = 12.0
margin_bottom = 20.0
shortcut = SubResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_styles/panel = SubResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Panel"]
modulate = Color( 1, 1, 1, 0.428571 )
margin_left = 669.51
margin_top = 384.673
margin_right = 917.51
margin_bottom = 497.673
custom_fonts/font = SubResource( 4 )
text = "Press ENTER to begin"
align = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="Panel"]
"anims/New Anim" = SubResource( 5 )
[connection signal="pressed" from="Enter" to="." method="_on_Enter_pressed"]