add enemy hitbox and refactor to characterBody2d

This commit is contained in:
2025-10-21 21:22:08 +01:00
parent 1fcc9a0a35
commit f9a218159c
7 changed files with 78 additions and 6 deletions

View File

@@ -2,3 +2,4 @@ extends Node2D
const COLLISION_SHAPE_2D = "CollisionShape2D"
const CHARACTER_BODY_2D = "CharacterBody2D"
const ANIMATED_SPRITE_2D = "AnimatedSprite2D"