mirror of
https://github.com/clarkjohn/wizard-chase.git
synced 2026-01-23 02:14:32 +00:00
32 lines
810 B
Text
32 lines
810 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://ui/SceneTransitionRect.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="Animation" id=1]
|
|
resource_name = "Fade"
|
|
length = 0.5
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath(".:modulate")
|
|
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( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Color( 1, 1, 1, 0 ), Color( 0, 0, 0, 1 ) ]
|
|
}
|
|
|
|
[node name="SceneTransition" type="ColorRect"]
|
|
modulate = Color( 1, 1, 1, 0 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color( 0, 0, 0, 1 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/Fade = SubResource( 1 )
|