me.TiledLayer
has four functions for accessing and modifying the tiles in the layer, but the x,y arguments passed to each function do not match:
getTile
and getTileId
accept the coordinates in pixels
setTile
and clearTile
accept the coordinates in tiles
The difference is not evident in documentation: http://www.melonjs.org/docs/symbols/me.TiledLayer.html