cirnogodot/Scenes/Props/BigTankHorizontal_Broken.tscn
2025-03-13 09:58:54 +01:00

49 lines
1.5 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://7qcjh7lo7tld"]
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_suwhg"]
[ext_resource type="Texture2D" uid="uid://7k40xhmawjyo" path="res://Sprites/Props/BigTankHorizontal.png" id="2_suwhg"]
[sub_resource type="AtlasTexture" id="AtlasTexture_vty3y"]
atlas = ExtResource("2_suwhg")
region = Rect2(32, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_u1cn4"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_vty3y")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(28, 26)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(28, 26)
[node name="Big Tank Broken" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_suwhg")
Indestructible = true
Health = 2.0
ExplosionRadius = 0.0
ExplosionDamage = 0.0
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_u1cn4")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_2ewfl")
[node name="RigidBody2D" type="RigidBody2D" parent="."]
collision_layer = 64
collision_mask = 10
gravity_scale = 0.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
shape = SubResource("RectangleShape2D_ss2y0")