restore working collision detection code to player's attack

This commit is contained in:
2025-08-29 10:14:28 +01:00
parent 22d43dc0c1
commit 1d1fed35cf
3 changed files with 62 additions and 54 deletions

View File

@@ -32,6 +32,10 @@ struct
val projectileDistance: Real32.real = 26.0
val projectileSizeInt = 18
val projectileHeight = 24
val projectileWidth = 96
val projectileOffsetY = playerHeight div 3
(* constants for enemy *)
val enemySize = 48
val enemySizeReal: Real32.real = 48.0