Commit graph

18080 commits

Author SHA1 Message Date
Richard Davey
d42122d05b Added completeAfterLoop method 2022-09-16 17:50:18 +01:00
Richard Davey
23bd9c744c Update CHANGELOG-v3.60.md 2022-09-15 22:31:01 +01:00
Richard Davey
618891bcda The TextureManager.addSpriteSheet method will now allow you to pass in a Phaser Texture as the 2nd parameter. This allows you to add sprite sheet data to textures that came from external sources, such as SVG files or canvas elements. 2022-09-15 22:30:59 +01:00
Richard Davey
0b14cc4898 Update BaseTween.js 2022-09-14 23:22:34 +01:00
Richard Davey
20e8c183c2 Fixed 2022-09-14 22:34:08 +01:00
Richard Davey
fc231a23b2 Fixed path 2022-09-14 14:16:44 +01:00
Richard Davey
de8614356d All method and property jsdocs done 2022-09-13 23:34:19 +01:00
Richard Davey
b419f79b6a Added remove method 2022-09-13 23:34:09 +01:00
Richard Davey
673a7251d4 Make the creation methods a lot more flexible 2022-09-13 22:54:18 +01:00
Richard Davey
94b3e19c75 Remove un-used method 2022-09-13 22:54:02 +01:00
Richard Davey
3429946b13 Update TweenChainBuilder.js 2022-09-13 22:53:51 +01:00
Richard Davey
c05d8d6c6c All method and property docs done. Fixed init, restart and others. 2022-09-13 22:53:45 +01:00
Richard Davey
b8a3cf9232 Extends BaseTween and start delay and lots of other fixes 2022-09-13 18:47:12 +01:00
Richard Davey
a2b349d745 Extends BaseTween 2022-09-13 18:46:57 +01:00
Richard Davey
c6250fe62c Update TweenBuilderConfig.js 2022-09-13 18:46:46 +01:00
Richard Davey
20ff1c99ec add can now take Tween instances and chain uses the new TweenChainBuilder 2022-09-13 18:46:41 +01:00
Richard Davey
de53735e93 Added START_DELAY const 2022-09-13 18:45:20 +01:00
Richard Davey
2c5cdf7023 Removed non-BaseTween methods 2022-09-13 18:45:11 +01:00
Richard Davey
8705f2a606 If you pass in a tween, return it. Also use merged defaults and base type 2022-09-13 18:44:56 +01:00
Richard Davey
1a509fbd98 Create TweenChainBuilder.js 2022-09-13 18:44:36 +01:00
Richard Davey
6c2fc3fcba Working on BaseTween again so Chain can share the features 2022-09-13 13:16:31 +01:00
Richard Davey
bdbadd1339 Update CreateGroupLayer.js 2022-09-12 20:17:11 +01:00
Richard Davey
96203aac19 Swap to use TweenChain 2022-09-12 18:50:01 +01:00
Richard Davey
bfce0c147b Update Tween.js 2022-09-12 18:49:53 +01:00
Richard Davey
0f6977c03e Update TweenChain.js 2022-09-12 18:49:49 +01:00
Richard Davey
92be5c387e Upgraded TypeScript and eslint 2022-09-12 15:05:40 +01:00
Jernej Habjan
f8030d5ed8 Lint fixes 2022-09-11 10:34:58 +02:00
Richard Davey
572a97f448
Merge pull request #6220 from samme/fix/make-rope-video-updateList
Rope and Video already on update list
2022-09-10 17:17:16 +01:00
samme
1a5320dc08 Rope and Video already on update list 2022-09-10 08:44:43 -07:00
samme
ed7c999a0a Update video texture after loading
loadURL() or loadMediaStream()
2022-09-10 08:42:53 -07:00
Richard Davey
672fe0c97f Create TweenChain.js 2022-09-08 22:57:50 +01:00
Richard Davey
4e866b6046 onComplete can handle the pending state 2022-09-08 22:57:47 +01:00
Richard Davey
bdce1b255f Update index.js 2022-09-08 21:36:28 +01:00
Richard Davey
5a7949b391 Refactored updated to handle progress better 2022-09-08 18:54:19 +01:00
Jernej Habjan
272f61eda2 Improve visible children performance 2022-09-08 19:18:45 +02:00
Richard Davey
3c97cd9a46 Update CHANGELOG-v3.60.md 2022-09-08 14:53:06 +01:00
Richard Davey
145832ed93 Destroying a WebAudioSound in the same game step as destroying the Game itself would cause an error when trying to disconnect already disconnected Web Audio nodes. WebAudioSound will now bail out of its destroy sequence if it's already pending removal. 2022-09-08 14:53:02 +01:00
Rex
05d4d87b2c Get viewport under a camera 2022-09-08 09:52:18 +08:00
Richard Davey
6930b0e02a Update CHANGELOG-v3.60.md 2022-09-07 22:40:38 +01:00
Richard Davey
3f89904040 Fixed a bug where setting repeat and hold would cause the Tween to include one final hold before marking itself as complete. It now completes as soon as the final repeat concludes, not after an addition hold. 2022-09-07 22:40:35 +01:00
Richard Davey
f3d798d4b4 Rename to avoid conflict with tween property of same name 2022-09-07 22:05:40 +01:00
Richard Davey
a2a492bb9f Optimize the update flow with new countdown boolean 2022-09-07 18:49:28 +01:00
Richard Davey
fd17a6c569 Fixed state setter 2022-09-07 18:41:50 +01:00
Richard Davey
8637c86de6 Update CHANGELOG-v3.60.md 2022-09-07 18:27:30 +01:00
Richard Davey
783254f47a
Merge pull request #6213 from vzhou842/delta-smoothing-max-fix
Fix delta history array length
2022-09-07 18:26:20 +01:00
Richard Davey
a421b1057a Add jsdocs so TypeScript won't complain #6200 2022-09-07 18:24:55 +01:00
Richard Davey
ec412b08a5 Tidy up 2022-09-07 18:24:26 +01:00
Richard Davey
a64bed295f Update CHANGELOG-v3.60.md 2022-09-07 18:11:37 +01:00
Richard Davey
135c504035 Removed INIT as no longer used 2022-09-07 18:11:32 +01:00
Richard Davey
f3c53b4c55 Added all of the state methods and swapped to using them
Reduces code complexity, improves readability, reduces duplicated code
2022-09-07 18:11:24 +01:00