mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-04 13:11:15 +00:00
Exploding barrels
This commit is contained in:
parent
6a62fe2871
commit
71eeb3f1d1
12 changed files with 132 additions and 20 deletions
|
|
@ -1,5 +1,6 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://crmwuwhltmdq7"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://crmwuwhltmdq7"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_c66eg"]
|
||||
[ext_resource type="Texture2D" uid="uid://b80wf43ow5d8b" path="res://Sprites/MediumTank.png" id="1_y64dw"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
|
||||
|
|
@ -9,9 +10,11 @@ region = Rect2(0, 0, 64, 64)
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
||||
size = Vector2(30, 28)
|
||||
|
||||
[node name="LargeTank" type="Area2D"]
|
||||
collision_layer = 65
|
||||
collision_mask = 11
|
||||
[node name="LargeTank" type="Area2D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_c66eg")
|
||||
Health = 2.0
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_i3nxh")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue