Create 2D games in JavaScript, made easier · By Cedric Stoquer
well i created a map for the game and i do not know how to import it.
Assuming your map is named “map” (you can change its name from the map editor) In your game code, add the following:
var map = getMap('map'); draw(map, 0, 0);