[gd_scene format=3 uid="uid://da4qqruhldc6b"]

[ext_resource type="Texture2D" uid="uid://1kmd0qww3368" path="res://Assets/Spritesheets/Outdoor Objects/Spike_Gate_anim.png" id="1_5ttkm"]
[ext_resource type="Script" uid="uid://8erg53skow38" path="res://Entities/Map Objects/Gates/Spike Gate/Scripts/spike_gate.gd" id="1_kye8r"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_5ttkm"]
size = Vector2(29, 4)

[sub_resource type="AtlasTexture" id="AtlasTexture_kye8r"]
atlas = ExtResource("1_5ttkm")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_rnxg7"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1536, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_5ttkm"]
atlas = ExtResource("1_5ttkm")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_pki7h"]
atlas = ExtResource("1_5ttkm")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_lvs8d"]
atlas = ExtResource("1_5ttkm")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_40kpl"]
atlas = ExtResource("1_5ttkm")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_ms1vp"]
atlas = ExtResource("1_5ttkm")
region = Rect2(128, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_tvc1a"]
atlas = ExtResource("1_5ttkm")
region = Rect2(160, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_vy5ys"]
atlas = ExtResource("1_5ttkm")
region = Rect2(192, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_u2ylj"]
atlas = ExtResource("1_5ttkm")
region = Rect2(224, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_gjiar"]
atlas = ExtResource("1_5ttkm")
region = Rect2(256, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_1dqry"]
atlas = ExtResource("1_5ttkm")
region = Rect2(288, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_jck8c"]
atlas = ExtResource("1_5ttkm")
region = Rect2(320, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_5xkn8"]
atlas = ExtResource("1_5ttkm")
region = Rect2(352, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_iv6vj"]
atlas = ExtResource("1_5ttkm")
region = Rect2(384, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_i530s"]
atlas = ExtResource("1_5ttkm")
region = Rect2(416, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_d6ylt"]
atlas = ExtResource("1_5ttkm")
region = Rect2(448, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_xtjjs"]
atlas = ExtResource("1_5ttkm")
region = Rect2(480, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_ci8mo"]
atlas = ExtResource("1_5ttkm")
region = Rect2(512, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_gmmov"]
atlas = ExtResource("1_5ttkm")
region = Rect2(544, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_vfoxu"]
atlas = ExtResource("1_5ttkm")
region = Rect2(576, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_ho6i7"]
atlas = ExtResource("1_5ttkm")
region = Rect2(608, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_iubls"]
atlas = ExtResource("1_5ttkm")
region = Rect2(640, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_m3ksf"]
atlas = ExtResource("1_5ttkm")
region = Rect2(672, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_0822b"]
atlas = ExtResource("1_5ttkm")
region = Rect2(704, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_52ayd"]
atlas = ExtResource("1_5ttkm")
region = Rect2(736, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_q0cp4"]
atlas = ExtResource("1_5ttkm")
region = Rect2(768, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_bjex2"]
atlas = ExtResource("1_5ttkm")
region = Rect2(800, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_sa64n"]
atlas = ExtResource("1_5ttkm")
region = Rect2(832, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_wnpnr"]
atlas = ExtResource("1_5ttkm")
region = Rect2(864, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_edpr7"]
atlas = ExtResource("1_5ttkm")
region = Rect2(896, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_n1dnq"]
atlas = ExtResource("1_5ttkm")
region = Rect2(928, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_oeoqj"]
atlas = ExtResource("1_5ttkm")
region = Rect2(960, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_t83ji"]
atlas = ExtResource("1_5ttkm")
region = Rect2(992, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_x467m"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1024, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_6y5l3"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1056, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_dxjpb"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1088, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_dnpsp"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1120, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_u3fxw"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1152, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_pq5cv"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1184, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_03fuj"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1216, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_qtdja"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1248, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_gpmon"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1280, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_dt18d"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1312, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_mvctv"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1344, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_m214n"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1376, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_r1uqq"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1408, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_c1gm7"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1440, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_ab08u"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1472, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_r3qcl"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1504, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_osvbq"]
atlas = ExtResource("1_5ttkm")
region = Rect2(1536, 0, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_pki7h"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_kye8r")
}],
"loop": false,
"name": &"closed",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_rnxg7")
}],
"loop": false,
"name": &"open",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_5ttkm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pki7h")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lvs8d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_40kpl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ms1vp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tvc1a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vy5ys")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u2ylj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gjiar")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1dqry")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jck8c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5xkn8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iv6vj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i530s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d6ylt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xtjjs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ci8mo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gmmov")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vfoxu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ho6i7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iubls")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m3ksf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0822b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_52ayd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q0cp4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bjex2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sa64n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wnpnr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_edpr7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_n1dnq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oeoqj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t83ji")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x467m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6y5l3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dxjpb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dnpsp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u3fxw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pq5cv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_03fuj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qtdja")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gpmon")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dt18d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mvctv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m214n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r1uqq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_c1gm7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ab08u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r3qcl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_osvbq")
}],
"loop": false,
"name": &"opening",
"speed": 20.0
}]

[node name="Spike Gate" type="StaticBody2D" unique_id=1020421430]
y_sort_enabled = true
collision_layer = 5
collision_mask = 0
script = ExtResource("1_kye8r")

[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=522352776]
position = Vector2(0.5, 13)
shape = SubResource("RectangleShape2D_5ttkm")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1790681326]
y_sort_enabled = true
position = Vector2(0, 15)
sprite_frames = SubResource("SpriteFrames_pki7h")
animation = &"closed"
autoplay = "closed"
offset = Vector2(0, -15)
