
P#121167 2022-11-22 14:38

1

Great graphics but needs work, @dedelamenace.
As @Tatery1 stated, the zombies can appear right on top of you. The hit box is way too strict missing the enemies even as they close in on you.
Here now, use this function if you like to determine if a shot hits an enemy.
function didhit(shotx,shoty,enemyx,enemyy) return abs(shotx-enemyx)<8 and abs(shoty-enemyy)<8 end |
Will return TRUE if the shot has hit the enemy.
P#121184 2022-11-22 17:54
[Please log in to post a comment]