Richard Davey
|
9bf53dd7c9
|
Added WebGLPipeline[] as a valid type for the pipeline property
|
2024-01-31 21:18:11 +00:00 |
|
Richard Davey
|
cc931f869c
|
Added disablePreFX and disablePostFX flags
|
2023-11-08 12:34:46 +00:00 |
|
Richard Davey
|
71e9e517a8
|
The Game Config roundPixels property is now true by default. This means that all Game Objects will be positioned and rendered with pixel-perfect precision, which is by far the most common use-case for Phaser games. This will prevent sub-pixelation when rendering at non-integer offsets and smoother scrolling, especially at high Camera zoom scales. If you wish to disable this, you can do so via the Game Config, or by setting the roundPixels property in the Game Config to false .
|
2023-11-07 18:41:00 +00:00 |
|
Richard Davey
|
8e1809688c
|
The WebGLRenderer will now validate that the mipmapFilter property in the Game Config is a valid mipmap before assigning it.
|
2023-08-01 13:44:58 +01:00 |
|
Richard Davey
|
bba300b866
|
Update Config.js
|
2023-07-21 16:18:15 +01:00 |
|
William Pederzoli
|
f89ea401d5
|
add proper key value to scale width and height
|
2023-05-11 20:36:27 +02:00 |
|
Richard Davey
|
43a20e571e
|
Added glowFXQuality and glowFXDistance config options
|
2023-02-27 13:48:31 +00:00 |
|
Richard Davey
|
49efda3d9b
|
Default mipmapFilter is now an empty string.
|
2023-01-23 20:58:43 +00:00 |
|
Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Richard Davey
|
fea000cf94
|
Added defaultPipeline and autoMobilePipeline configs
|
2022-10-04 18:04:01 +01:00 |
|
Richard Davey
|
083100163b
|
Updates stableSort and added autoMobilePipeline
|
2022-10-04 17:08:34 +01:00 |
|
Richard Davey
|
71703ff19c
|
GameConfig.stableSort is a new optional property that will control if the internal depth sorting routine uses our own StableSort function, or the built-in browser Array.sort one. Only modern browsers have a _stable_ Array.sort implementation, which Phaser requires. Older ones need to use our function instead. Set to 1 to use the legacy version, 0 to use the ES2019 version or -1 to have Phaser try and detect which is best for the browser
Ref #6217
|
2022-09-21 17:52:57 +01:00 |
|
Richard Davey
|
7c9d6a180b
|
Testing native stable sort
|
2022-09-21 16:34:08 +01:00 |
|
Richard Davey
|
b1f03649bb
|
LoaderPlugin.localSchemes is a new array of scheme strings that the Loader considers as being local files. This is populated by the new Phaser.Core.Config#loaderLocalScheme game / scene config property. It defaults to [ 'file://', 'capacitor://' ] but additional schemes can be defined or pushed onto this array. Based on #6010
|
2022-05-09 18:34:56 +01:00 |
|
Richard Davey
|
21bdac8a29
|
Merge pull request #6010 from Azim-Palmer/bugfix/cordova-webaudio-fix
Fix WebAudio for Crodova based apps
|
2022-05-09 16:56:37 +01:00 |
|
Richard Davey
|
201bfabf00
|
Setting scale.mode in the Game Config would be ignored. It now accepts either this, or scaleMode directly. Fix #5970
|
2022-05-06 18:21:28 +01:00 |
|
Krzysztof Głogocki
|
726c874c10
|
Merge remote-tracking branch 'origin/master' into bugfix/cordova-webaudio-fix
|
2022-04-07 14:08:05 +02:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
Krzysztof Głogocki
|
897d2444f5
|
Fixing WebAudio for Cordova by introducing localScheme configuration
|
2022-02-15 12:07:48 +01:00 |
|
Richard Davey
|
063e8c78ef
|
Including a render object within the Game Config will no longer erase any top-level config render settings. The render object will now take priority over the game config, but both will be used. Close #5935
|
2021-12-21 17:16:22 +00:00 |
|
Jm
|
28f58f4e5e
|
Merge branch 'photonstorm:master' into loader-type
|
2021-06-23 13:09:15 +08:00 |
|
Richard Davey
|
7d70bfbd57
|
Removed Config.domBehindCanvas property as it's never used internally. Fix #5749
|
2021-06-18 18:03:07 +01:00 |
|
Jm
|
c1e73c3c2f
|
feat: add image load type
|
2021-06-10 13:24:29 +00:00 |
|
Richard Davey
|
72959cf953
|
Core.Config.domPointerEvents is a new config property set via dom: { pointerEvents } within the Game Config that allows you to set the pointerEvents css attribute on the DOM Element container.
|
2021-03-30 10:23:45 +01:00 |
|
Richard Davey
|
c5cbb413d2
|
You can now set the boolean preserveDrawingBuffer in the Game Config (either directly, or in the Render Config). This is passed to the WebGL context during creation and controls if the buffers are automatically cleared each frame or not. The default is to clear them. Set to true to retain them.
|
2021-02-04 15:58:41 +00:00 |
|
Richard Davey
|
a10919391a
|
type fix
|
2021-02-01 15:17:59 +00:00 |
|
Richard Davey
|
6e7a6bcec2
|
JSDoc Fix
|
2020-11-23 11:01:08 +00:00 |
|
Richard Davey
|
417f7684c3
|
More integer to number changes
|
2020-11-23 10:32:00 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
Richard Davey
|
d852108154
|
JSDoc fixes
|
2020-11-23 10:19:39 +00:00 |
|
Richard Davey
|
40123f1a08
|
Updated docs
|
2020-11-10 12:01:25 +00:00 |
|
Richard Davey
|
59a215d643
|
* Types.Core.PipelineConfig is a new configuration object that you can set in the Game Config under the pipeline property. It allows you to define custom WebGL pipelines as part of the Game Config, so they're automatically installed and ready for use by all Scenes in your game. You can either set the pipeline object, or set it under the render sub-config.
|
2020-10-27 13:44:58 +00:00 |
|
Richard Davey
|
aada315bbc
|
When setting both transparent: true and backgroundColor in the Game Config, it would ignore the transparency and use the color anyway. If transparent, the game is now fully transparent. Fix #5362
|
2020-10-20 14:01:31 +01:00 |
|
Richard Davey
|
cdc34ef3a8
|
inputMousePreventDefaultWheel is a new config option that allows you to control preventDefault calls specifically on mouse wheel events. Set it via input.mouse.preventDefaultWheel in the Game Config. It defaults to true , the same as the previous capture property did.
|
2020-10-07 10:14:28 +01:00 |
|
Richard Davey
|
bba88b32d8
|
Fixed property name
|
2020-09-23 17:15:32 +01:00 |
|
Richard Davey
|
63bac3a13d
|
The Loader.maxParallelDownloads value is now set to 6 if running on Android, or 32 on any other OS. This avoids net::ERR_FAILED issues specifically on Android. You can still override this in the Game Config if you wish. Fix #4957
|
2020-09-23 13:04:18 +01:00 |
|
Richard Davey
|
fe4b706cb0
|
Setting the pixelArt config option will now set antialiasGL to false , as well as antialias . Fix #5309
|
2020-09-22 17:07:46 +01:00 |
|
Richard Davey
|
4795c56d79
|
Config.images.white is a new Game Config property that specifies the 4x4 white PNG texture used by Graphics rendering. You can override this via the config, but only do so if needed.
|
2020-09-14 14:57:08 +01:00 |
|
Richard Davey
|
c46c3e4c82
|
The Core.Config.resolution property has been removed.
|
2020-09-12 11:53:23 +01:00 |
|
Richard Davey
|
d844402d4d
|
Merge pull request #5298 from samme/feature/audio-config-default
Add default value for Phaser.Core.Config#audio
|
2020-09-11 16:25:50 +01:00 |
|
Richard Davey
|
0aea690497
|
Removed inputMouseCapture and added configs for inputMousePrventDefaultDown , Up and Move instead.
|
2020-09-11 10:59:20 +01:00 |
|
samme
|
ae5182be7d
|
Default Phaser.Core.Config#audio; and refactor
|
2020-09-10 09:22:44 -07:00 |
|
Richard Davey
|
477b847f13
|
Config.render.maxTextures is a new game config setting that allows you to control how many texture units will be used in WebGL.
|
2020-07-15 16:51:40 +01:00 |
|
Richard Davey
|
0d263be52a
|
Config.loaderWithCredentials is the new global setting for XHRSettings.withCredentials .
|
2020-01-22 16:30:11 +00:00 |
|
Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Richard Davey
|
ffabf069e0
|
Added mipmapFilter to game config
|
2019-11-19 13:00:37 +00:00 |
|
Richard Davey
|
e3039ffb64
|
Added antialiasGL option
|
2019-08-29 11:46:58 +01:00 |
|
Richard Davey
|
12bcda98a6
|
Added support for a desynchronized context and alpha support in 2D
|
2019-06-04 19:13:49 +01:00 |
|
Richard Davey
|
22d6ec1e36
|
Removed inputQueue config option
|
2019-05-23 17:17:54 +01:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|