-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTransition.tscn
40 lines (33 loc) · 1.09 KB
/
Transition.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Transition.gd" type="Script" id=1]
[ext_resource path="res://Fade.tres" type="Animation" id=2]
[ext_resource path="res://assets/slow.mp3" type="AudioStream" id=3]
[ext_resource path="res://assets/fast.mp3" type="AudioStream" id=4]
[node name="CanvasLayer" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="Transition" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TransitionRect" type="ColorRect" parent="Transition"]
modulate = Color( 0, 0, 0, 0 )
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color( 1, 1, 1, 0 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="TransitionPlayer" type="AnimationPlayer" parent="Transition"]
root_node = NodePath("../TransitionRect")
anims/Fade = ExtResource( 2 )
[node name="AmbientAudio" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
volume_db = -50.0
[node name="FastAudio" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
volume_db = -50.0