[gd_scene load_steps=6 format=2]

[ext_resource path="res://src/CutScenes/ChallengeCutscene.gd" type="Script" id=1]
[ext_resource path="res://src/CutScenes/red-wizzard-large.png" type="Texture" id=2]

[sub_resource type="Animation" id=1]
resource_name = "old_dude_slide_in"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("Overlay/FigureOldDude:offset")
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": [ Vector2( 900, 50 ), Vector2( 600, 50 ) ]
}

[sub_resource type="Animation" id=2]
resource_name = "old_dude_slide_out"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("Overlay/FigureOldDude:offset")
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": [ Vector2( 600, 50 ), Vector2( 900, 50 ) ]
}

[sub_resource type="Animation" id=3]
length = 0.2
tracks/0/type = "value"
tracks/0/path = NodePath("Overlay/ColorRect2:rect_position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 270 ), Vector2( 0, 245 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Overlay/ColorRect:rect_position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 0, -25 ), Vector2( 0, 0 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Overlay/FigureOldDude:offset")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 900, 50 ) ]
}

[node name="ChallengeCutscene" type="Node2D"]
script = ExtResource( 1 )

[node name="Overlay" type="CanvasLayer" parent="."]
layer = 2

[node name="FigureOldDude" type="Sprite" parent="Overlay"]
scale = Vector2( 0.533333, 0.533333 )
texture = ExtResource( 2 )
centered = false
offset = Vector2( 900, 50 )
flip_h = true

[node name="ColorRect" type="ColorRect" parent="Overlay"]
margin_top = -25.0
margin_right = 480.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ColorRect2" type="ColorRect" parent="Overlay"]
margin_top = 270.0
margin_right = 480.0
margin_bottom = 295.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/old_dude_slide_in = SubResource( 1 )
anims/old_dude_slide_out = SubResource( 2 )
anims/start = SubResource( 3 )

[node name="Tween" type="Tween" parent="."]
