mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
53 lines
1.8 KiB
Text
53 lines
1.8 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://b0k2grrc8xp1l"]
|
|
|
|
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_xmxyc"]
|
|
[ext_resource type="PackedScene" uid="uid://oslelh5laokm" path="res://Scenes/Props/BigTank_Broken.tscn" id="2_w1qa3"]
|
|
[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"]
|
|
|
|
[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
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
|
size = Vector2(32, 36)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_s3n6b"]
|
|
size = Vector2(32, 36)
|
|
|
|
[node name="BigTank" type="Area2D" groups=["Destroyable"]]
|
|
collision_layer = 64
|
|
collision_mask = 138
|
|
script = ExtResource("1_xmxyc")
|
|
Health = 16.0
|
|
DebrisScene = ExtResource("2_w1qa3")
|
|
ExplosionParticles = ExtResource("3_cvv71")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_25x8m")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
position = Vector2(0, -1)
|
|
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, -1)
|
|
shape = SubResource("RectangleShape2D_s3n6b")
|