-
Notifications
You must be signed in to change notification settings - Fork 4
/
Menu.tscn
164 lines (131 loc) · 4.32 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[gd_scene load_steps=12 format=1]
[ext_resource path="res://Menu.gd" type="Script" id=1]
[ext_resource path="res://Datr/gfx/world.png" type="Texture" id=2]
[ext_resource path="res://menu/gfx/Title.png" type="Texture" id=3]
[ext_resource path="res://menu/sfx/sfx.tres" type="SampleLibrary" id=4]
[ext_resource path="res://menu/sfx/sfx.gd" type="Script" id=5]
[ext_resource path="res://menu/gfx/ship.png" type="Texture" id=6]
[ext_resource path="res://menu/ship.gd" type="Script" id=7]
[ext_resource path="res://RawAssets/Fonts/Aero.ttf" type="DynamicFontData" id=8]
[sub_resource type="Animation" id=1]
resource/name = "Float1"
length = 10.0
loop = false
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:transform/pos")
tracks/0/interp = 1
tracks/0/imported = false
tracks/0/keys = {
"times": FloatArray( 0, 9, 10 ),
"transitions": FloatArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 6.68079, 115.243 ), Vector2( -759.933, 253.868 ), Vector2( -918.311, 210.897 ) ]
}
[sub_resource type="Animation" id=2]
resource/name = "Float2"
length = 10.0
loop = false
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:transform/pos")
tracks/0/interp = 1
tracks/0/imported = false
tracks/0/keys = {
"times": FloatArray( 0, 2, 3.3, 3.5 ),
"transitions": FloatArray( 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( -164.53, 146.202 ), Vector2( -422.355, 304.58 ), Vector2( -659.308, 356.145 ), Vector2( -898.717, 226.005 ) ]
}
[sub_resource type="DynamicFont" id=3]
font/size = 42
font/use_mipmaps = false
font/use_filter = false
font/font = ExtResource( 8 )
[node name="Node" type="Node"]
script/script = ExtResource( 1 )
StartScene = "res://MiniGames/One/Intro.tscn"
[node name="VBoxContainer" type="VBoxContainer" parent="."]
focus/ignore_mouse = false
focus/stop_mouse = false
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 0.0
margin/right = 637.0
margin/bottom = 163.0
alignment = 1
[node name="Control" type="Control" parent="VBoxContainer"]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 81.0
margin/right = 637.0
margin/bottom = 81.0
[node name="Background" type="Node2D" parent="."]
transform/pos = Vector2( 4.72391, 408.667 )
transform/scale = Vector2( 1.83382, 1.77535 )
[node name="Sprite" type="Sprite" parent="Background"]
transform/pos = Vector2( -1.13434, -41.4257 )
transform/scale = Vector2( 2.71856, 1.34641 )
texture = ExtResource( 2 )
centered = false
[node name="Title" type="Sprite" parent="Background"]
transform/pos = Vector2( 172.882, -143.39 )
transform/scale = Vector2( 0.345603, 0.351987 )
texture = ExtResource( 3 )
[node name="SamplePlayer" type="SamplePlayer" parent="Background"]
config/polyphony = 1
config/samples = ExtResource( 4 )
default/volume_db = 0.0
default/pitch_scale = 1.0
default/pan = 0.0
default/depth = 0.0
default/height = 0.0
default/filter/type = 0
default/filter/cutoff = 5000.0
default/filter/resonance = 1.0
default/filter/gain = 1.0
default/reverb_room = 2
default/reverb_send = 0.0
default/chorus_send = 0.0
script/script = ExtResource( 5 )
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
transform/pos = Vector2( 842.001, 158.499 )
input/pickable = false
collision/layers = 1
collision/mask = 1
collision/margin = 0.08
[node name="Sprite" type="Sprite" parent="KinematicBody2D"]
transform/pos = Vector2( -918.311, 210.897 )
texture = ExtResource( 6 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="KinematicBody2D"]
playback/process_mode = 0
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/Float1 = SubResource( 1 )
anims/Float2 = SubResource( 2 )
playback/active = true
playback/speed = 1.0
blend_times = [ ]
autoplay = "Float1"
script/script = ExtResource( 7 )
[node name="Button" type="Button" parent="."]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 270.0
margin/top = 401.0
margin/right = 398.0
margin/bottom = 461.0
custom_fonts/font = SubResource( 3 )
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
text = "Start"
flat = false
[connection signal="finished" from="KinematicBody2D/AnimationPlayer" to="KinematicBody2D/AnimationPlayer" method="_on_AnimationPlayer_finished"]
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]