Commit graph

246 commits

Author SHA1 Message Date
Richard Davey
f89d53ca0d Update DynamicTilemapLayerWebGLRenderer.js 2020-07-16 17:43:14 +01:00
Richard Davey
d34d52550d Renders using setTextureZero 2020-07-15 18:03:57 +01:00
Richard Davey
0003d278fd Updated to use new external MVP functions 2020-07-14 16:49:30 +01:00
Richard Davey
2a2a2eafe8 Reverted PR #5219 because it breaks camera zooming on tilemaps 2020-07-14 08:47:52 +01:00
Richard Davey
cbba26e08c
Merge pull request #5215 from cruzdanilo/layer-webgl-transform
StaticTilemapLayerWebGLRenderer: apply rotation and parent transform
2020-07-13 13:18:02 +01:00
danilo neves cruz
7302ad1041 StaticTilemapLayerWebGLRenderer: apply rotation and parent transform 2020-07-11 02:35:20 +07:00
samme
c963768c1e Docs: SetCollisionByExclusion() and friends
Fixes #5179

Thanks @BoltKey
2020-06-05 10:01:30 -07:00
Richard Davey
96b1d4c783 Update LayerDataConfig.js 2020-04-27 16:16:50 +01:00
Richard Davey
cef9aa2120 New Type Defs 2020-04-27 16:13:49 +01:00
Richard Davey
b035d190e9 Added JSDocs 2020-04-27 16:13:40 +01:00
Richard Davey
bf9cbabe50 Fixed lint errors with #4964 PR 2020-04-27 13:46:37 +01:00
Richard Davey
06f8d1b8a5
Merge pull request #4964 from gogoprog/feature/tilemapImageCollections
Create tilesets from image collections
2020-04-27 13:42:46 +01:00
Richard Davey
63eb41eb94
Merge pull request #5051 from samme/feature/tiled-point-and-createFromObjects
Add Tiled point object and change offset in createFromObjects()
2020-04-27 13:10:34 +01:00
Richard Davey
91bfd7d0c2
Merge pull request #4984 from Nightspeller/issue#4983
Proposed fix for the issue#4983
2020-04-27 12:39:24 +01:00
samme
56ad38f17d Docs: correct Tilemap#renderDebugFull 2020-04-26 12:38:20 -07:00
samme
4a711e42fe Docs: fix description for TiledObject.point 2020-04-03 20:13:13 -07:00
samme
bc8606c65c Add Phaser.Types.Tilemaps.TiledObject.point 2020-03-22 16:09:23 -07:00
samme
5ec9e6b91a Offset by object data dimensions, allowing zero offset 2020-03-22 09:37:42 -07:00
samme
fb881a54b9 Add 'point' property for points
https://doc.mapeditor.org/en/latest/reference/json-map-format/#point-example
2020-03-22 09:29:10 -07:00
samme
df1537fa36 Remove redundant assignments
Already picked
2020-03-22 09:28:24 -07:00
Serg
29c7fcaa7d Proposed fix for the issue with inconsistent type of 'properties' member of Tile Layer data. 2020-02-04 22:47:22 -05:00
Gauthier Billot
78e2027a0c Create tilesets from image collections 2020-01-21 22:15:52 +01:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Alex
77dc14ee2f Changed tile getTint function to use getTintAppendFloatAlphaAndSwap 2019-12-29 21:46:50 -05:00
samme
f1001578c5
Bracket notation for type
Phaser.Tilemaps.LayerData#data
2019-12-23 12:57:58 -08:00
samme
77ad6c66fe
Correct type for Phaser.Tilemaps.LayerData#data
Fixes #4904 ?
2019-12-08 15:23:15 -08:00
Richard Davey
467aac2308 JSDoc fix 2019-11-22 17:46:26 +00:00
Josh Soref
315d43f893 spelling: receive 2019-10-29 02:33:06 -04:00
Josh Soref
013ece9373 spelling: indices 2019-10-29 02:22:43 -04:00
Josh Soref
9fb412bb07 spelling: coordinates 2019-10-29 01:50:33 -04:00
Richard Davey
7b530ee699 Code format fixes 2019-11-18 16:08:36 +00:00
Richard Davey
9863eafc00
Merge pull request #4820 from Olliebrown/tiled-layer-groups
Support for Tiled layer groups
2019-11-18 16:01:04 +00:00
Seth Berrier
13b6d6d5ae Fix for bug related to Issue #4737
- When removing a layer from a tilemap, layerIndex can become invalid
- Added loop to fix any existing tilemapLayer.layerIndex vales
2019-10-31 16:03:48 -05:00
Seth Berrier
61479c5188 Remove debugging output 2019-10-25 11:32:24 -05:00
Seth Berrier
13625a5f8c Updates for Supporting Group Layers
- Updated documentation to mention support for groups and naming layers
- Added more verbose output when an unknown layer name is specified
    > Error output now lists the valid layer names
- Added functions to return array of tile, object, or image layer names
2019-10-23 15:56:35 -05:00
Seth Berrier
a9e897370a Support for Tiled Groups and Infinite Map Fixes
- Added support for Tiled group layers (issue #4099)
- Fixed some layer offset bugs for infinite maps
2019-10-23 12:35:25 -05:00
Richard Davey
6b973dcf58 DynamicTilemapLayer.setCollision would cause an indexOf error when trying to access the layer data. Fix #4800 2019-10-15 11:34:32 +01:00
Richard Davey
312797dc8e JSDoc fixes 2019-10-11 18:29:55 +01:00
Richard Davey
3a3ce8b914
Merge branch 'master' into tile-collision-update 2019-10-02 15:15:18 +01:00
Richard Davey
0aaa67957a Tilemap Canvas Render functions now respect game pixel art settings 2019-10-01 16:10:29 +01:00
Richard Davey
f4002471d7 Updated context lost / restored handlers 2019-07-17 16:38:00 +01:00
Richard Davey
e012115df4 DynamicTilemapLayer.destroy will now no longer run its destroy sequence again if it has already been run once. Fix #4634 2019-07-03 15:53:47 +01:00
samme
268d206e41 Fix scene arg in createFromObjects() 2019-06-29 12:13:15 -07:00
Fabadiculous
255232dd2a Fix bug where graphics methods were not renamed 2019-06-22 16:55:50 +10:00
Richard Davey
ea8bb89554 Exposed all of the Tilemap Parser functions. Fix #4318 2019-06-12 12:35:41 +01:00
Richard Davey
0f592ba91a Moved the Pick function to the object utils 2019-06-12 12:35:03 +01:00
Richard Davey
89fe081f74 Added new Tiled Object and Object Layer defs. Fix #4364 2019-06-06 11:20:40 +01:00
Richard Davey
3da69ade29 Tilemap.createDynamicLayer would fail if you called it without setting the x and y arguments, even though they were flagged as being optional. Fix #4508 2019-06-06 10:43:46 +01:00
Richard Davey
04ec7b26a1 Tilemap.createBlankDynamicLayer would fail if you provided a string for the tileset as the base tile width and height were incorrectly read from the tileset argument. Fix #4495 2019-06-06 10:29:28 +01:00
Benjamin
35776fcd2d JSDoc: Make createDynamicLayer() position optional 2019-05-22 19:18:54 +02:00