Richard Davey
d8f1ba03e9
Moved repository location
2018-01-09 21:43:56 +00:00
Michael Hadley
10dfa0a7da
Reverting last change - making it easier to access collision groups from Tileset
2017-12-01 18:57:27 -06:00
Michael Hadley
8adce2ed2e
Tidying: making it easier to access collision objects from a tile
2017-12-01 18:08:58 -06:00
Michael Hadley
742ff1a439
Internal terminology change to make API clearer: tile.worldXY -> tile.pixelXY
2017-12-01 13:26:09 -06:00
Michael Hadley
01f34e18b7
Recalculate faces: make this reset faces on non-colliding tiles
...
This handles edge cases where things like copy can make a tile become non-colliding w/o reseting faces
2017-11-30 17:19:19 -06:00
Michael Hadley
a3b8a25521
Allow tilemap to change base tile size for all tiles
2017-11-29 23:16:48 -06:00
Michael Hadley
e548b73e80
Proper support for multiple tile sizes in a tilemap
...
- Adds base tile size to Tile class. Tiled positions tiles based on the base size.
- Supports proper translation of Tiled's bottom left coord system to Phaser's top left coord for tiles that are bigger or smaller than the base tile size.
- Update static renderer to read position/size from tile
2017-11-29 20:06:52 -06:00
Michael Hadley
d6f8812f49
Jsdoc: Tile
2017-11-29 15:37:23 -06:00
Michael Hadley
a7df7c2df9
Tidying up linting, notes and comments
2017-11-29 11:46:19 -06:00
Michael Hadley
60f20aa05b
setTileLocationCallback
2017-11-29 08:20:24 -06:00
Michael Hadley
6ca7c9ecfd
Copy update: copy all tile props and recalculate faces within dest region
2017-11-26 08:58:38 -06:00
Michael Hadley
e19de28932
Tilemap & layers now recalc faces (with a parameter for disabling recalc)
2017-11-21 19:18:34 -06:00
Michael Hadley
759252a078
Better handling of resizing a tilemap
...
Force the tilesets and tiles to inherit their tile size from the tilemap
2017-11-18 15:40:27 -06:00
Michael Hadley
e2960486a9
Filling out Tile with some methods & props from v2
2017-11-18 15:38:46 -06:00
Michael Hadley
c2268f3dee
PutTile, RemoveTile & Tile#Copy
2017-11-16 13:09:07 -06:00
Michael Hadley
13ded52c6b
New Tile class to be shared across static and dynamic layers
2017-11-14 15:34:33 -06:00
Michael Hadley
a76a6535e0
CSV tilemap parser & dummy tiled json parser
2017-11-09 20:50:25 -06:00