[gd_scene load_steps=5 format=3 uid="uid://bucigqlq6k64b"]

[ext_resource type="Script" path="res://wall.gd" id="1"]

[sub_resource type="RectangleShape2D" id="1"]
size = Vector2(340, 20)

[sub_resource type="Animation" id="2"]
resource_name = "flash"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Polygon2D:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 0, 0, 1), Color(1, 1, 1, 1), Color(1, 0, 0, 1), Color(1, 1, 1, 1)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_fphgc"]
_data = {
"flash": SubResource("2")
}

[node name="Wall" type="StaticBody2D"]
position = Vector2(390.63, 482)
collision_layer = 8
script = ExtResource("1")

[node name="Polygon2D" type="Polygon2D" parent="."]
polygon = PackedVector2Array(-170, -10, 170, -10, 170, 10, -170, 10)

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("1")

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_fphgc")
}
