Is this different from the assumption that walls can be zero-width lines? ... I'd like to avoid doing math with smaller squares inside of unit squares if it can be helped.
But as etaomyx describes in post 18 to this conversation, this won't work so well when you're not in a horizontal or vertical line from the player. So in your scheme, things would look like this, with the blank squares being invisible to the @:
Code:
........... .@......... ...#....... ..... ..... ....... ... ......... . ...........
Code:
........... .@......... ...#....... .... ..... ..... ... ...... . .......
Leave a comment: