feat: 添加Hitbox和Hurtbox,添加敌人和玩家之间的碰撞

This commit is contained in:
luke358
2026-05-18 14:55:43 +08:00
parent 67ea3f2d42
commit 2060719f4e
10 changed files with 117 additions and 3 deletions
+4
View File
@@ -57,6 +57,10 @@ dash={
2d_physics/layer_1="Player"
2d_physics/layer_2="Enemy"
2d_physics/layer_3="HitboxEnemy"
2d_physics/layer_4="HurtboxEnemy"
2d_physics/layer_5="HitboxPlayer"
2d_physics/layer_6="HurtboxPlayer"
[physics]