[gd_scene load_steps=4 format=2]

[ext_resource path="res://src/GameWorld/AmbiantLighting.gd" type="Script" id=1]

[sub_resource type="Animation" id=1]
resource_name = "DAY"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("CanvasModulate:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.5 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ) ]
}

[sub_resource type="Animation" id=2]
resource_name = "NIGHT"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("CanvasModulate:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.5 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 0.615686, 0.223529, 0.223529, 1 ) ]
}

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

[node name="CanvasModulate" type="CanvasModulate" parent="."]
color = Color( 0.517647, 0.509804, 0.509804, 1 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "DAY"
anims/DAY = SubResource( 1 )
anims/NIGHT = SubResource( 2 )

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