UPDATE: Mogamett was renamed and developed further to “fuccboiGDX”. I released an updated version of this parser.
***
Today I wrote a little parser, that converts tilemap-data from the Pyxel-Pixeleditor (http://pyxeledit.com) to Mogamett (a work-in-progress game engine, build upon Love2d).
This could be useful for anyone, so I share! Here is the stuff:
https://gist.github.com/nodepond/5e71171ffbe2ec09aa03
Usage:
- Run this script in the same folder, where you have exported the ’tilemap.json’ from Pyxel
- The tilemap is named ‘Layer 0’
- The collisionmap is named ‘Layer Collide’
It generates lua-code ready to c&p paste. There is an more accurate usage example in the ruby-file itself.
0 Comments September 30, 2014