Commit graph

13536 commits

Author SHA1 Message Date
Richard Davey
ce6a0c1d76 ScaleManager.startFullscreen now checks to see if the call returns a Promise, rather than checking if the browser supports them, before waiting for promise resolution. This fixes a runtime console warning in Microsoft Edge. Fix #4795 2019-10-11 13:53:21 +01:00
Richard Davey
3e12b6c7ff Update CHANGELOG.md 2019-10-11 13:42:33 +01:00
Richard Davey
c1044379f3 TouchManager.disableContextMenu is a new method that will try to disable the context menu on touch devices, if the Game Config disableContextMenu is set. Previously, it only tried to do it for the Mouse Manager, but now does it for touch as well. Fix #4778 2019-10-11 13:42:33 +01:00
Richard Davey
4d4ab051fb
Merge pull request #4785 from Frozzy6/master
Set 'part.angle' in 'Body.update' into matter-js
2019-10-11 13:36:32 +01:00
Richard Davey
39118a2778
Merge pull request #4700 from cristlee/master
add an optional textureData when initialize shader
2019-10-11 13:34:22 +01:00
Richard Davey
65c6cec148
Merge pull request #4781 from rexrainbow/export-modules
Expose BaseCamera module
2019-10-11 13:32:35 +01:00
Richard Davey
825f2da4ad Update CHANGELOG.md 2019-10-11 13:32:00 +01:00
Richard Davey
ab924492b5 Added optional data object to stop method 2019-10-11 13:31:56 +01:00
Richard Davey
eca54ab2a3 Updated docs 2019-10-11 13:31:44 +01:00
Richard Davey
daa2025ef4 Update CHANGELOG.md 2019-10-11 13:27:19 +01:00
Richard Davey
2ac193b32b
Merge pull request #4783 from Olliebrown/scene-stop-data-pass
Feature/Fix for issue #4510
2019-10-11 13:26:19 +01:00
Richard Davey
585a8a93ee
Merge pull request #4787 from firefalcom/fix/normalMapRotation
Fix incorrect lighting when batching several sprites
2019-10-11 13:21:39 +01:00
Richard Davey
efb7fd307c
Merge pull request #4789 from arnekeller/patch-1
Updated scaleManager.js Docs
2019-10-11 13:20:24 +01:00
Richard Davey
9656c9858c Emit event after playback 2019-10-11 13:19:55 +01:00
Richard Davey
29f5acab15 Added all of the Video Events and completed the jsdocs 2019-10-11 12:26:24 +01:00
Richard Davey
0958df8592 Finished method jsdocs 2019-10-10 23:51:03 +01:00
Richard Davey
620ce8556f Update GLOBAL_MUTE_EVENT.js 2019-10-10 23:50:55 +01:00
Richard Davey
9b8bc99538 Lots of jsdocs added 2019-10-10 17:42:57 +01:00
Richard Davey
e3b4ec1b6f Don't access currentTime if no video loaded 2019-10-10 14:26:19 +01:00
Richard Davey
29b9801c5d Load as blob works and finished documentation. 2019-10-10 14:26:03 +01:00
Richard Davey
ad8d8b014d Update CHANGELOG.md 2019-10-10 12:27:18 +01:00
Richard Davey
dcdc219442 Added flipY support into saveTexture for use in shaders 2019-10-10 12:27:14 +01:00
Richard Davey
61f5fadddf Split up canvas and video texture creation and updating. 2019-10-10 12:26:39 +01:00
Richard Davey
9659ec2f47 Added flipY property and setFlipY method. 2019-10-10 12:26:25 +01:00
Richard Davey
2fb190f023 changeSource works and loadURL works too 2019-10-09 17:42:51 +01:00
Richard Davey
bd7592a408 No URL in constructor 2019-10-09 17:42:37 +01:00
Richard Davey
bede5d29f0 Video source change now working 2019-10-09 15:31:37 +01:00
Richard Davey
e69c46d30e Added snapshot methods. 2019-10-09 10:50:01 +01:00
Richard Davey
1a437bee06 Update CHANGELOG.md 2019-10-09 10:49:50 +01:00
Richard Davey
69346bb1d3 TextureManager.get can now accept either a string-based key, or a Texture instance, as its parameter. 2019-10-09 10:49:47 +01:00
Richard Davey
ed69ef6626 The GameObject.setTexture method can now accept either a string, in which case it looks for the texture in the Texture Manager, or a Texture instance, in which case that instance is set as the Game Object's texture. 2019-10-09 10:49:37 +01:00
Richard Davey
06047b6d68 Only autoplay if muted, plus some debugging handlers 2019-10-09 10:17:29 +01:00
Richard Davey
226a0f87ea Video seeking only updates texture when the seek is complete and added marker support 2019-10-09 10:17:15 +01:00
Richard Davey
35dfd2fb30 Fixed noAudio 2019-10-09 00:40:09 +01:00
Richard Davey
5b98d5737e Non-Promise support + seeking texture update 2019-10-08 17:44:01 +01:00
Richard Davey
5b34726e64 Refactored how pause / resume / play works and texture updating, much cleaner and more resilient 2019-10-08 17:15:26 +01:00
Richard Davey
7fb8718c80 Added new noAudio parameter, because it's a load setting, not an instance one 2019-10-08 17:15:06 +01:00
Richard Davey
5ac4afb1f8 Getting autoplay working 2019-10-07 17:08:45 +01:00
Arne Keller
c77bc8d66c
Updated scaleManager.js Docs
Use SCALE_MODE `NONE` instead of `NO_SCALE` in the docs
2019-10-07 12:23:24 +02:00
Gauthier Billot
7ffeb4785e Added currentNormalMapRotation and updated setNormalMapRotation 2019-10-06 20:31:29 +02:00
Anatoly Rybalchenko
03810ecccf Set 'part.angle' in 'Body.update' into matter-js 2019-10-05 02:02:30 +03:00
Richard Davey
07a2a81263 grab and saveToTexture methods now work 2019-10-04 13:40:42 +01:00
Richard Davey
633af46f71 Removed snapshot and handled locked and unlocked playback 2019-10-04 13:14:32 +01:00
Richard Davey
59cdc1fef0 Update WebAudioSoundManager.js 2019-10-04 13:14:11 +01:00
Richard Davey
3d31e27926 Don't render if there's no texture 2019-10-04 13:14:06 +01:00
Richard Davey
d72e86cc2a Update CHANGELOG.md 2019-10-04 11:13:15 +01:00
Richard Davey
e8e95d6a6c Updated docs 2019-10-04 11:13:11 +01:00
Richard Davey
5de4641e49 Added jsdocs 2019-10-04 11:13:05 +01:00
Richard Davey
6b67862cb7 Finally resolved webgl texture issues when loaded too early 2019-10-04 00:58:43 +01:00
Seth Berrier
6735c8e0a6 Feature/Fix for issue #4510
- Passes through data parameter to Stop()
2019-10-03 12:08:43 -05:00