hi, the wallY is sometimes becoming negative, and so i get an error in line 261 ... added this check before the line if (wallX >= 0 && wallX < ig.game.collisionMap.width && wallY >= 0 && wallY < ig.game.collisionMap.height) { .... } bye
hi,
the wallY is sometimes becoming negative, and so i get an error in line 261 ...
added this check before the line
if (wallX >= 0 && wallX < ig.game.collisionMap.width && wallY >= 0 && wallY < ig.game.collisionMap.height) {
....
}
bye