-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game.tscn
56 lines (49 loc) · 1.49 KB
/
Game.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Game.gd" type="Script" id=1]
[ext_resource path="res://assets/audio/music.ogg" type="AudioStream" id=2]
[ext_resource path="res://Overlay.tscn" type="PackedScene" id=3]
[sub_resource type="Animation" id=1]
resource_name = "fade_in"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath(".:volume_db")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 0.450625, 3.24901 ),
"update": 0,
"values": [ -80.0, -6.0 ]
}
[sub_resource type="Animation" id=2]
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath(".:volume_db")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 3.24901, 1 ),
"update": 0,
"values": [ -6.0, -80.0 ]
}
[node name="Game" type="Node2D"]
script = ExtResource( 1 )
[node name="Music" type="AudioStreamPlayer" parent="."]
editor/display_folded = true
stream = ExtResource( 2 )
volume_db = -80.0
autoplay = true
[node name="Anim" type="AnimationPlayer" parent="Music"]
anims/fade_in = SubResource( 1 )
anims/fade_out = SubResource( 2 )
[node name="Overlay" parent="." instance=ExtResource( 3 )]
margin_left = -5618.0
margin_top = -5818.0
margin_right = 7518.0
margin_bottom = 7318.0
[connection signal="fade_in_finished" from="Overlay" to="." method="next_level_finished"]