[gd_scene load_steps=3 format=2]

[sub_resource type="Animation" id=1]
length = 0.2
tracks/0/type = "value"
tracks/0/path = NodePath(".:color")
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": [ Color( 0.94902, 0.396078, 0.396078, 1 ), Color( 1, 0, 0, 0 ) ]
}

[sub_resource type="Animation" id=2]
length = 0.2
tracks/0/type = "value"
tracks/0/path = NodePath(".:color")
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": [ Color( 1, 1, 1, 0.627451 ), Color( 1, 1, 1, 0 ) ]
}

[node name="effect" type="Polygon2D"]
z_index = 1
color = Color( 1, 0, 0, 0 )
polygon = PoolVector2Array( -1, -1, 33, -1, 33, 33, -1, 33 )

[node name="anim" type="AnimationPlayer" parent="."]
anims/damage = SubResource( 1 )
anims/flash = SubResource( 2 )
