Javascript Tiled Tileset Implementation Help

Hey, i’m working on a Javascript game and i cant find a way to draw my map on chrome.


This is the error message im getting when trying to run it
image

This is the tilemap function that im using

Thanks.

Privacy & Terms