Commit graph

1984 commits

Author SHA1 Message Date
Richard Davey
c37058ef4b When calling TileSprite.setTexture or setFrame, if the new frame size didn't match the old one, the new fill pattern would become distorted and the potWidth and potHeight values would be incorrect. 2019-11-19 11:49:54 +00:00
Richard Davey
b95a6a45bd Fixed some JSDocs resulting from #4850 2019-11-19 11:23:19 +00:00
Richard Davey
4606f0b443
Merge pull request #4850 from rexrainbow/group-improvement
Add some action methods
2019-11-19 11:04:17 +00:00
Richard Davey
171ca39544
Merge pull request #4847 from rexrainbow/Action-of-scrollFactor
Add SetScrollFactor into Action and Group's createFromConfig
2019-11-19 10:55:16 +00:00
Richard Davey
e5f93738ca
Merge pull request #4807 from jcyuan/master
fix TS issues and fix the condition to check video support.
2019-11-19 10:49:09 +00:00
Richard Davey
1091d09d93 Video.destroy has been renamed to Video.preDestroy, so that it now destroys properly like all other Game Objects. Fix #4821 2019-11-18 22:20:08 +00:00
Richard Davey
9ff331e10e
Merge pull request #4829 from jsoref/spelling
Spelling
2019-11-18 21:47:26 +00:00
Richard Davey
50d9931c11 Added cached MIN/MAX SAFE INT for IE support #4833 2019-11-18 17:01:55 +00:00
Hua
f0c1d8f846 Add some action methods 2019-11-06 14:22:47 +08:00
Hua
53e9fd1465 Add SetScrollFactor into Action and Group's createFromConfig 2019-11-05 14:39:56 +08:00
Josh Soref
c0d92a56a7 spelling: will 2019-10-29 02:42:27 -04:00
Josh Soref
4a322dc7be spelling: dynamic 2019-10-29 01:52:45 -04:00
Josh Soref
0b4a951cf5 spelling: discrepancies 2019-10-29 01:52:04 -04:00
J.C
9507ec7591 fix ts error, and update the output file. 2019-10-16 13:39:06 +08:00
Richard Davey
04bfe30255 Container.mask wouldn't render in WebGL due to a change in the way child masks were handled. Container masking now works again as in 3.19. Fix #4803 2019-10-15 11:29:47 +01:00
Richard Davey
c37a3634c0 UpdateList.shutdown wasn't removing the Scene Update event listener, causing actions to be multiplied on Scene restart (such as animation playback). Fix #4799 2019-10-15 11:18:36 +01:00
Richard Davey
28316ec4fe Merged ProcessQueue docs 2019-10-11 18:53:11 +01:00
Richard Davey
c60530eedd Removed commented-out code 2019-10-11 18:35:27 +01:00
Richard Davey
e8ac166ab2 Update UpdateList.js 2019-10-11 18:34:01 +01:00
Richard Davey
312797dc8e JSDoc fixes 2019-10-11 18:29:55 +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
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
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
dcdc219442 Added flipY support into saveTexture for use in shaders 2019-10-10 12:27:14 +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
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
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
5ac4afb1f8 Getting autoplay working 2019-10-07 17:08:45 +01: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
3d31e27926 Don't render if there's no texture 2019-10-04 13:14:06 +01:00
Richard Davey
6b67862cb7 Finally resolved webgl texture issues when loaded too early 2019-10-04 00:58:43 +01:00
Richard Davey
800381b7fc Better handling of texture creation 2019-10-03 17:51:11 +01:00
Richard Davey
9989f271d4 Pass in the key and url 2019-10-03 17:50:42 +01:00
Richard Davey
9429f66adb Added first pass at Video Game Object 2019-10-03 02:29:05 +01:00
Richard Davey
3ab903b3c5 UpdateList now extends ProcessQueue and uses all of its methods instead. 2019-10-02 12:13:43 +01:00
Richard Davey
ea75c5ca9a Updated quad alpha checks 2019-10-02 10:11:07 +01:00
Richard Davey
a7a15bcb4d
Merge pull request #4715 from MrcSnm/master
Container now can apply alpha quads
2019-10-02 09:55:59 +01:00
Marcelo Silva Nascimento Mancini
b7166bba3b
ESLint correction 2019-10-01 16:11:29 -03:00
Richard Davey
be02c80be9 Origin and canvas renderer work again now. Fix #4108 2019-10-01 17:43:47 +01:00
Richard Davey
1a42c54398 Set image smoothing based on renderer or scale mode. 2019-10-01 16:10:50 +01:00