cirnogodot/Scenes/Props/LargeTank.tscn
2025-01-21 15:17:26 +01:00

40 lines
1.4 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://uaf5r6cd71hu"]
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_7ckvo"]
[ext_resource type="Texture2D" uid="uid://d2rvjbllnogx4" path="res://Sprites/LargeTank.png" id="1_7h6ee"]
[ext_resource type="PackedScene" uid="uid://c53lpgcvld227" path="res://Scenes/Detritus.tscn" id="2_wpybp"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_2db64"]
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
atlas = ExtResource("1_7h6ee")
region = Rect2(0, 0, 64, 64)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
size = Vector2(61, 61)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_s3n6b"]
size = Vector2(54, 48)
[node name="LargeTank" type="Area2D"]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_7ckvo")
Health = 4.0
DebrisScene = ExtResource("2_wpybp")
ExplosionParticles = ExtResource("3_2db64")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_i3nxh")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0.5, -0.5)
shape = SubResource("RectangleShape2D_0nhpj")
[node name="RigidBody2D" type="RigidBody2D" parent="."]
collision_layer = 64
collision_mask = 10
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
position = Vector2(0, -3)
shape = SubResource("RectangleShape2D_s3n6b")