This forum is read only and just serves as an archive. If you have any questions, please post them on

9 years ago by Jesse

This is a plugin for creating level maps. Its main usage is for showing people your map, but it could also have in-game use. It takes a screenshot of every part of your level and puts it into one offscreen canvas. It's pretty easy to use, just tie the following code to a key press or something similar:

var mapCapture = new MapCapture();
console.log( "Map: ", mapCapture.getData() );

The Github repo:

An example of its output can be seen at

Star the repo if you use it! Follow me on Twitter... I follow back game developers

/>			</div>
			<div class=

9 years ago by FelipeBudinich

Wow man, this is Awesome and very useful for debugging proceduraly generated maps.

Thanks very much!

9 years ago by stahlmanDesign

Very cool. Make sure to put it at the end of your init function or else the level isn't loaded and it causes an error.
Page 1 of 1
« first « previous next › last »