cirnogodot/Scenes/Props/BigTank.tscn

53 lines
1.8 KiB
Text
Raw Normal View History

2025-03-13 09:58:54 +01:00
[gd_scene load_steps=9 format=3 uid="uid://b0k2grrc8xp1l"]
2025-02-22 00:22:16 +01:00
2025-02-24 11:37:45 +01:00
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_xmxyc"]
2025-03-13 09:58:54 +01:00
[ext_resource type="PackedScene" uid="uid://oslelh5laokm" path="res://Scenes/Props/BigTank_Broken.tscn" id="2_w1qa3"]
2025-02-22 00:22:16 +01:00
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_cvv71"]
[ext_resource type="Texture2D" uid="uid://csivp4uxfmard" path="res://Sprites/Props/BigTank.png" id="4_tvvum"]
2025-03-13 09:58:54 +01:00
[sub_resource type="AtlasTexture" id="AtlasTexture_w1qa3"]
atlas = ExtResource("4_tvvum")
region = Rect2(0, 0, 32, 48)
[sub_resource type="SpriteFrames" id="SpriteFrames_25x8m"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_w1qa3")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
2025-02-22 00:22:16 +01:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
size = Vector2(32, 36)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_s3n6b"]
size = Vector2(32, 36)
2025-03-13 09:58:54 +01:00
[node name="BigTank" type="Area2D" groups=["Destroyable"]]
2025-02-22 00:22:16 +01:00
collision_layer = 64
2025-03-13 09:58:54 +01:00
collision_mask = 138
2025-02-22 00:22:16 +01:00
script = ExtResource("1_xmxyc")
Health = 16.0
2025-03-13 09:58:54 +01:00
DebrisScene = ExtResource("2_w1qa3")
2025-02-22 00:22:16 +01:00
ExplosionParticles = ExtResource("3_cvv71")
2025-03-13 09:58:54 +01:00
metadata/_edit_group_ = true
2025-02-22 00:22:16 +01:00
2025-03-13 09:58:54 +01:00
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_25x8m")
2025-02-22 00:22:16 +01:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2025-02-22 12:26:00 +01:00
visible = false
2025-02-22 00:22:16 +01:00
position = Vector2(0, -1)
shape = SubResource("RectangleShape2D_0nhpj")
2025-04-18 11:51:27 +02:00
[node name="RigidBody2D" type="StaticBody2D" parent="." groups=["Solid"]]
2025-02-22 00:22:16 +01:00
collision_layer = 64
collision_mask = 10
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
2025-02-22 12:26:00 +01:00
visible = false
2025-02-22 00:22:16 +01:00
position = Vector2(0, -1)
shape = SubResource("RectangleShape2D_s3n6b")