(Picture cause i forgot how to use words)
![Image](http://i39.tinypic.com/2d0kmq0.png)
green square = player
red outline = players grid position
gray outlines = What bresenham sees
yellow square = tile the player placed
And that's not what i want. So i'm wondering if there's perhaps a way to modify bresenham to not do that, Or a different algorhithm perhaps.
.love controls:
WASD or arrow keys to move and jump
LMB = Place tile
RMB = Remove tile (only works on tiles you placed, and that is intended.)
Note that this is an early prototype. Also for some reason the .love crashed löve for me, Works fine when i just drag the folder to love.exe. Let me know if the same happens to you and i'll just post a .zip or something if necessary.
EDIT: Just tested the .love on my mac, Crashed there as well. You may have to extract the source to run it. Not sure what i did wrong here...