[gd_scene load_steps=7 format=3 uid="uid://dt4a45eiw3akt"]

[ext_resource type="Texture2D" uid="uid://bjhjrqqdmhpaf" path="res://assets/box.png" id="1_akeeu"]
[ext_resource type="Script" path="res://scenes/end_box.gd" id="2_uuq2p"]

[sub_resource type="AtlasTexture" id="AtlasTexture_lqicg"]
atlas = ExtResource("1_akeeu")
region = Rect2(650, 0, 650, 449)

[sub_resource type="AtlasTexture" id="AtlasTexture_r7y3x"]
atlas = ExtResource("1_akeeu")
region = Rect2(0, 0, 650, 449)

[sub_resource type="SpriteFrames" id="SpriteFrames_0nq55"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_lqicg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r7y3x")
}],
"loop": false,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_o07hu"]
size = Vector2(445.309, 35.625)

[node name="box" type="Area2D"]
position = Vector2(1, 0)
scale = Vector2(0.5, 0.5)
script = ExtResource("2_uuq2p")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
scale = Vector2(0.5, 0.5)
sprite_frames = SubResource("SpriteFrames_0nq55")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -78)
scale = Vector2(0.5, 0.5)
shape = SubResource("RectangleShape2D_o07hu")

[connection signal="body_entered" from="." to="." method="_on_body_entered"]
