Great work!

Is that implemented in PokittoLib so it is available in C++ too, and eventually can be made available in Python?


It was written in Java, but porting it to PokittoLib would be a very simple task.


Tiny bug (I think), drawLine doesn’t reach the last row (176).


hey @FManga
have find a bug in tilemap.js the read tiles function return wrong valus,
i traced it to this

pointer addr = this.data + ${3+num*(1+map.width*2*map.height)} + tileY*${map.width*2} + tileX*2;

it start reading the data at offset 3 when it should be 4 because the third byte its a layer flag.


I found that too :slight_smile: