» Edit Game Info

2 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

2 years ago by FelipeBudinich

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

Thanks very much!

1 year 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 »

Post Reply

Please login or register to reply.