Fork me on GitHub

Tileset spacing

Since v2.4.4 by elnabo


If your tileset has some space between the tiles you can now specify it when constructing your tilemap. The tileSpacingWidth and tileSpacingHeight arguments are optional.

new Tilemap(tileset:Dynamic, width:Int, height:Int, tileWidth:Int, tileHeight:Int, ?tileSpacingWidth:Int=0, ?tileSpacingHeight:Int=0);


  • Drawing multiple scenes
  • Emitter backward animation
  • Haxedef flags
  • Managing assets
  • Multi-platform input