├── .editorconfig ├── .eslintrc.json ├── .gitignore ├── .jscsrc ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── gulpfile.js ├── package.json ├── src ├── browser.js ├── constants.js ├── index.js ├── physics.js ├── tiled │ ├── Objectlayer.js │ ├── Tile.js │ ├── Tilelayer.js │ ├── Tilemap.js │ ├── TilemapParser.js │ └── Tileset.js └── utils.js ├── testmaps ├── README.md ├── css │ └── style.css ├── index.html ├── js │ ├── main.js │ ├── resources.js │ └── vendor │ │ ├── jquery-2.1.1.min.js │ │ ├── jquery.query-object.js │ │ └── require-2.1.15.min.js └── maps │ ├── gfx │ └── png │ │ ├── 32_3_tiles.png │ │ ├── 32x16 │ │ ├── green_xoffset_16__yoffset_0.png │ │ ├── red_xoffset_0__yoffset_0.png │ │ ├── salmon_xoffset_13__yoffset0.png │ │ └── white_grey_xoffset_0__yoffset_0.png │ │ ├── 32x16_XY_offset │ │ ├── aqua_xoffset_5__yoffset_1.png │ │ ├── black_xoffset_32__yoffset_32.png │ │ ├── blue_xoffset_17__yoffset_5.png │ │ ├── red_xoffset_5__yoffset_45.png │ │ └── yellow_xoffset_0__yoffset_0.png │ │ ├── 64x32 │ │ ├── aqua_xoffset_0__yoffset_17.png │ │ ├── blue_xoffset_0__yoffset_0.png │ │ ├── green_xoffset_0__yoffset_16.png │ │ ├── pink_xoffset_0__yoffset_20.png │ │ └── salmon_xoffset_0__yoffset_15.png │ │ ├── blue_x10.png │ │ ├── darkworld-tileset.png │ │ ├── formosa │ │ ├── 16x16-overworld.png │ │ ├── moon_overlay.png │ │ └── tiles.png │ │ ├── greenBlue_x0_y32.png │ │ ├── greyBlack.png │ │ ├── isometric_grass_and_water.png │ │ ├── miniGreen.png │ │ ├── ortho │ │ ├── miniBlueOrthoTall.png │ │ ├── miniGreenOrtho.png │ │ └── yellowCircle.png │ │ ├── singleTallBall.png │ │ └── ughTiles.png │ ├── iso │ ├── Isometric_32x16_nooffset.tmx │ ├── Isometric_32x16_with_offset_x.tmx │ ├── Isometric_32x16_with_offset_x_y_even.tmx │ ├── Isometric_32x16_with_offset_x_y_odd.tmx │ ├── Isometric_64_32_with_offset_y.tmx │ ├── Isometric_64_32_with_offset_y_evensize.tmx │ ├── Isometric_cubes.tmx │ ├── Isometric_cubes_large.tmx │ ├── Isometric_cubes_with_objects.tmx │ ├── Isometric_cubes_with_objects_large.tmx │ └── Isometric_land.tmx │ └── ortho │ ├── Ortho_1_16__16_large.json │ ├── Ortho_1_16__16_large.tmx │ ├── Ortho_1_32__32.tmx │ ├── Ortho_1_32__32_objects.json │ ├── Ortho_1_32__32_objects.tmx │ ├── basicRotate.tmx │ ├── formosa_gzip.tmx │ └── formosa_zlib.tmx └── typescript └── phaser-tiled.d.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/.gitignore -------------------------------------------------------------------------------- /.jscsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/.jscsrc -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/README.md -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/gulpfile.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/package.json -------------------------------------------------------------------------------- /src/browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/browser.js -------------------------------------------------------------------------------- /src/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/constants.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/index.js -------------------------------------------------------------------------------- /src/physics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/physics.js -------------------------------------------------------------------------------- /src/tiled/Objectlayer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/tiled/Objectlayer.js -------------------------------------------------------------------------------- /src/tiled/Tile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/tiled/Tile.js -------------------------------------------------------------------------------- /src/tiled/Tilelayer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/tiled/Tilelayer.js -------------------------------------------------------------------------------- /src/tiled/Tilemap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/tiled/Tilemap.js -------------------------------------------------------------------------------- /src/tiled/TilemapParser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/tiled/TilemapParser.js -------------------------------------------------------------------------------- /src/tiled/Tileset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/tiled/Tileset.js -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/src/utils.js -------------------------------------------------------------------------------- /testmaps/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/README.md -------------------------------------------------------------------------------- /testmaps/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/css/style.css -------------------------------------------------------------------------------- /testmaps/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/index.html -------------------------------------------------------------------------------- /testmaps/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/js/main.js -------------------------------------------------------------------------------- /testmaps/js/resources.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/js/resources.js -------------------------------------------------------------------------------- /testmaps/js/vendor/jquery-2.1.1.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/js/vendor/jquery-2.1.1.min.js -------------------------------------------------------------------------------- /testmaps/js/vendor/jquery.query-object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/js/vendor/jquery.query-object.js -------------------------------------------------------------------------------- /testmaps/js/vendor/require-2.1.15.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/js/vendor/require-2.1.15.min.js -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32_3_tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32_3_tiles.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16/green_xoffset_16__yoffset_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16/green_xoffset_16__yoffset_0.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16/red_xoffset_0__yoffset_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16/red_xoffset_0__yoffset_0.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16/salmon_xoffset_13__yoffset0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16/salmon_xoffset_13__yoffset0.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16/white_grey_xoffset_0__yoffset_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16/white_grey_xoffset_0__yoffset_0.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16_XY_offset/aqua_xoffset_5__yoffset_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16_XY_offset/aqua_xoffset_5__yoffset_1.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16_XY_offset/black_xoffset_32__yoffset_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16_XY_offset/black_xoffset_32__yoffset_32.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16_XY_offset/blue_xoffset_17__yoffset_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16_XY_offset/blue_xoffset_17__yoffset_5.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16_XY_offset/red_xoffset_5__yoffset_45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16_XY_offset/red_xoffset_5__yoffset_45.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/32x16_XY_offset/yellow_xoffset_0__yoffset_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/32x16_XY_offset/yellow_xoffset_0__yoffset_0.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/64x32/aqua_xoffset_0__yoffset_17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/64x32/aqua_xoffset_0__yoffset_17.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/64x32/blue_xoffset_0__yoffset_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/64x32/blue_xoffset_0__yoffset_0.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/64x32/green_xoffset_0__yoffset_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/64x32/green_xoffset_0__yoffset_16.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/64x32/pink_xoffset_0__yoffset_20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/64x32/pink_xoffset_0__yoffset_20.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/64x32/salmon_xoffset_0__yoffset_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/64x32/salmon_xoffset_0__yoffset_15.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/blue_x10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/blue_x10.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/darkworld-tileset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/darkworld-tileset.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/formosa/16x16-overworld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/formosa/16x16-overworld.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/formosa/moon_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/formosa/moon_overlay.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/formosa/tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/formosa/tiles.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/greenBlue_x0_y32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/greenBlue_x0_y32.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/greyBlack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/greyBlack.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/isometric_grass_and_water.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/isometric_grass_and_water.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/miniGreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/miniGreen.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/ortho/miniBlueOrthoTall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/ortho/miniBlueOrthoTall.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/ortho/miniGreenOrtho.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/ortho/miniGreenOrtho.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/ortho/yellowCircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/ortho/yellowCircle.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/singleTallBall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/singleTallBall.png -------------------------------------------------------------------------------- /testmaps/maps/gfx/png/ughTiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/gfx/png/ughTiles.png -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_32x16_nooffset.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_32x16_nooffset.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_32x16_with_offset_x.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_32x16_with_offset_x.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_32x16_with_offset_x_y_even.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_32x16_with_offset_x_y_even.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_32x16_with_offset_x_y_odd.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_32x16_with_offset_x_y_odd.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_64_32_with_offset_y.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_64_32_with_offset_y.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_64_32_with_offset_y_evensize.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_64_32_with_offset_y_evensize.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_cubes.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_cubes.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_cubes_large.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_cubes_large.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_cubes_with_objects.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_cubes_with_objects.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_cubes_with_objects_large.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_cubes_with_objects_large.tmx -------------------------------------------------------------------------------- /testmaps/maps/iso/Isometric_land.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/iso/Isometric_land.tmx -------------------------------------------------------------------------------- /testmaps/maps/ortho/Ortho_1_16__16_large.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/ortho/Ortho_1_16__16_large.json -------------------------------------------------------------------------------- /testmaps/maps/ortho/Ortho_1_16__16_large.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/ortho/Ortho_1_16__16_large.tmx -------------------------------------------------------------------------------- /testmaps/maps/ortho/Ortho_1_32__32.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/ortho/Ortho_1_32__32.tmx -------------------------------------------------------------------------------- /testmaps/maps/ortho/Ortho_1_32__32_objects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/ortho/Ortho_1_32__32_objects.json -------------------------------------------------------------------------------- /testmaps/maps/ortho/Ortho_1_32__32_objects.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/ortho/Ortho_1_32__32_objects.tmx -------------------------------------------------------------------------------- /testmaps/maps/ortho/basicRotate.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/ortho/basicRotate.tmx -------------------------------------------------------------------------------- /testmaps/maps/ortho/formosa_gzip.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/ortho/formosa_gzip.tmx -------------------------------------------------------------------------------- /testmaps/maps/ortho/formosa_zlib.tmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/testmaps/maps/ortho/formosa_zlib.tmx -------------------------------------------------------------------------------- /typescript/phaser-tiled.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/englercj/phaser-tiled/HEAD/typescript/phaser-tiled.d.ts --------------------------------------------------------------------------------