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
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -274,6 +274,20 @@ Version 2.4 - "Katar" - in dev
274
274
* Rectangle.ceil runs Math.ceil() on both the x and y values of the Rectangle.
275
275
* Rectangle.ceilAll runs Math.ceil() on the x, y, width and height values of the Rectangle.
276
276
* The Net and Debug classes have been stubbed out, so they can be properly excluded during a custom build (thanks @soldoutactivist#1772)
277
+
* Device.oggVideo indicates if the browser can play back ogg video files.
278
+
* Device.h264Video indicates if the browser can play back H264 (mp4) video files.
279
+
* Device.mp4Video indicates if the browser can play back H264 (mp4) video files.
280
+
* Device.webmVideo indicates if the browser can play back webm video files with the vp8 codec.
281
+
* Device.vp9Video indicates if the browser can play back webm video files with the vp9 codec.
282
+
* Device.hlsVideo indicates if the browser can play back mpeg video files.
283
+
* PIXI.DisplayObject.worldPosition contains the position of the DisplayObject (and therefore any object that inherits from it, such as Phaser.Sprite) taking into account all transforms in the display list. It is updated at the end of `DisplayObject.updateTransform`. DisplayObject.position reflects only the position applied to the object directly, whereas worldPosition includes the positions that may have been applied to its ancestors.
284
+
* PIXI.DisplayObject.worldScale contains the scale of the DisplayObject (and therefore any object that inherits from it, such as Phaser.Sprite) taking into account all transforms in the display list. It is updated at the end of `DisplayObject.updateTransform`. DisplayObject.scale reflects only the scale applied to the object directly, whereas worldScale includes any scales that may have been applied to its ancestors.
285
+
* PIXI.DisplayObject.worldRotation contains the rotation of the DisplayObject (and therefore any object that inherits from it, such as Phaser.Sprite) taking into account all transforms in the display list. It is updated at the end of `DisplayObject.updateTransform`. DisplayObject.rotation reflects only the rotation applied to the object directly, whereas worldRotation includes any rotations that may have been applied to its ancestors.
286
+
* Loader.video allows you to load a video file into Phaser. It works in the same way as Loader.audio, allowing you to pass an array of video files - and it will load the first one the device is capable of playing back. You can optionally load the video via xhr where the video data is converted to a Blob upon successful load.
287
+
* Cache.addVideo allows you to add a loaded video into the Phaser Cache. This is called automatically by the Phaser Loader, but may be invoked directly as well.
288
+
* Cache.checkVideoKey allows you to check if a video is stored in the cache based on the given key.
289
+
* Cache.getVideo allows you to extract a video from the Cache based on its key. The video element itself (or the Blob is loaded with asBlob true) will be found in the `data` property of the returned object.
290
+
* Cache.removeVideo will remove a video from the Cache based on the given key.
0 commit comments