Commit graph

18548 commits

Author SHA1 Message Date
Richard Davey
f571fc68aa Fix #6296 2022-11-30 13:48:22 +00:00
Richard Davey
d2067066bc Update CHANGELOG-v3.60.md 2022-11-29 23:38:50 +00:00
Richard Davey
1e9bb686d3 When calling PipelineManager.clear and rebind it will now check if the vao extension is available, and if so, it'll bind a null vertex array. This helps clean-up from 3rd party libs that don't do this directly, such as ThreeJS. 2022-11-29 23:38:47 +00:00
Richard Davey
61c5c1ac99 Update CHANGELOG-v3.60.md 2022-11-29 18:11:33 +00:00
Richard Davey
8b6b398b68 When ImageFile loads with a linked Normal Map and the map completes first, but the Image is still in a pending state, it would incorrectly add itself to the cache instead of waiting. It now checks this process more carefully. Fix #5886 2022-11-29 18:11:29 +00:00
Richard Davey
0def5d1793 Update CHANGELOG-v3.60.md 2022-11-29 17:48:00 +00:00
Richard Davey
5ae9cf7f09 Using a dataKey to specify a part of a JSON file when using load.pack would fail as it wouldn't correctly assign the right part of the pack file to the Loader. You can now use this parameter properly. Fix #6001 2022-11-29 17:47:58 +00:00
Richard Davey
2b4332a404 Update JSONFile.js 2022-11-29 17:47:52 +00:00
Richard Davey
993562d803 Update LoaderPlugin.js 2022-11-29 17:47:44 +00:00
Richard Davey
ffa54fe1c1 Fixed loader reference. Fix #6295 2022-11-29 15:45:02 +00:00
Richard Davey
35217dbb4d Update CHANGELOG-v3.60.md 2022-11-29 15:25:50 +00:00
Richard Davey
8b38fd3641 Reduce warning 2022-11-29 15:24:10 +00:00
Richard Davey
8b8b8fa352
Merge pull request #6281 from Ariorh1337/master
fix advancedWordWrap concatenate when wrapping
2022-11-29 15:23:21 +00:00
Richard Davey
4346113fee
Merge pull request #6238 from ubershmekel/master
Introduce `SceneType` for ease and correctness
2022-11-29 14:33:39 +00:00
Richard Davey
fdaa68a85f Update CHANGELOG-v3.60.md 2022-11-29 14:21:54 +00:00
Richard Davey
b585d7c2dd
Merge pull request #6292 from samme/feature/arcade-physics-group-defaults
Add `maxSpeed` and `useDamping` to Arcade Physics group config
2022-11-29 14:19:43 +00:00
Richard Davey
c0a072b37d Update GetTileCorners.js 2022-11-28 18:34:20 +00:00
Richard Davey
7f8a4eebf4 Update GetTileCorners.js 2022-11-28 18:33:36 +00:00
Richard Davey
91c731d609 Update GetTileCornersFunction.js 2022-11-28 18:32:06 +00:00
Richard Davey
9619a0be70 Update CHANGELOG-v3.60.md 2022-11-28 18:31:24 +00:00
Richard Davey
4253db9a08 The Tilemap and TilemapLayer classes have a new method getTileCorners. This method will return an array of Vector2s with each entry corresponding to the corners of the requested tile, in world space. This currently works for Orthographic and Hexagonal tilemaps. 2022-11-28 18:31:20 +00:00
Richard Davey
f2aa880797 Update HexagonalTileToWorldXY.js 2022-11-28 18:16:01 +00:00
Richard Davey
14920a774d Update CHANGELOG-v3.60.md 2022-11-28 17:34:21 +00:00
Richard Davey
3676881d57 Added comments 2022-11-28 17:34:18 +00:00
Richard Davey
f3e90518e5 Removed the HexagonalTileToWorldY function as it cannot work without an X coordinate. Use HexagonalTileToWorldXY instead. 2022-11-28 17:34:11 +00:00
Richard Davey
31ea1dc6da Recoded the point conversion math in the HexagonalTileToWorldXY function as it was incorrect. Now returns world coordinates correctly. 2022-11-28 17:33:48 +00:00
Richard Davey
709fc5050e Update CHANGELOG-v3.60.md 2022-11-28 13:35:18 +00:00
Richard Davey
e760178365 Tile.copy will now use the DeepCopy function to copy the Tile.properties object, as otherwise it just gets copied by reference. 2022-11-28 13:35:15 +00:00
Richard Davey
27bbf9b2f5 Tilemap.copy would error if you copied a block of tiles over itself, even partially, as it tried to copy already replaced tiles as part of the function. It will now copy correctly, regardless of source or destination areas. Fix #6188 2022-11-28 13:35:04 +00:00
Richard Davey
18b25d5bc1 Update GetTilesWithin.js 2022-11-28 13:34:57 +00:00
Richard Davey
d83557e8c4 Update CHANGELOG-v3.60.md 2022-11-24 23:31:52 +00:00
Richard Davey
949852d8d5 Recoded the point conversion math in the HexagonalWorldToTileXY function as it was incorrect. Now detects any dimension hexagon correctly. Fix #5608 2022-11-24 23:31:49 +00:00
Richard Davey
5139d22814 Added debug code commented out 2022-11-24 23:11:11 +00:00
Richard Davey
84ef41f470 Fixed math for any layer scale 2022-11-24 23:11:01 +00:00
Richard Davey
ddd4eeaa53 Now works - time to tidy up 2022-11-24 21:29:58 +00:00
Richard Davey
d570b9b26b Debugging hex coords 2022-11-24 18:54:17 +00:00
Richard Davey
c4b9dbc260 Added staggerAxis and staggerIndex 2022-11-24 18:54:10 +00:00
Richard Davey
b065452cc4 Debugging 2022-11-24 13:44:52 +00:00
Richard Davey
4bf7e1978f WorldToTileXY now does all the calculations and X and Y just call it. 2022-11-24 12:51:18 +00:00
Richard Davey
3acde563e5 Update CHANGELOG-v3.60.md 2022-11-24 12:42:17 +00:00
Richard Davey
36bbc88995 Removed HexagonalWorldToTileY as it cannot work without an X value 2022-11-24 12:41:42 +00:00
Richard Davey
38eb8d200c Update CHANGELOG-v3.60.md 2022-11-24 00:42:17 +00:00
Richard Davey
cf657f4fc7 Calling Tilemap.worldToTileX or worldToTileY on a Isometric or Hexagonal Tilemap will now always return null instead of doing nothing, as you cannot convert to a tile index using just one coordinate for these map types, you should use worldToTileXY instead. 2022-11-24 00:42:13 +00:00
Richard Davey
70cf842b8c Added NULL OP 2022-11-24 00:42:04 +00:00
Richard Davey
c8b40de29c Improved jsdocs 2022-11-24 00:41:55 +00:00
Richard Davey
b19cf6395f Update CHANGELOG-v3.60.md 2022-11-24 00:30:45 +00:00
Richard Davey
6aa193c21b Added new getIsoTileAtWorldXY method. 2022-11-24 00:27:01 +00:00
Richard Davey
25bc5dec90 Fixed world to isometric conversion and added optional base origin property.
Fix #5781
2022-11-24 00:26:40 +00:00
samme
995edbbe85 Add maxSpeed and useDamping to physics group config 2022-11-23 09:06:44 -08:00
Richard Davey
18c1f03a2f Update CHANGELOG-v3.60.md 2022-11-23 16:14:17 +00:00