diff options
author | Galin Simeonov <gts@volconst.com> | 2021-10-27 13:39:07 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-10-27 13:45:22 +0300 |
commit | df405a0cb99d4674d3bf14ec31b7dc5977a76718 (patch) | |
tree | 81d777027be7f5fabfe1d260bc1b18ab3bf5d0cd | |
parent | 97a18123de85228d5b4d9b42451a7b6ac0417f91 (diff) | |
download | snek-df405a0cb99d4674d3bf14ec31b7dc5977a76718.tar.gz |
Increased lazer hitbox
-rw-r--r-- | snek.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -451,7 +451,7 @@ function mouseColidesWithLaserBeam(mouse) if(direction<0) direction=Math.PI*2+direction; - if(Math.abs(direction-Math.PI-snake.direction)<0.1) + if(Math.abs(direction-Math.PI-snake.direction)<0.3) return true; else return false; |