Drawing isometric map in canvas / javascript
- by Dave
I have a problem with my map design for my tiles.
I set player position which is meant to be the middle tile that the canvas is looking at.
How ever the calculation to put them in x:y pixel location is completely messed up for me and i don't know how to fix it.
This is what i tried:
var offset_x = 0; //used for scrolling on x
var offset_y =…