cirnogodot/Scenes/Props/BigTankHorizontal.tscn
2025-04-18 11:51:27 +02:00

53 lines
1.8 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://dcbcyp1qogcl0"]
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_bqwe8"]
[ext_resource type="PackedScene" uid="uid://7qcjh7lo7tld" path="res://Scenes/Props/BigTankHorizontal_Broken.tscn" id="2_bqwe8"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_wscba"]
[ext_resource type="Texture2D" uid="uid://7k40xhmawjyo" path="res://Sprites/Props/BigTankHorizontal.png" id="4_bqwe8"]
[sub_resource type="AtlasTexture" id="AtlasTexture_bd6jr"]
atlas = ExtResource("4_bqwe8")
region = Rect2(0, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_wscba"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_bd6jr")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
size = Vector2(26, 27)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_s3n6b"]
size = Vector2(26, 27)
[node name="BigTankHorizontal" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 138
script = ExtResource("1_bqwe8")
Health = 16.0
DebrisScene = ExtResource("2_bqwe8")
ExplosionParticles = ExtResource("3_wscba")
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_wscba")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0, -0.5)
shape = SubResource("RectangleShape2D_0nhpj")
[node name="RigidBody2D" type="StaticBody2D" parent="." groups=["Solid"]]
collision_layer = 64
collision_mask = 10
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
visible = false
position = Vector2(0, -0.5)
shape = SubResource("RectangleShape2D_s3n6b")