[gd_scene load_steps=9 format=3 uid="uid://cqrkisw6jg24w"]

[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_503tw"]
[ext_resource type="Texture2D" uid="uid://dq8wg0n5q7b6b" path="res://Sprites/Props/MainFrame1.png" id="2_4mou8"]
[ext_resource type="PackedScene" uid="uid://bxvsefskms5kj" path="res://Scenes/Props/MainFrame1_Broken.tscn" id="2_pr6n8"]

[sub_resource type="AtlasTexture" id="AtlasTexture_5da8j"]
atlas = ExtResource("2_4mou8")
region = Rect2(0, 0, 16, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_mli0e"]
atlas = ExtResource("2_4mou8")
region = Rect2(16, 0, 16, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_kpm16"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_5da8j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mli0e")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
size = Vector2(14, 24)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_vguns"]
size = Vector2(13, 20)

[node name="Mainframe" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_503tw")
Health = 8.0
ExplosionRadius = 0.0
ExplosionDamage = 0.0
DebrisScene = ExtResource("2_pr6n8")
metadata/_edit_group_ = true

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, -8)
sprite_frames = SubResource("SpriteFrames_kpm16")
autoplay = "default"
frame_progress = 0.193815

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0, -8)
shape = SubResource("RectangleShape2D_0nhpj")

[node name="RigidBody2D" type="RigidBody2D" parent="."]
position = Vector2(0, -8)
collision_layer = 64
collision_mask = 10
gravity_scale = 0.0

[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
visible = false
position = Vector2(0.5, -3)
shape = SubResource("RectangleShape2D_vguns")
