Fixed stuck in enemy

This commit is contained in:
2026-01-29 00:07:10 +03:00
parent f58b713806
commit 0d525dd6dd
17 changed files with 648 additions and 486 deletions
+4 -8
View File
@@ -1,14 +1,10 @@
[gd_scene load_steps=3 format=3 uid="uid://dike8xgbqdut2"]
[gd_scene format=3 uid="uid://dike8xgbqdut2"]
[ext_resource type="Script" uid="uid://ju1xwik0kpjy" path="res://game/killing_area.gd" id="1_ycsf0"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ycsf0"]
size = Vector2(16, 16)
[node name="KillingArea" type="Area2D"]
[node name="KillingArea" type="Area2D" unique_id=1891922549]
collision_layer = 0
collision_mask = 220
script = ExtResource("1_ycsf0")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_ycsf0")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]