Skip to content

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

Notifications You must be signed in to change notification settings

rkachowski/tmxtilemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages