mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 01:41: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://bnhck5eh0tqxf"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bnhck5eh0tqxf"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_iba8l"]
|
||||
[ext_resource type="Texture2D" uid="uid://juyup7so2u4g" path="res://Sprites/MediumTerminals.png" id="1_sgrg1"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
|
||||
|
|
@ -9,9 +10,10 @@ region = Rect2(96, 0, 32, 32)
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
||||
size = Vector2(28, 24)
|
||||
|
||||
[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_iba8l")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue