2025-01-21 15:17:26 +01:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://7cpk3c3d8cl7"]
|
2024-05-26 18:34:44 +02:00
|
|
|
|
2025-02-24 11:37:45 +01:00
|
|
|
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_laidj"]
|
2024-05-26 18:34:44 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dqx1di84tkfft" path="res://Sprites/MediumLiquidTanks.png" id="1_mv1jg"]
|
2025-01-21 15:17:26 +01:00
|
|
|
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="2_1wfyv"]
|
2024-05-26 18:34:44 +02:00
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
|
|
|
|
|
atlas = ExtResource("1_mv1jg")
|
|
|
|
|
region = Rect2(64, 96, 32, 32)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
|
|
|
|
size = Vector2(28, 24)
|
|
|
|
|
|
2025-01-21 15:17:26 +01:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b7nn4"]
|
|
|
|
|
size = Vector2(24, 14)
|
|
|
|
|
|
2024-05-26 18:34:44 +02:00
|
|
|
[node name="LargeTank" type="Area2D"]
|
2024-06-09 00:34:36 +02:00
|
|
|
collision_layer = 64
|
|
|
|
|
collision_mask = 10
|
|
|
|
|
script = ExtResource("1_laidj")
|
|
|
|
|
Health = 2.0
|
2025-01-21 15:17:26 +01:00
|
|
|
ExplosionParticles = ExtResource("2_1wfyv")
|
2024-05-26 18:34:44 +02:00
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
|
texture = SubResource("AtlasTexture_i3nxh")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
2024-06-02 23:35:28 +02:00
|
|
|
visible = false
|
2024-05-26 18:34:44 +02:00
|
|
|
shape = SubResource("RectangleShape2D_0nhpj")
|
2025-01-21 15:17:26 +01:00
|
|
|
|
2025-04-09 14:08:41 +02:00
|
|
|
[node name="RigidBody2D" type="StaticBody2D" parent="." groups=["Solid"]]
|
2025-01-21 15:17:26 +01:00
|
|
|
collision_layer = 64
|
|
|
|
|
collision_mask = 10
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
|
|
|
|
position = Vector2(0, -3)
|
|
|
|
|
shape = SubResource("RectangleShape2D_b7nn4")
|