1.0.1 • Published 8 years ago

nes-tmx v1.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

nes-tmx

This is a tool to help create nametables and collision maps for NES games from tilemaps produced with the Tiled Map Editor.

NES-tmx

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.