10 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:
The Github repo: https://github.com/jmo84/impactjs-map-capture
An example of its output can be seen at https://twitter.com/jmogame/status/561700720068804609
Star the repo if you use it! Follow me on Twitter... I follow back game developers
https://twitter.com/jmogame
var mapCapture = new MapCapture(); mapCapture.capture(); console.log( "Map: ", mapCapture.getData() );
The Github repo: https://github.com/jmo84/impactjs-map-capture
An example of its output can be seen at https://twitter.com/jmogame/status/561700720068804609
Star the repo if you use it! Follow me on Twitter... I follow back game developers
https://twitter.com/jmogame
10 years ago by FelipeBudinich
Wow man, this is Awesome and very useful for debugging proceduraly generated maps.
Thanks very much!
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 »