mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-04 16:51:17 +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://7cpk3c3d8cl7"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://7cpk3c3d8cl7"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_laidj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dqx1di84tkfft" path="res://Sprites/MediumLiquidTanks.png" id="1_mv1jg"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
|
||||
|
|
@ -10,8 +11,10 @@ region = Rect2(64, 96, 32, 32)
|
|||
size = Vector2(28, 24)
|
||||
|
||||
[node name="LargeTank" type="Area2D"]
|
||||
collision_layer = 65
|
||||
collision_mask = 11
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_laidj")
|
||||
Health = 2.0
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue