Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
po8rewq committed Apr 26, 2012
1 parent 9106989 commit 950aa6c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
@@ -1,4 +1,20 @@
HaxeFlixelTiled
===============

FlxTiled port to Haxe
FlxTiled port to Haxe based on Matt Tuttle and Thomas Jahn's works

Example based on the Flixel Mode demo :

```bash
var tmx : TmxMap = new TmxMap( nme.Assets.getText('levels/map01.tmx') );

// Basic level structure
var t:FlxTilemap = new FlxTilemap();

// Generate a CSV from the layer 'map' with all the tiles from the TileSet 'tiles'
var mapCsv:String = tmx.getLayer('map').toCsv( tmx.getTileSet('tiles') );

t.loadMap(mapCsv, "gfx/tiles.png", 8, 8, FlxTilemap.OFF);
t.follow();
add(t);
```

0 comments on commit 950aa6c

Please sign in to comment.