Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 947 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 947 Bytes

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.