[gd_scene load_steps=8 format=3 uid="uid://cdhhices2ju4r"] [ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_n0nvc"] [ext_resource type="Texture2D" uid="uid://bifei6xr5esgs" path="res://Sprites/ICCTv.png" id="2_n0nvc"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"] size = Vector2(11, 14) [sub_resource type="AtlasTexture" id="AtlasTexture_t3h6f"] atlas = ExtResource("2_n0nvc") region = Rect2(128, 0, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_e1d0b"] atlas = ExtResource("2_n0nvc") region = Rect2(160, 0, 32, 32) [sub_resource type="SpriteFrames" id="SpriteFrames_c8rr2"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_t3h6f") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_e1d0b") }], "loop": true, "name": &"default", "speed": 5.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"] size = Vector2(11, 14) [node name="ICCTVBroken" type="Area2D" groups=["Destroyable"]] collision_layer = 64 collision_mask = 10 script = ExtResource("1_n0nvc") Indestructible = true Health = 2.0 ExplosionRadius = 0.0 ExplosionDamage = 0.0 metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] visible = false position = Vector2(0.5, -1) shape = SubResource("RectangleShape2D_2ewfl") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_c8rr2") autoplay = "default" frame_progress = 0.380965 [node name="RigidBody2D" type="RigidBody2D" parent="."] collision_layer = 64 collision_mask = 10 gravity_scale = 0.0 [node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"] visible = false position = Vector2(0.5, -1) shape = SubResource("RectangleShape2D_ss2y0")