how is it possible to draw the player behind and in front of some building in an isometric map : should I slice them, replace the number in the map (one number for a tile usually) by an array of number (each being a piece of a bigger tile), and somehow add a Z-order related to each small number (the pieces of building), something like this?
//replace :
var map = [
[1,0,1],
[0,1,1],
[0,0,1],
[0,0,1]
];
//by :
var map = [
[["2-zOrder/1","3-zOrder/1"],0,1],
[1,1,1],
[1,0,1],
[0,0,1]
];