phaser/src
Richard Davey b364995f2f Added Body.slideFactor vec2
* Arcade Physics Bodies have a new property called `slideFactor`. This is a Vector2 that controls how much velocity is retained by a Body after it has been pushed by another Body. The default value is 1, which means it retains all of its velocity. If set to zero, it will retain none of it. This allows you to create a Body that can be pushed around without imparting any velocity to it.
* `Body.setSlideFactor` is a new method that sets the Body's `slideFactor` property.
2023-10-04 11:57:37 +01:00
..
actions fix(Phaser.Actions.GetLast): fix the incorrect logic about GetLast function 2023-05-29 07:21:36 +08:00
animations Both the Animation Config and the Play Animation Config allow you to set a new boolean property randomFrame. This is false by default, but if set, it will pick a random frame from the animation when it _starts_ playback. This allows for much more variety in groups of sprites created at the same time, using the same animation. This is also reflected in the new Animation.randomFrame and AnimationState.randomFrame properties. 2023-09-07 18:00:18 +01:00
cache Updated copyright year 2023-01-02 17:36:27 +00:00
cameras Docs: BaseCamera#ignore() entries type 2023-03-19 09:04:11 -07:00
core 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
create Added { willReadFrequently } to every canvas context, no matter where it comes from 2023-03-09 17:30:04 +00:00
curves Updated copyright year 2023-01-02 17:36:27 +00:00
data Fixed various jsdocs 2023-02-07 01:24:10 +00:00
device iOS and any browser identifying as AppleWebKit will now set the Device.es2019 flag to true. This causes Phaser to use the native array Stable Sort. This fixes an issue where overlapping particles could flicker on iOS. Fix #6483 2023-09-07 16:22:39 +01:00
display Tidy the docs 2023-04-05 14:38:19 +01:00
dom Updated copyright year 2023-01-02 17:36:27 +00:00
events Updated copyright year 2023-01-02 17:36:27 +00:00
fx FX.Circle.backgroundAlpha is a new property that allows you to set the amount of the alpha of the background color in the Circle FX (thanks @rexrainbow) 2023-07-21 16:05:07 +01:00
gameobjects Calling the Line.setLineWidth method on the Line Shape Game Object would result in a line with double the thickness it should have had in WebGL. In Canvas it was the correct width. Both renderers now match. Fix #6604 2023-09-27 18:53:36 +01:00
geom Remove unused code 2023-08-16 05:42:00 +02:00
input Updated copyright year 2023-01-02 17:36:27 +00:00
loader The LoaderPlugin will now call removeAllListeners() as part of its shutdown method, which will clear any event listeners bound to a Loader instance of the Scene, during the Scene shutdown. Fix #6633 2023-09-27 18:15:12 +01:00
math Math.Wrap` has been reverted to the previous version. Fix #6479 2023-07-21 18:32:45 +01:00
physics Added Body.slideFactor vec2 2023-10-04 11:57:37 +01:00
plugins Updated copyright year 2023-01-02 17:36:27 +00:00
polyfills The Request Video Frame polyfill will now check first to see if the browser supports HTMLVideoElement before trying to inspect its prototype. This should help in non-browser environments. 2023-09-27 17:18:10 +01:00
renderer The PostFXPipeline will now set autoResize to true on all of its RenderTarget instances. This fixes an issue where the PostFXPipeline would not resize the render targets when the game size changed, causing them to become out of sync with the game canvas. Fix #6503 #6527 2023-09-07 14:43:36 +01:00
scale If you gave the width or height in the Game Config object as a string it would multiply the value given by the parent size, often leading to a huge game canvas, or causing WebGL errors as it tried to create a texture larger than the GPU could handle. This has now been strengthened. If you give a string with a % at the end, it works as before, i.e. "100%" or "50%" to set the scale based on the parent. If you don't include the %, or use another unit, such as "800px" it will now be treated as a fixed value, not a percentage. 2023-09-07 15:19:57 +01:00
scene Docs: correct cameras types 2023-04-03 16:03:51 -07:00
sound fix: memory leak in WebAudioSoundManager 2023-04-14 18:16:38 +09:00
structs Added missing parameter to some function calls 2023-08-02 10:40:10 +02:00
textures The DynamicTexture.fill method will now correctly draw the fill rectangle if the width and height are provided in WebGL, where-as before it would assume the y axis started from the bottom-left instead of top-left. Fix #6615 2023-09-27 18:44:39 +01:00
tilemaps Docs: correct type for BuildTilesetIndex(mapData) 2023-09-06 16:26:36 -07:00
time Change default callback scope to the timer event 2023-04-06 10:25:09 -07:00
tweens Merge pull request #6632 from samme/docs/tween-persist 2023-09-27 17:57:36 +01:00
utils Matrix Translation fixes 2023-06-29 21:14:21 +01:00
const.js Ready for 3.61 Beta 3 2023-09-07 18:15:47 +01:00
phaser-arcade-physics.js Added requestVideoFrame polyfill 2023-04-11 17:02:09 +01:00
phaser-core.js Added requestVideoFrame polyfill 2023-04-11 17:02:09 +01:00
phaser-esm.js Added requestVideoFrame polyfill 2023-04-11 17:02:09 +01:00
phaser-ie9.js Updated copyright year 2023-01-02 17:36:27 +00:00
phaser.js Added requestVideoFrame polyfill 2023-04-11 17:02:09 +01:00