42 lines
983 B
Text
42 lines
983 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://addons/transit/Transit.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="Animation" id=1]
|
|
resource_name = "fade"
|
|
step = 0.2
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("CanvasLayer/ColorRect:color:a")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 1 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ 0.0, 1.0 ]
|
|
}
|
|
|
|
[node name="Transit" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/fade = SubResource( 1 )
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
layer = 128
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
color = Color( 0, 0, 0, 0 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|