cirnogodot/Scenes/Props/MediumTank.tscn

25 lines
877 B
Text
Raw Permalink Normal View History

2024-06-09 00:34:36 +02:00
[gd_scene load_steps=5 format=3 uid="uid://crmwuwhltmdq7"]
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_c66eg"]
2024-05-26 18:34:44 +02:00
[ext_resource type="Texture2D" uid="uid://b80wf43ow5d8b" path="res://Sprites/MediumTank.png" id="1_y64dw"]
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
atlas = ExtResource("1_y64dw")
region = Rect2(0, 0, 64, 64)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
size = Vector2(30, 28)
2024-06-09 00:34:36 +02:00
[node name="LargeTank" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_c66eg")
Health = 2.0
2024-05-26 18:34:44 +02:00
[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
position = Vector2(-16, -17)
shape = SubResource("RectangleShape2D_0nhpj")