Commit graph

17429 commits

Author SHA1 Message Date
Richard Davey
86f123fc8f Now supports interpolation tweens 2022-08-23 17:38:19 +01:00
Richard Davey
b5f219097c Added interpolationData parameter 2022-08-23 17:37:59 +01:00
Richard Davey
2f46aaf54a Typo 2022-08-23 17:37:46 +01:00
Richard Davey
4c23a88e03 We can simplify this a lot and only call funcs during TweenData creation 2022-08-23 17:37:40 +01:00
Richard Davey
6f9f20f0b3 Add interpolation to reserved props list 2022-08-23 17:37:13 +01:00
Richard Davey
e697176fd8 Add interpolation default 2022-08-23 17:37:01 +01:00
Richard Davey
0eb0171dfb Specify return type 2022-08-23 17:36:52 +01:00
Richard Davey
b3b4d596a9 Return interpolation getStart and getEnd 2022-08-23 17:36:42 +01:00
Richard Davey
4f34cb6b42 Can return null. 2022-08-23 17:36:14 +01:00
Richard Davey
e845dc207f Added support for value interpolation 2022-08-23 15:21:32 +01:00
Richard Davey
bec14fbac1 Now supports tween interpolation 2022-08-23 15:21:15 +01:00
Richard Davey
17d9c4b362 Added TweenData.interpolation 2022-08-23 15:21:01 +01:00
Richard Davey
98cba07913 Now passes the TweenData to the start and end callbacks 2022-08-23 15:20:50 +01:00
Richard Davey
16c1c4352b Added GetInterpolationFunction 2022-08-23 15:20:28 +01:00
Richard Davey
1b4053a8e7 Removed array check and tidied up direction code 2022-08-23 15:20:14 +01:00
Richard Davey
7cd749e776 Working through getting timelines running again 2022-08-23 00:04:24 +01:00
Richard Davey
285fc14b87 Update jsdocs and persist checks 2022-08-23 00:04:15 +01:00
Richard Davey
6165549c6f Remove console 2022-08-23 00:03:59 +01:00
Richard Davey
f8933f151e Ready for TIMELINE_ACTIVE 2022-08-23 00:03:52 +01:00
Richard Davey
45f1bef45e Make sure Tween.restart fires the Start event again 2022-08-22 21:36:44 +01:00
Richard Davey
94d0b8d797 Add onPause and onResume callbacks 2022-08-22 21:36:31 +01:00
Richard Davey
63fbff291a Added persist to the config defaults 2022-08-22 19:45:19 +01:00
Richard Davey
fced56b261 Tween.restart should unpause the tween 2022-08-22 19:42:23 +01:00
Richard Davey
98f4250ea1 Update CHANGELOG-v3.60.md 2022-08-22 17:55:19 +01:00
Richard Davey
70c0aa2091 Reworked the 'restart' flow 2022-08-22 17:55:15 +01:00
Richard Davey
cbe9aa5c17 Fixed missing const 2022-08-22 17:55:03 +01:00
Richard Davey
2065f29f10 Added new persist feature 2022-08-22 17:54:52 +01:00
Richard Davey
36f60d9bb7 Added FINISHED state 2022-08-22 17:54:38 +01:00
Richard Davey
337d5b3228 Tween.stop has had the resetTo parameter removed from it. Calling stop on a Tween will now prepare the tween for immediate destructions. If you only wish to pause the tween, see Tween.pause instead. 2022-08-22 16:43:24 +01:00
Richard Davey
a13b79f86e Added getTotal test 2022-08-19 18:49:08 +01:00
Richard Davey
c72ea9b7f8 Stop removing 2022-08-19 18:48:59 +01:00
Richard Davey
ce772272b0 Remove as part of destroy 2022-08-19 18:48:40 +01:00
Richard Davey
1eaac22719 Update CHANGELOG-v3.60.md 2022-08-19 17:29:57 +01:00
Richard Davey
b6ae1f0061 Removed un-used property 2022-08-19 17:29:54 +01:00
Richard Davey
faec522e15 Special-case for scale 2022-08-19 17:29:44 +01:00
Richard Davey
7c26b7d461 Remove scale 2022-08-19 17:29:35 +01:00
Richard Davey
489130ce7b Added scale 2022-08-19 16:52:53 +01:00
Richard Davey
87ba0cdbb0 Use substring instead 2022-08-19 16:50:59 +01:00
Richard Davey
3f502758b3 Updated docs 2022-08-19 16:45:03 +01:00
Richard Davey
0258714887 Update TextureManager.js 2022-08-19 16:44:55 +01:00
Richard Davey
21a695d070 Removed log 2022-08-19 16:44:51 +01:00
Richard Davey
8c154e0928 Update SpineGameObject.js 2022-08-19 16:44:46 +01:00
Richard Davey
1cee183703 Fixed jsdocs 2022-08-19 16:44:41 +01:00
Richard Davey
5260fd90f2 Update Tween.js 2022-08-19 15:05:33 +01:00
Richard Davey
ec870f6a86 Corrected target param 2022-08-19 14:58:30 +01:00
Richard Davey
dfebdb9a7a The TweenManager calls init. 2022-08-19 14:42:20 +01:00
Richard Davey
16c945c20f Update CHANGELOG-v3.60.md 2022-08-19 14:36:39 +01:00
Richard Davey
30e92ac5b8 Create callback arguments dynamically 2022-08-19 14:36:35 +01:00
Richard Davey
7eec2cedd2 Pass by reference 2022-08-19 14:36:20 +01:00
Richard Davey
c2827e83fe Unified all of the tween callbacks 2022-08-19 14:35:24 +01:00