You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ It's with great pleasure that I'm announcing the release of Phaser 3.20. You may
28
28
29
29
3.20 also introduces the brand new Video Game Object. This is a new Game Object is capable of handling playback of a previously loaded video from the Phaser Video Cache, or playing a video based on a given URL. Videos can be either local, or streamed. To all intents and purposes, a video is a standard Game Object, just like a Sprite. And as such, you can do all the usual things to it, such as scaling, rotating, cropping, tinting, making interactive, giving a physics body, etc.
30
30
31
-
Transparent videos are also possible via the WebM file format. Providing the video file has was encoded with an alpha channel, and providing the browser supports WebM playback (not all of them do), then it willl render in-game with full transparency. You can also save a video to the Texture Manager, allowing other Game Objects to use it as their texture, including using it as a sampler2D input for a shader. See the Video Game Object class for more details. Other Video related changes are as follows:
31
+
Transparent videos are also possible via the WebM file format. Providing the video file has was encoded with an alpha channel, and providing the browser supports WebM playback (not all of them do), then it will render in-game with full transparency. You can also save a video to the Texture Manager, allowing other Game Objects to use it as their texture, including using it as a sampler2D input for a shader. See the Video Game Object class for more details. Other Video related changes are as follows:
32
32
33
33
There are also updates to Arcade Physics, from the team at GameFroot, helping to fix issues on low, or super-high FPS systems. The Facebook Instant Games Plugin has also been updated, fixing a few issues with showing ads and in the docs. I've also spent a good while addressing `pixelArt` mode in WebGL, so now _all_ native Game Objects should respect the setting, meaning your games can be crispier than ever before!
34
34
@@ -92,7 +92,7 @@ Over 140 previous editions can be found on our [Back Issues](https://phaser.io/c
92
92
93
93
Phaser 3 is available via GitHub, npm and CDNs:
94
94
95
-
* Clone the git repository via [https][clone-http], [ssh][clone-ssh] or with the Github[Windows][clone-ghwin] or [Mac][clone-ghmac] clients.
95
+
* Clone the git repository via [https][clone-http], [ssh][clone-ssh] or with the GitHub[Windows][clone-ghwin] or [Mac][clone-ghmac] clients.
96
96
* Download as [zip](https://github.com/photonstorm/phaser/archive/master.zip)
97
97
* Download the build files: [phaser.js][get-js] and [phaser.min.js][get-minjs]
98
98
@@ -367,7 +367,7 @@ all the usual things to it, such as scaling, rotating, cropping, tinting, making
367
367
physics body, etc.
368
368
369
369
Transparent videos are also possible via the WebM file format. Providing the video file has was encoded with
370
-
an alpha channel, and providing the browser supports WebM playback (not all of them do), then it willl render
370
+
an alpha channel, and providing the browser supports WebM playback (not all of them do), then it will render
371
371
in-game with full transparency.
372
372
373
373
You can also save a video to the Texture Manager, allowing other Game Objects to use it as their texture,
@@ -429,7 +429,7 @@ In combination these updates fix issues #4732 and #4672. My thanks to @BenjaminD
429
429
*`InteractiveObject.alwaysEnabled` is a new boolean that allows an interactive Game Object to always receive input events, even if it's invisible or won't render.
430
430
*`Bob.setTint` is a new method that allows you to set the tint of a Bob object within a Blitter. This is then used by the Blitter WebGL Renderer (thanks @rexrainbow)
431
431
* The `UpdateList` now emits two new events: 'add' and 'remove' when children are added and removed from it. Fix #3487 (thanks @hexus)
432
-
* The `Tilemap.setCollision` method has a new optional boolean parameter `updateLayer`. If set to `true`, it will update all of the collision settings of all tiles on the layer. If `false` it will skip doing this, which can be a huge performance boost in situations where the layer tiles haven't been modified and you're just changing collision flags. This is especially suitable for maps using procedural generated tilemaps, infinite tilemaps, multiplayer tilemaps, particularly large tilemaps (especially those dyanmic in nature) or who otherwise intend to index collisions before the tiles are loaded. This update also added the new parameter to the `SetCollision`, `SetCollisionBetween` and `DynamicTilemapLayer.setCollision` methods (thanks @tarsupin)
432
+
* The `Tilemap.setCollision` method has a new optional boolean parameter `updateLayer`. If set to `true`, it will update all of the collision settings of all tiles on the layer. If `false` it will skip doing this, which can be a huge performance boost in situations where the layer tiles haven't been modified and you're just changing collision flags. This is especially suitable for maps using procedural generated tilemaps, infinite tilemaps, multiplayer tilemaps, particularly large tilemaps (especially those dynamic in nature) or who otherwise intend to index collisions before the tiles are loaded. This update also added the new parameter to the `SetCollision`, `SetCollisionBetween` and `DynamicTilemapLayer.setCollision` methods (thanks @tarsupin)
433
433
*`ArcadePhysics.Body.setBoundsRectangle` is a new method that allows you to set a custom bounds rectangle for any Body to use, rather than the World bounds, which is the default (thanks @francois-n-dream)
434
434
*`ArcadePhysics.Body.customBoundsRectangle` is a new property used for custom bounds collision (thanks @francois-n-dream)
435
435
* The Arcade Physics Group has a new config object property `customBoundsRectangle` which, if set, will set the custom world bounds for all Bodies that Group creates (thanks @francois-n-dream)
* It also installs a Game Object Factory method, allowin you to create Spine Game Objects:
74
+
* It also installs a Game Object Factory method, allowing you to create Spine Game Objects:
75
75
*
76
76
* ```javascript
77
77
* this.add.spine(512, 650, 'stretchyman')
@@ -83,7 +83,7 @@ var SpineGameObject = require('./gameobject/SpineGameObject');
83
83
*
84
84
* Phaser expects the Spine data to be exported from the Spine application in a JSON format, not binary.
85
85
* The associated atlas files are scanned for any texture files present in them, which are then loaded.
86
-
* If you have exported your Spine data with preMultipiedAlpha set, then you should enable this in the
86
+
* If you have exported your Spine data with preMultipliedAlpha set, then you should enable this in the
87
87
* load arguments, or you may see black outlines around skeleton textures.
88
88
*
89
89
* The Spine plugin is local to the Scene in which it is installed. This means a change to something,
@@ -516,7 +516,7 @@ var SpinePlugin = new Class({
516
516
*
517
517
* Phaser expects the Spine data to be exported from the Spine application in a JSON format, not binary. The associated
518
518
* atlas files are scanned for any texture files present in them, which are then loaded. If you have exported
519
-
* your Spine data with preMultipiedAlpha set, then you should enable this in the arguments, or you may see black
519
+
* your Spine data with preMultipliedAlpha set, then you should enable this in the arguments, or you may see black
520
520
* outlines around skeleton textures.
521
521
*
522
522
* The key must be a unique String. It is used to add the file to the global Spine cache upon a successful load.
@@ -564,7 +564,7 @@ var SpinePlugin = new Class({
564
564
* @param {(string|Phaser.Types.Loader.FileTypes.JSONFileConfig|Phaser.Types.Loader.FileTypes.JSONFileConfig[])} key - The key to use for this file, or a file configuration object, or array of them.
565
565
* @param {string} jsonURL - The absolute or relative URL to load the Spine json file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
566
566
* @param {string|string[]} atlasURL - The absolute or relative URL to load the Spine atlas file from. If undefined or `null` it will be set to `<key>.atlas`, i.e. if `key` was "alien" then the URL will be "alien.atlas".
567
-
* @param {boolean} [preMultipiedAlpha=false] - Do the texture files include pre-multiplied alpha or not?
567
+
* @param {boolean} [preMultipliedAlpha=false] - Do the texture files include pre-multiplied alpha or not?
568
568
* @param {Phaser.Types.Loader.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the Spine json file. Used in replacement of the Loaders default XHR Settings.
569
569
* @param {Phaser.Types.Loader.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the Spine atlas file. Used in replacement of the Loaders default XHR Settings.
Copy file name to clipboardExpand all lines: src/geom/intersects/GetRectangleIntersection.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ var RectangleToRectangle = require('./RectangleToRectangle');
12
12
*
13
13
* If optional `output` parameter is omitted, new Rectangle object is created and returned. If there is intersection, it will contain intersection area. If there is no intersection, it wil be empty Rectangle (all values set to zero).
14
14
*
15
-
* If Rectangle object is passed as `output` and there is intersection, then intersection area data will be loaded into it and it will be returned. If there is no intersetion, it will be returned without any change.
15
+
* If Rectangle object is passed as `output` and there is intersection, then intersection area data will be loaded into it and it will be returned. If there is no intersection, it will be returned without any change.
0 commit comments