Commit graph

13624 commits

Author SHA1 Message Date
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
Richard Davey
800381b7fc Better handling of texture creation 2019-10-03 17:51:11 +01:00
Richard Davey
7ef1b06d4c Supports blob and url loading 2019-10-03 17:50:54 +01:00
Richard Davey
9989f271d4 Pass in the key and url 2019-10-03 17:50:42 +01:00
Richard Davey
c860d1b46c Expose the VideoFile file type 2019-10-03 17:50:30 +01:00
Richard Davey
94e2ac4f79 Passes off creation to new videoToTexture method 2019-10-03 17:50:18 +01:00
Richard Davey
49012d6237 Added createTexture2D.forceSize parameter, videoToTexture method and strengthened empty texture creation 2019-10-03 17:49:58 +01:00
Richard Davey
3dd82c4e02 Working through the Video loader 2019-10-03 14:14:07 +01:00
Richard Davey
edf6375cea Device.Video property name changes to normalize with Audio 2019-10-03 14:13:56 +01:00
Richard Davey
3c7b05a52a Add Video cache 2019-10-03 14:13:32 +01:00
Richard Davey
3a53618bc7 Update CHANGELOG.md 2019-10-03 02:29:27 +01:00
Richard Davey
237d13ec27 Create VideoFile.js 2019-10-03 02:29:24 +01:00
Richard Davey
9429f66adb Added first pass at Video Game Object 2019-10-03 02:29:05 +01:00