Commit graph

18520 commits

Author SHA1 Message Date
Alex West
33a3388892 Requested changes from PR 2023-01-24 09:26:42 +00:00
Alex West
3d636f5fac
Merge branch 'photonstorm:master' into spatial-sound 2023-01-24 09:13:33 +00:00
Richard Davey
50d0aeb391 Update CHANGELOG-v3.60.md 2023-01-23 20:59:04 +00:00
Richard Davey
6f678e0825 If mipmapFilter is not set on the config (now the default) it won't create them at all. 2023-01-23 20:59:02 +00:00
Richard Davey
49efda3d9b Default mipmapFilter is now an empty string. 2023-01-23 20:58:43 +00:00
Richard Davey
114e34cf7c Update CHANGELOG-v3.60.md 2023-01-23 17:21:14 +00:00
Richard Davey
89459642e2 New constants and use of Float32Arrays
* `ColorMatrix._matrix` and `_data` are now Float32Arrays.
* Calling the `ColorMatrix.set`, `reset` and `getData` methods all now use the built-in Float32 Array operations, making them considerably faster.
* `ColorMatrix.BLACK_WHITE` is a new constant used by blackwhite operations.
* `ColorMatrix.NEGATIVE` is a new constant used by negative operations.
* `ColorMatrix.DESATURATE_LUMINANCE` is a new constant used by desaturation operations.
* `ColorMatrix.SEPIA` is a new constant used by sepia operations.
* `ColorMatrix.LSD` is a new constant used by LSD operations.
* `ColorMatrix.BROWN` is a new constant used by brown operations.
* `ColorMatrix.VINTAGE` is a new constant used by vintage pinhole operations.
* `ColorMatrix.KODACHROME` is a new constant used by kodachrome operations.
* `ColorMatrix.TECHNICOLOR` is a new constant used by technicolor operations.
* `ColorMatrix.POLAROID` is a new constant used by polaroid operations.
* `ColorMatrix.SHIFT_BGR` is a new constant used by shift BGR operations.
2023-01-23 17:21:11 +00:00
Richard Davey
61278d0812 Optionally pass ColorMatrix to ciopySprite method 2023-01-23 17:16:43 +00:00
Richard Davey
1a9e631c77 Update CHANGELOG-v3.60.md 2023-01-23 15:26:09 +00:00
Richard Davey
29ac551457
Merge pull request #6358 from samme/feature/warn-for-no-audio-type
Warn if no audio URLs are matched
2023-01-23 15:03:20 +00:00
Richard Davey
40e2181c83
Merge pull request #6360 from samme/fix/body-process-blocked-none
Set blocked.none in processX(), processY()
2023-01-23 15:02:50 +00:00
Richard Davey
e3b4eb6678
Merge pull request #6359 from pavle-goloskokovic/master
Few type fixes
2023-01-23 15:02:20 +00:00
samme
ca2cef5281 Set blocked.none in processX(), processY() 2023-01-22 10:30:42 -08:00
Pavle Goloskokovic
0ab4981f86 docs reference updated method name setEmitterFrame 2023-01-21 11:39:13 +01:00
Pavle Goloskokovic
15ffe6aaff optional config param for Phaser.GameObjects.GameObjectCreator#graphics method 2023-01-20 21:36:00 +01:00
Pavle Goloskokovic
54ad20122c added missing lineSpacing property to Phaser.Types.GameObjects.Text.TextStyle type 2023-01-20 21:27:08 +01:00
Pavle Goloskokovic
6fb0287b58 Phaser.Types.GameObjects.Text.TextStyle fontSize type fix 2023-01-20 21:14:31 +01:00
samme
24197dd09a Warn if no audio URLs are matched 2023-01-20 11:46:04 -08:00
Alex West
98b4364f55 Whitespace fix 2023-01-20 09:58:20 +00:00
Alex West
f72fd94e9f Removed changes from changelog as requested 2023-01-19 18:25:40 +00:00
Alex West
39463a2183 Removed changes from Change log as requested 2023-01-19 18:24:33 +00:00
Alex West
663fda13c3
Merge branch 'photonstorm:master' into spatial-sound 2023-01-19 18:21:03 +00:00
Alex West
d124f19c33 Removed redundant comment 2023-01-19 18:09:50 +00:00
Alex West
8f60ada769 First pass at 2D spatial sound. 2023-01-19 18:09:16 +00:00
Richard Davey
68a734e3b6 Reset worldPosition on fire 2023-01-19 17:08:24 +00:00
Richard Davey
8815205900 No need to multiply the camMatrix for every particle. Once is enough. 2023-01-19 16:59:33 +00:00
Richard Davey
b25337b4e8 setTexture on a 3-slice should change the height now. #6350 2023-01-19 15:15:42 +00:00
Richard Davey
0d1faa320d Update CHANGELOG-v3.60.md 2023-01-19 15:12:51 +00:00
Richard Davey
9101bfe5cb Added setSlices method. Fix #6350 2023-01-19 15:12:51 +00:00
Richard Davey
0f8fc9bda1
Merge pull request #6352 from samme/fix/texture-has
Fix Texture#has()
2023-01-19 14:44:31 +00:00
samme
cc8dcaaded Fix Texture#has() 2023-01-18 17:29:14 -08:00
Richard Davey
333e766485 Use Clamp 2023-01-18 18:30:07 +00:00
Richard Davey
74483c6a57 Update CHANGELOG-v3.60.md 2023-01-18 16:54:53 +00:00
Richard Davey
c906568544 Expose ParticleBounds 2023-01-18 16:54:49 +00:00
Richard Davey
566b74e70e Removed unused code and tidied formatting 2023-01-18 16:54:43 +00:00
Richard Davey
30fc7d5123 Moved method 2023-01-18 16:54:32 +00:00
Richard Davey
96c197d46a Update CHANGELOG-v3.60.md 2023-01-18 16:41:22 +00:00
Richard Davey
1193f8811f The Particle DeathZone.willKill method now takes a Particle instance as its only parameter, instead of x and y coordinates, allowing you to perform more complex checks before deciding if the Particle should be killed, or not. 2023-01-18 16:41:19 +00:00
Richard Davey
e83ea01fc5 Update CHANGELOG-v3.60.md 2023-01-18 16:27:59 +00:00
Richard Davey
2faa1dd824
Merge pull request #6337 from samme/feature/canvastexture-update
Add optional update argument to CanvasTexture methods
2023-01-18 16:27:40 +00:00
Richard Davey
38cc6ab651
Merge pull request #6347 from pavle-goloskokovic/master
TilemapFilterCallback return value type fix
2023-01-18 16:25:16 +00:00
Richard Davey
9a4c3b0361
Merge pull request #6348 from samme/feature/create-animation-failures
Improve the missing frame/texture handling when creating animations
2023-01-18 16:24:31 +00:00
Richard Davey
9549c90b9f Removed 'bounds' and collide flags + fast ops and changed 'setParticleBounds' to 'addParticleBounds' to better identify it 2023-01-17 23:24:04 +00:00
Richard Davey
528feb8fae Fixed links 2023-01-17 23:23:18 +00:00
Richard Davey
2758c6edfc Updated docs 2023-01-17 23:23:05 +00:00
Richard Davey
e7d6328d80 Fixed the update function and added docs 2023-01-17 23:00:26 +00:00
Richard Davey
60bc8f1b6c Add the new worldPosition Vector2 and update it 2023-01-17 23:00:14 +00:00
Richard Davey
bfb3008efe Don't create the temp parentMatrix if all we're doing is making a local matrix 2023-01-17 22:59:55 +00:00
Richard Davey
f7f70ac63b Update ParticleEmitter.js 2023-01-17 20:39:12 +00:00
samme
06671cb810 Improve the missing texture/frame logic 2023-01-17 11:41:22 -08:00