-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMenu.tscn
86 lines (76 loc) · 2.15 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
75
76
77
78
79
80
81
82
83
84
85
86
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Scripts/Menu.gd" type="Script" id=1]
[ext_resource path="res://Textures/Background.png" type="Texture" id=2]
[ext_resource path="res://Textures/title.png" type="Texture" id=3]
[ext_resource path="res://611Bit.tres" type="DynamicFont" id=4]
[ext_resource path="res://SFX/select.ogg" type="AudioStream" id=5]
[sub_resource type="Animation" id=1]
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("Title:rect_scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.3, 0.5 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 1.2, 1.2 ), Vector2( 1, 1 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Title:rect_rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
[node name="Menu" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="Background" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 512.0
margin_bottom = 512.0
texture = ExtResource( 2 )
expand = true
stretch_mode = 2
[node name="Border" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 81.0
margin_top = 81.0
margin_right = -81.0
margin_bottom = -54.0
color = Color( 0, 0, 0, 0.784314 )
[node name="Title" type="TextureRect" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_top = -64.0
margin_bottom = -64.0
texture = ExtResource( 3 )
expand = true
stretch_mode = 4
[node name="Label" type="Label" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_bottom = -64.0
custom_fonts/font = ExtResource( 4 )
text = "Difficulty:
Easy < Normal > Hard
Press Space to Start"
align = 1
valign = 2
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "Title Popup"
"anims/Title Popup" = SubResource( 1 )
[node name="SelectSFX" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
volume_db = -15.0