Commit graph

16778 commits

Author SHA1 Message Date
Richard Davey
615321582f Expose the parsers 2021-10-06 18:44:19 +01:00
Richard Davey
97be6a965d Textures.Parsers.PVRParser is a new parser for the PVR compression container format. 2021-10-06 18:44:13 +01:00
Richard Davey
94906435c2 Textures.Parsers.KTXParser is a new parser for the KTX compression container format. 2021-10-06 18:44:03 +01:00
Richard Davey
e4bbc4dec7 TextureManager#addCompressedTexture is a new method that will add a compressed texture, and optionally atlas data into the Texture Manager and return a Texture object than any Sprite can use. 2021-10-06 18:43:20 +01:00
Richard Davey
3a6219914e Now parses compressed textures and sets the algorithm property 2021-10-06 18:42:26 +01:00
Richard Davey
8752890c2c Create MipmapType.js 2021-10-06 17:47:21 +01:00
Richard Davey
f2d21f26fd Create CompressedTextureData.js 2021-10-06 17:47:16 +01:00
Leonardo Farroco
fc4db55b26 adds isometric ratio 2021-10-05 23:19:09 -03:00
Richard Davey
5320f3874b Update CHANGELOG.md 2021-10-05 21:52:57 +01:00
Richard Davey
7934613e8f The Tilemaps.Tile.getBounds method would take a camera parameter but then not pass it to the methods called internally, thus ignoring it. It now factors the camera into the returned Rectangle. 2021-10-05 21:52:54 +01:00
Richard Davey
234ba03b35 Update WebGLRenderer.js 2021-10-05 18:36:50 +01:00
Richard Davey
686e32b8d0 Now parses KTX and PVR textures 2021-10-05 18:33:50 +01:00
Richard Davey
a2428e1424 Create PVRParser.js 2021-10-05 18:30:24 +01:00
Richard Davey
6f9471f40d Create KTXParser.js 2021-10-05 18:30:21 +01:00
Richard Davey
f376958ca1 Added getCompressedTextureName method 2021-10-05 18:30:17 +01:00
Richard Davey
c0c17a1dd2 Update index.js 2021-10-05 18:00:22 +01:00
Richard Davey
9702594245 Create CompressedTextureFile.js 2021-10-05 17:58:45 +01:00
Richard Davey
7bdb9d672f Added supportsCompressedTexture method 2021-10-05 17:04:44 +01:00
Richard Davey
5a941ed509 Expanded to support all formats 2021-10-05 16:48:51 +01:00
Richard Davey
573dd3a14d Added getCompressedTextures method 2021-10-05 16:48:42 +01:00
Richard Davey
2e06243675 Upgrade to Webpack 5.56.1 2021-10-05 14:16:44 +01:00
Leonardo Farroco
64f7b992be linting 2021-10-03 16:35:02 -03:00
Leonardo Farroco
687942e77e Change positioning for isometric object layer from Tiled 2021-10-03 16:30:05 -03:00
Leonardo Farroco
e6b249acf4 Revert "Change positioning for isometric object layer from Tiled"
This reverts commit 33f242a2e0.
2021-10-03 16:29:40 -03:00
Leonardo Farroco
80d33aa886 Revert "Revert "Update copy-to-examples.js""
This reverts commit 0bec013047.
2021-10-03 16:29:06 -03:00
Leonardo Farroco
0bec013047 Revert "Update copy-to-examples.js"
This reverts commit d844f48e87.
2021-10-03 16:28:48 -03:00
Leonardo Farroco
33f242a2e0 Change positioning for isometric object layer from Tiled 2021-10-03 16:24:13 -03:00
Richard Davey
d844f48e87 Update copy-to-examples.js 2021-09-28 15:59:46 +01:00
Richard Davey
9bebfb3613 Update CHANGELOG.md 2021-09-28 15:56:58 +01:00
Richard Davey
b968e46ee2 The Multi Pipeline now uses highp float precision by default, instead of mediump. This fixes issues with strange blue 'spots' appearing under WebGL on some Android devices. Fix #5751 #5659 #5655 2021-09-28 15:56:54 +01:00
Richard Davey
725a869185 Update CHANGELOG.md 2021-09-28 15:43:05 +01:00
Richard Davey
f505e9d189 Update CHANGELOG.md 2021-09-28 15:39:50 +01:00
Richard Davey
6cd7d6ce79 The Camera will now emit PRE_RENDER and POST_RENDER events under the Canvas Renderer. Fix #5729 2021-09-28 15:39:47 +01:00
Richard Davey
6f8eab07d9 Update CHANGELOG.md 2021-09-28 15:34:49 +01:00
Richard Davey
47bbde0e4b With roundPixels set to true in the game or camera config, Sprites will no longer render at sub-pixel positions under CANVAS. Fix #5774 2021-09-28 15:34:46 +01:00
Richard Davey
5f791565b8 Update CHANGELOG.md 2021-09-28 15:21:16 +01:00
Richard Davey
a4d8c9be47 Fix #5759 2021-09-28 15:21:13 +01:00
Richard Davey
5c9a8fcdd0 Update CHANGELOG.md 2021-09-28 15:08:35 +01:00
Richard Davey
83e2406cb4 The CameraManager.destroy function will now remove the Scale Manager RESIZE event listener created as part of boot, where-as before it didn't clean it up, leading to gc issues. Fix #5791 2021-09-28 15:08:31 +01:00
Richard Davey
11d8428ac9 Update CHANGELOG.md 2021-09-24 14:42:12 +01:00
Richard Davey
c84187b856
Merge pull request #5842 from samme/feature/scene-stop-abort
Ignore scene stop if already shutdown
2021-09-24 14:40:48 +01:00
Richard Davey
b89a812cd8 Update CHANGELOG.md 2021-09-24 14:40:20 +01:00
Richard Davey
cca537b66b
Merge pull request #5841 from samme/feature/warn-particle-missing-frame
Warn, throw for particle texture frame mistakes
2021-09-24 14:38:20 +01:00
samme
023336f826 Throw an error for missing particle texture frame 2021-09-23 11:15:58 -07:00
samme
da86ea7029 Warn for missing texture frames 2021-09-23 11:15:29 -07:00
Richard Davey
3d7bd9ed44 Update CHANGELOG.md 2021-09-23 16:03:49 +01:00
Richard Davey
550dd2bd85
Merge pull request #5514 from etherealmachine/patch-1
Fix typing of MapData objects
2021-09-23 16:03:24 +01:00
Richard Davey
bf2ba31f5f Update CHANGELOG.md 2021-09-23 16:02:54 +01:00
Richard Davey
5dfab5f5d9 eslint and jsdoc fixes for #5697 2021-09-23 16:02:52 +01:00
Richard Davey
209943ac0d
Merge pull request #5698 from browndragon/tilemap
Addresses https://github.com/photonstorm/phaser/issues/5697
2021-09-23 15:47:58 +01:00