game: add rat enemy

This commit is contained in:
2025-08-21 07:09:42 +02:00
parent f860ddd669
commit 0046865101
7 changed files with 74 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ shader_parameter/flash_amount = 0.0
size = Vector2(32, 32)
[sub_resource type="CircleShape2D" id="CircleShape2D_satqt"]
radius = 6.0
radius = 4.0
[sub_resource type="Animation" id="Animation_satqt"]
length = 0.001
@@ -60,7 +60,7 @@ _data = {
[sub_resource type="CircleShape2D" id="CircleShape2D_pkqou"]
[node name="EnemyBase" type="CharacterBody2D"]
[node name="EnemyBase" type="CharacterBody2D" groups=["damagable", "enemy"]]
collision_layer = 2
collision_mask = 3
script = ExtResource("1_qty17")