Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A class that gets the .tmx (Tiled - http://mapeditor.org ) tile map format working with chingu

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 media
Octocat-spinner-32 src
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 run.rb
Octocat-spinner-32 test_char_collision.rb
Octocat-spinner-32 test_tmx_loader.rb
README.rdoc

An extension to allow chingu to load tilemaps from the tiled map editor ( mapeditor.org )

To use, first copy tmx_loader.rb and tile_map.rb to your project. Then you can specify the .tmx file via chingu's autoload feature, e.g.

map = TmxTileMap["filename.tmx"]

then simply add to your draw / update loop as with any other BasicGameObject

Directories that are automatically searched for filename.tmx (relative to the script) are

  • “maps”

  • “media/maps”

  • “../media/maps”

Custom directories can be added in the usual chingu way

Something went wrong with that request. Please try again.