Commit graph

17307 commits

Author SHA1 Message Date
Rex
00f998bf0d Check event.callback 2021-10-11 16:04:38 +08:00
Rex
6814d5c6b5 Twist code 2021-10-11 16:03:15 +08:00
Rex
0a1f47c65e Invoke callback many times in very short delay case 2021-10-11 15:44:00 +08:00
samme
e7130fb546 eslint-disable no-console 2021-10-10 12:56:11 -07:00
GregDevProjects
0c04102731 rename function, move it to Math class 2021-10-10 10:49:54 -03:00
samme
7b66f486d4 Remove console warnings for JSON/XML parse fails
Now done in onProcessError() instead
2021-10-09 10:31:54 -07:00
samme
c2d6d3b398 Print console errors for file process failures 2021-10-09 10:28:56 -07:00
Richard Davey
09bd94dfde Update CHANGELOG.md 2021-10-07 18:42:31 +01:00
Richard Davey
d4bc473e9b Deps update 2021-10-07 14:47:08 +01:00
kainage
369bf06b8e Fix WebGL Tilemap Layer Rendering
* A typo was blowing up rendering the tilemaps all together
* FIx the X coord not being calculated correctly in the `batchTexture` call
2021-10-06 22:01:12 -07:00
Greg
1d009f8a68 Add static Lerp method on Vector2 2021-10-06 21:56:02 -03:00
Richard Davey
e560e81b2c Beta 1 dist files 2021-10-06 21:40:49 +01:00
Richard Davey
68504d0568 Update phaser.d.ts 2021-10-06 21:39:49 +01:00
Richard Davey
8aa6385cec Fixed JSDocs 2021-10-06 21:39:44 +01:00
Richard Davey
e41204d63e Deps update 2021-10-06 21:27:32 +01:00
Richard Davey
663d6631d0 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-10-06 21:14:33 +01:00
Richard Davey
9e753a4cfb Beta.1 number 2021-10-06 21:14:29 +01:00
Richard Davey
1fd6b12305 Update CHANGELOG.md 2021-10-06 21:14:21 +01:00
Richard Davey
31836eaf3c Update CompressedTextureFile.js 2021-10-06 21:14:18 +01:00
Richard Davey
6f4ceba23f
Merge pull request #5855 from lfarroco/master
Fix rendering of Tiled object layers on isometric maps
2021-10-06 21:11:34 +01:00
Richard Davey
dca9c9cff5 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-10-06 20:28:23 +01:00
Richard Davey
a2a44294a7 Update package-lock.json 2021-10-06 20:28:21 +01:00
Richard Davey
0e60096493 Update CHANGELOG.md 2021-10-06 18:48:07 +01:00
Richard Davey
bf02aaa7ee Update WebGLTextureCompression.js 2021-10-06 18:48:04 +01:00
Richard Davey
56eccd67ff Finished and now works with atlas files too 2021-10-06 18:47:58 +01:00
Richard Davey
5ed49aea79 Create CompressedTextureFileConfig.js 2021-10-06 18:47:43 +01:00
Richard Davey
01beb898b3 The WebGLRenderer.createTextureFromSource method now accepts the CompressedTextureData data objects and creates WebGL textures from them. 2021-10-06 18:47:35 +01:00
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