Richard Davey
|
d3c70002ea
|
Removed use of _tempMatrix from all renderers
|
2020-11-06 09:44:29 +00:00 |
|
Richard Davey
|
536f08a4bf
|
Avoid deep diving into loads of functions
|
2020-10-15 11:47:11 +01:00 |
|
Richard Davey
|
67b787ab7c
|
Update GetTilesWithinWorldXY.js
|
2020-10-15 11:09:52 +01:00 |
|
Richard Davey
|
db2fdc14d1
|
Update GetTileAt.js
|
2020-10-15 11:09:37 +01:00 |
|
Richard Davey
|
f130f5e9a3
|
Fixed incorrect parameter type
|
2020-10-15 11:09:19 +01:00 |
|
Richard Davey
|
b4fed98aa2
|
Update SetCollisionBetween.js
|
2020-10-15 11:08:18 +01: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
|
e526af7cb9
|
Lint fix
|
2020-10-12 13:38:57 +01:00 |
|
Richard Davey
|
3e2041a3c5
|
Overhauled createFromObjects to make it much more useful. Fix #3817 #4613
|
2020-10-12 13:31:30 +01:00 |
|
Richard Davey
|
80287f6ee4
|
Path fixes
|
2020-10-12 11:51:05 +01:00 |
|
Richard Davey
|
04d80a8b5c
|
Allow use of old method calls for now
|
2020-10-12 11:50:13 +01:00 |
|
Richard Davey
|
24777aa327
|
No need for isoCullDistances , just use existing cullPadding properties
|
2020-10-12 11:42:01 +01:00 |
|
Richard Davey
|
607fec9450
|
Use a cached Rectangle for speed
|
2020-10-12 11:40:52 +01:00 |
|
Richard Davey
|
0ba1f08f80
|
The Static and Dynamic Tilemap Layer objects have been removed and consolidated into the new TilemapLayer class.
|
2020-10-12 11:40:40 +01:00 |
|
Richard Davey
|
fb11821730
|
Fixed lots of missing JSDocs
|
2020-10-12 11:33:33 +01:00 |
|
Richard Davey
|
ae4c45f14a
|
Fixed renderer so it draws multi tileset isometric tiles properly
|
2020-10-11 23:05:08 +01:00 |
|
Richard Davey
|
f00bb446f8
|
Formating fix
|
2020-10-11 23:04:11 +01:00 |
|
Richard Davey
|
9e68f41118
|
Formatting
|
2020-10-11 23:04:00 +01:00 |
|
Richard Davey
|
39f74d2e95
|
Use a cached vector to save constant allocation and fixed y culling limit
|
2020-10-11 23:03:52 +01:00 |
|
Richard Davey
|
2e50061699
|
Opps :)
|
2020-10-10 11:38:16 +01:00 |
|
Richard Davey
|
114201f497
|
Fixed tilemaps with missing function
|
2020-10-08 11:07:05 +01:00 |
|
Richard Davey
|
d9d4d74c89
|
Updated docs
|
2020-10-02 14:03:32 +01:00 |
|
Richard Davey
|
42d6188b7a
|
Now using the GetCullTilesFunction #4922
|
2020-10-02 13:53:20 +01:00 |
|
Richard Davey
|
c0c00b66be
|
Tilemaps.Components.IsometricCullTiles is a new function that culls tiles in a isometric map.
|
2020-10-02 13:48:52 +01:00 |
|
Richard Davey
|
ab753ffe10
|
Tilemaps.Components.StaggeredCullTiles is a new function that culls tiles in a staggered map.
|
2020-10-02 13:48:42 +01:00 |
|
Richard Davey
|
0b8b9fb3ba
|
Tilemaps.Components.HexagonalCullTiles is a new function that culls tiles in a hexagonal map.
|
2020-10-02 13:48:33 +01:00 |
|
Richard Davey
|
c44c43a553
|
Tilemaps.Components.StaggeredCullBounds is a new function that calculates the cull bounds for a staggered map.
|
2020-10-02 13:48:22 +01:00 |
|
Richard Davey
|
e42b407721
|
Tilemaps.Components.HexagonalCullBounds is a new function that calculates the cull bounds for a hexagonal map.
|
2020-10-02 13:48:13 +01:00 |
|
Richard Davey
|
2450a16911
|
Tilemaps.Components.GetCullTilesFunction is a new function that returns the correct culling function to use.
|
2020-10-02 13:48:01 +01:00 |
|
Richard Davey
|
c66df4b94b
|
Deleted unused files
|
2020-10-02 13:47:49 +01:00 |
|
Richard Davey
|
9c92fccd3a
|
Updated to use new components
|
2020-10-02 13:47:36 +01:00 |
|
Richard Davey
|
f58ec09489
|
Tilemaps.Components.CullBounds is a new function that calculates the cull bounds for an orthogonal map.
|
2020-10-02 13:47:27 +01:00 |
|
Richard Davey
|
b11e5fe1fb
|
Tilemaps.Components.RunCull is a new function that runs the culling process from the combined bounds and tilemap.
|
2020-10-02 13:47:10 +01:00 |
|
Richard Davey
|
7980beaeab
|
Fixed references and docs #4922
|
2020-10-02 12:09:58 +01:00 |
|
Richard Davey
|
da651dc650
|
Fixed require filename
|
2020-10-02 12:06:07 +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 |
|
Richard Davey
|
89cec01b39
|
Updated types
|
2020-10-02 12:02:40 +01:00 |
|
Richard Davey
|
04ecc38a61
|
Fixed JSDocs and const path #4922
|
2020-10-02 11:57:37 +01:00 |
|
Richard Davey
|
b09197d8cb
|
Added proper JSDocs and fixed private accessors #4922
|
2020-10-02 11:53:23 +01:00 |
|
Richard Davey
|
d5561ad97a
|
Use cached vec2s to avoid constant vector creation
|
2020-10-02 11:41:11 +01:00 |
|
Richard Davey
|
aafd5c6cee
|
Use cached vec2s to avoid constant vector creation
|
2020-10-02 11:36:44 +01:00 |
|
Richard Davey
|
f03ddf033b
|
Formatting fix #4992
|
2020-10-02 11:27:50 +01:00 |
|
Richard Davey
|
a3f67973cd
|
Corrected documentation and tidied up #4992
|
2020-10-02 11:25:48 +01:00 |
|
Richard Davey
|
ffb49bdb3a
|
Tilemaps.Components.StaggeredTileToWorldXY is a new function that converts staggered tile coordinates to world coordinates.
|
2020-10-02 11:22:48 +01:00 |
|
Richard Davey
|
4281bc1763
|
Tilemaps.Components.IsometricTileToWorldXY is a new function that converts isometric tile coordinates to world coordinates.
|
2020-10-02 11:22:39 +01:00 |
|
Richard Davey
|
3c3c01d4d5
|
Tilemaps.Components.HexagonalTileToWorldXY is a new function that converts hexagonal tile coordinates to world coordinates.
|
2020-10-02 11:22:30 +01:00 |
|
Richard Davey
|
a51e0b8a68
|
Tilemaps.Components.GetWorldToTileXYFunction is a new function that returns the correct conversion function to use.
|
2020-10-02 11:22:18 +01:00 |
|
Richard Davey
|
6049701d91
|
Restored previous function
|
2020-10-02 11:22:02 +01:00 |
|
Richard Davey
|
a89a58bd6c
|
Restore previous function
|
2020-10-02 11:16:32 +01:00 |
|