Tmx loader for loading Tiled maps into a basic data structure in Ruby.
Ruby
Latest commit 159e838 Jul 20, 2015 @shawn42 Merge pull request #11 from Dahrkael/master
added fallback to rexml if nokogiri isnt available

README.md

Tmx

A library for parsing the Tiled Map Editor file format (version 0.9).

Support

  • JSON format (using multi_json)
  • TMX file (XML)
  • TMX file (Base64)
  • TMX file (Base64 zlib compressed)
  • TMX file (Base64 gzip compressed)
  • TMX file (CSV)

Installation

Add this line to your application's Gemfile:

gem 'tmx'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tmx