Commit graph

71 commits

Author SHA1 Message Date
jonnytest1
46009935b4
assign array by index for skipped chunks
loading breaks for layers that skip chunks with no data
2021-06-18 02:34:05 +02:00
Richard Davey
0c05d681e6 Update ParseTilesets.js 2021-02-16 11:44:49 +00:00
Richard Davey
e8fe16c417 Fixed function name and formatting #5292 2021-02-16 11:44:43 +00:00
Richard Davey
be2dad8a70
Merge pull request #5292 from browndragon/tiled
Fix up tiled json parsing.
2021-02-16 11:35:24 +00:00
Richard Davey
15a6f50d2c Fixed functions not appearing in the namespace. Fix #5432 2020-12-07 10:11:47 +00:00
Richard Davey
a5cb3779df JSDoc fixes 2020-11-23 15:29:08 +00:00
Brown Dragon
ca0ca97f59 Fix up tiled json parsing.
Phaser currently discards the tiled `type` field (which is very useful for objects-from-tiles, as well as somewhat useful for handling tile variants).
It also discards wang set information, which is somewhat meaningful.

This diff adds both back; let me know if it goes too far and I can restrict it to only including `type`.
2020-10-12 19:54:14 -04:00
Richard Davey
b3a74a6d5d ParseTilesets will now correctly handle non-consequtive tile IDs. It also now correctly sets the maxId property, fixing a bug where tiles wouldn't render if from IDs outside the expected range. Fix #4367 2020-10-12 13:52:31 +01:00
Richard Davey
1839e58581 Tidied up formatting #4922 2020-10-02 12:05:52 +01:00
Richard Davey
8ea29b6cf2 Removed console warnings 2020-10-02 12:02:48 +01:00
Svipal
299f83c13d fixed conflicts 2020-09-19 10:56:05 +02:00
svipal
79fe9abc6e finished updating culling system 2020-09-18 17:16:52 +02:00
Svipal
1994185d6f merged master 2020-09-08 22:17:04 +02:00
Richard Davey
07865a5823 Final set of namespace changes. Fix #5062 2020-09-01 20:28:42 +01:00
Svipal
40a26256c4 oop 2020-08-09 15:55:00 +02:00
Svipal
809d0b7495 merged master 2020-08-09 13:13:09 +02:00
Svipal
241d4193e8 let's try again 2020-08-09 12:33:52 +02:00
Svipal
97bb9b4a8f bad bad idea 2020-08-09 12:33:26 +02:00
Svipal
c77731d127 bad idea 2020-08-09 12:24:56 +02:00
Svipal
b4a1473fea test 2020-08-09 12:13:29 +02:00
Svipal
a72efc8ac8 Update ParseTileLayers.js 2020-08-09 11:50:25 +02:00
Svipal
9bd310810d done 2020-06-06 11:13:11 +02:00
Svipal
9c8cdd4063 trying to fix conflic in ParseTileLayers 2020-06-06 11:11:43 +02: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
svipal
5911b94d35 Revert "clean up"
This reverts commit 854589ddbe.

woops
2020-04-10 20:55:31 +02:00
svipal
854589ddbe clean up 2020-04-10 20:40:52 +02:00
Svipal
8665e08f13 refactored things so that there is no more switching at runtime depending on orientation 2020-04-03 19:36:13 +02: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
Svipal
cec71a85ea added hexagonal support 2020-03-21 10:19:03 +01:00
Svipal
a7d4816564 added staggered support 2020-03-14 10:11:04 +01:00
svipal
283bb46358
Update ParseJSONTiled.js 2020-02-08 12:15:30 +01:00
Svipal
dc330aaf4a linted everything 2020-02-06 11:02:44 +01: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
Svipal
95df0be94a changed orientation localisation to layer, will make easier the fixing of pixelwidth and height and makes more sense overall 2020-01-29 20:27:40 +01:00
Svipal
050325bff0 tried to pin down where the orientation became undefined, no success. 2020-01-29 17:42:39 +01:00
Svipal
95d2ff9996 need to compare across commits to understand regression regarding this.x 2020-01-27 20:12:53 +01:00
Gauthier Billot
78e2027a0c Create tilesets from image collections 2020-01-21 22:15:52 +01:00
svipal
eb90fc2ab4
Merge pull request #2 from photonstorm/master
keeping up with master #2
2020-01-18 14:21:26 +01:00
No
83bbf08902 changed world to tile and tile to world in isometric mode 2020-01-17 14:47:33 +01:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Seth Berrier
61479c5188 Remove debugging output 2019-10-25 11:32:24 -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
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
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
d75431fc2b lint fixes 2019-05-03 17:38:27 +01:00