nes-tmx
v1.0.1
Published
make tiled map editor maps into header files for nes development in c
Downloads
8
Readme
nes-tmx
This is a tool to help create nametables and collision maps for NES games from tilemaps produced with the Tiled Map Editor.
The nametables and collision maps that this tool produces can be included as header files in a c program. This also means that to use this, it is assumed you program the NES with C.
There's an example tile map over here.
usage
Install the package:
npm install nes-tmx
And use it in your project like so:
var nt = require('nes-tmx')
nt('yourtilemap.tmx', 'nametableoutput.h')
An example of how to use it can be found in fritzvd/emesh
Shiru's C coding for the NES
This is based on Shiru's RLE and UNRLE function to create small nametables to program the NES in C.