Tmx loader for loading Tiled maps into a basic data structure in Ruby.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
tmx.gemspec

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