Richard Davey
|
aae1cf5ae5
|
Tidying up
|
2018-12-13 13:10:31 +00:00 |
|
Richard Davey
|
ffd217dbdd
|
Fixed size calculation and updated docs
|
2018-12-13 11:46:17 +00:00 |
|
Richard Davey
|
eef553d4c2
|
Fixed layer size calculations. Also changed rendering to use tileset tile sizes, as it should do.
|
2018-12-13 11:07:53 +00:00 |
|
Richard Davey
|
74d5af20c6
|
Tidying up
|
2018-12-13 11:07:20 +00:00 |
|
Richard Davey
|
79ee2229ad
|
Merge pull request #4207 from tfelix/fix/tilemap-layer-typedef-fix
fixes the typedef for the layer parameter
|
2018-12-12 11:28:57 +00:00 |
|
Richard Davey
|
2780babe10
|
Final Doc Jam merge
|
2018-12-03 15:16:23 +00:00 |
|
Thomas Felix
|
bd5f2b3bf5
|
fixes the typedef for the layer parameter
The layer parameter is used to call getLayer() so the parameter type for
the parent function should match the on of getLayer().
|
2018-12-01 20:40:17 +01:00 |
|
Richard Davey
|
6f8759c186
|
Whenever Camera.roundPixels was enabled it would use a bitwise operation to truncate the float (x |= 0 ) - this has been replaced across all files that used it, with a call to Math.round instead. This gives far better results when zooming cameras both in and out of a Scene, stopping thin gaps appearing between closely packed Game Objects.
|
2018-11-30 10:27:25 +00:00 |
|
Richard Davey
|
1e32537276
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-11-20 12:45:52 +00:00 |
|
Richard Davey
|
625955178e
|
Updated docs
|
2018-11-20 12:45:47 +00:00 |
|
Richard Davey
|
ee2459652c
|
Merge pull request #4173 from WaSa42/master
Fix: Cannot read property 'index' of undefined at GetTileAt and RemoveTileAt
|
2018-11-20 12:41:53 +00:00 |
|
Richard Davey
|
5c45b477b3
|
Fixed lint errors in #4152
|
2018-11-20 12:33:08 +00:00 |
|
Richard Davey
|
45342229cb
|
Merge pull request #4152 from quadrupleslap-forks-things/master
Fix Tile.tileset to return just the containing tileset instead of all…
|
2018-11-20 12:28:53 +00:00 |
|
Richard Davey
|
5985e33caf
|
Merge pull request #4105 from the-realest-stu/master
Fix #4104
|
2018-11-20 11:05:05 +00:00 |
|
Nicolas Rouvière
|
7b9f7f0217
|
Fix: Cannot read property 'index' of undefined at GetTileAt and RemoveTileAt
|
2018-11-19 00:08:36 +01:00 |
|
Ram Kaniyur
|
e5ebfe861f
|
Fix Tile.tileset to return just the containing tileset instead of all of them.
|
2018-11-08 21:27:16 +11:00 |
|
Richard Davey
|
956a0913b8
|
Added new jsdocs
|
2018-10-22 12:12:31 +01:00 |
|
Richard Davey
|
a73249563e
|
Fixed formatting
|
2018-10-19 13:51:32 +01:00 |
|
Richard Davey
|
0eafcc0d57
|
Merge pull request #4119 from nkholski/master
Pick up animation data from Tiled 1.2+
|
2018-10-19 13:49:10 +01:00 |
|
Richard Davey
|
8a58ceeded
|
Merge pull request #4113 from Siyalatas/culling-fix
Simple fix for a reference error when culling tilemaps
|
2018-10-19 13:36:31 +01:00 |
|
Richard Davey
|
4c4421c47f
|
Docjam merge
|
2018-10-19 12:32:43 +01:00 |
|
Niklas Berg
|
206c12d70d
|
Pick up animation data from Tiled 1.2+
|
2018-10-17 15:12:41 +02:00 |
|
foobar
|
e481ea4cfd
|
Fix reference error when culling
|
2018-10-15 20:31:46 +02:00 |
|
Richard Davey
|
4b1c762296
|
Updated @memberOf to @memberof
|
2018-10-10 10:49:13 +01:00 |
|
Stuart Lindstrom
|
526067f7b6
|
Fix #4104
|
2018-10-09 14:34:47 -04:00 |
|
Richard Davey
|
a9063604dc
|
Replace @readOnly with @readonly
|
2018-10-09 13:40:00 +01:00 |
|
Richard Davey
|
1b85512de2
|
Fixed a bug in the canvas rendering of both the Static and Dynamic Tilemap Layers where the camera matrix was being multiplied twice with the layer, causing the scale and placement to be off
|
2018-10-02 12:51:02 +01:00 |
|
Richard Davey
|
e297b3272e
|
Added hundreds of new jsdoc descriptions
|
2018-10-01 11:35:01 +01:00 |
|
Richard Davey
|
b687f051e9
|
Added new jsdocs
|
2018-09-28 15:00:55 +01:00 |
|
Richard Davey
|
c16ea9b93d
|
Completed DynamicTilemapLayer jsdocs
|
2018-09-28 14:46:31 +01:00 |
|
Richard Davey
|
5115847791
|
Finished all the Tilemap component descriptions
|
2018-09-28 14:32:36 +01:00 |
|
Richard Davey
|
43067aa30e
|
Completed Tilemap class docs
|
2018-09-28 14:02:12 +01:00 |
|
Richard Davey
|
95d4651db8
|
Dynamic Layers support multiple tilesets now
|
2018-09-27 13:09:40 +01:00 |
|
Richard Davey
|
0d5b209259
|
Consolidated gidMap creation
|
2018-09-27 13:09:23 +01:00 |
|
Richard Davey
|
e05f7c7ed0
|
Dynamic Tilemap Layers now support multiple tilesets per layer
|
2018-09-27 13:09:08 +01:00 |
|
Richard Davey
|
d92c7bf5b0
|
Added setTilesets method.
|
2018-09-27 12:12:29 +01:00 |
|
Richard Davey
|
d59f772d66
|
Tilemap.getTileset is a new method that will return a Tileset based on its name.
|
2018-09-27 12:12:16 +01:00 |
|
Richard Davey
|
53b57ccbab
|
Clear arrays on destroy and updated docs
|
2018-09-27 11:48:04 +01:00 |
|
Richard Davey
|
07e1f07caf
|
Added support for Static Tilemap Layers to support multiple Tilesets per layer.
|
2018-09-27 11:34:37 +01:00 |
|
Richard Davey
|
c1d6e438cc
|
Removed un-used property.
|
2018-09-27 11:34:13 +01:00 |
|
Richard Davey
|
39c55ef719
|
Made warnings shorter.
|
2018-09-27 11:33:58 +01:00 |
|
Richard Davey
|
bed4abc8ed
|
Updated ParseTilesets function to handle Tiled 1.2 and 1.1 formats
|
2018-09-27 00:41:11 +01:00 |
|
Richard Davey
|
32bd01daba
|
If you used a scaled Dynamic Tilemap Layer and rotated or flipped tiles, the tiles that were rotated or flipped would be positioned incorrectly in WebGL. Fix #3778
|
2018-09-26 16:49:18 +01:00 |
|
Richard Davey
|
25f8d29659
|
If you used a RenderTexture as a tileset then Dynamic Tilemap Layers would render the tiles inversed on the y-axis in WebGL. Fix #4017
|
2018-09-26 16:32:27 +01:00 |
|
Richard Davey
|
b4e59405b4
|
Calling Tilemap.renderDebug ignored the layer scale when drawing to the Graphics object. It will now scale the layer before drawing. Fix #4026
|
2018-09-26 16:18:44 +01:00 |
|
Richard Davey
|
c0e5197f7c
|
Static Tilemap Layers now support tile rotation and flipping. Previously this was a feature only for Dynamic Tilemap Layers, but now both have it. Close #4037
|
2018-09-26 16:07:32 +01:00 |
|
Richard Davey
|
94d21da3ca
|
The Static Tilemap Layer would stop drawing all tiles from that point on, if it encountered a tile which had invalid texture coordinates (such as a tile from another tileset). It now skips invalid tiles properly again. Fix #4002
|
2018-09-26 15:27:19 +01:00 |
|
Richard Davey
|
13a72f961e
|
lint fix
|
2018-09-25 16:23:14 +01:00 |
|
Richard Davey
|
2985a97c56
|
TileSet.getTileData() has been updated so it will return tile data from either Tiled 1.1.x or the new Tiled 1.2.x JSON structure. Fix #3998
|
2018-09-25 16:20:34 +01:00 |
|
Richard Davey
|
df8c0d8673
|
Calling Tilemap.renderDebug ignored the layer world position when drawing to the Graphics object. It will now translate to the layer position before drawing. Fix #4061
|
2018-09-25 15:37:46 +01:00 |
|