Procedural Generation of Pokemon Style TMX Maps using JavaScript. It is a generic generator and can accept N layers and build a terrain based on a certain config.
Source Codegithub.comLanguageJavaScript