Commit graph

154 commits

Author SHA1 Message Date
J.C
d8dc7fb4d7 TS def improvements 2020-03-02 20:14:25 +08:00
Richard Davey
392c52fa8b Update GetEaseFunction.js 2020-01-20 23:34:40 +00:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Richard Davey
47ae9eaadc Exposed StaggerBuilder and added missing param to JSDocs 2020-01-13 22:35:40 +00:00
Richard Davey
e861ecf5a0 Emit the current and previous values 2020-01-07 23:57:08 +00:00
Richard Davey
1a69cd9e0f TweenData now stores its previous ease value. 2020-01-07 23:56:39 +00:00
Richard Davey
736fd6dfb9 Added TWEEN_UPDATE current and previous values 2020-01-07 23:56:15 +00:00
samme
482757c1a8 Fix bad parameter in Timeline callbacks and events
Fixes #4810
2019-11-19 15:37:25 -08: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
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
Josh Soref
f21c3f4e07 spelling: yoyo'ing 2019-10-29 02:43:09 -04:00
Josh Soref
e57d5fcf2f spelling: repeated 2019-10-29 02:33:37 -04:00
J.C
94648e4c0d ts fix for TweenManager 2019-10-16 13:59:15 +08:00
Richard Davey
9ea3eb1abd Added getValue method back and updated it 2019-10-11 18:15:44 +01:00
Richard Davey
619cd7a9d6 Docs update 2019-10-02 17:32:06 +01:00
Richard Davey
a3469ad37e The Tween.getValue method has been removed. It was a legacy function from Phaser 2 and always only returned the first TweenData from the data array, ignoring any subsequent properties or targets, making it redundant. Fix #4717 2019-10-02 17:25:00 +01:00
Richard Davey
107bccf105 Tween.updateTo would break out of the TweenData iteration as soon as it adjusted the first matching key, causing tweens acting on multiple targets to only update the first target. It now updates them all. Fix #4763 2019-09-26 12:46:55 +01:00
Richard Davey
5a255eceed Fixed Tween Event defs. Fix #4666 2019-08-07 13:46:50 +01:00
Richard Davey
8288eeb899 Updated docs 2019-07-02 12:13:43 +01:00
Richard Davey
41a6592c1e Swapped default state flag. Fix #4632 2019-07-02 12:13:34 +01:00
Richard Davey
d404a5d658 Update StaggerConfig.js 2019-07-01 17:10:38 +01:00
Richard Davey
77e830a557 Starting on docs 2019-07-01 14:56:56 +01:00
Richard Davey
52c0c85cb6 Fixed eased range grid stagger 2019-07-01 12:49:02 +01:00
Richard Davey
2b713b0038 Pre-calc the grid values 2019-07-01 12:19:05 +01:00
Richard Davey
95ad802c27 Getting Grid Range working 2019-06-30 16:59:58 +01:00
Richard Davey
2f60afe8f7 Finished all non-grid options, including proper ease, range and direction 2019-06-29 11:26:26 +01:00
Richard Davey
adaa5893ea Grid working properly with static value and range 2019-06-28 19:35:54 +01:00
Richard Davey
7222a53a23 Update StaggerBuilder.js 2019-06-28 18:08:32 +01:00
Richard Davey
bf592808f3 Use the TweenData.index property now. Much cleaner. 2019-06-28 18:08:26 +01:00
Richard Davey
58f076a125 TweenData now holds the target index and has a new signature 2019-06-28 18:02:18 +01:00
Richard Davey
496ac0f979 Supports ranged staggers 2019-06-28 17:42:34 +01:00
Richard Davey
5203be3189 More accurate types 2019-06-28 17:42:16 +01:00
Richard Davey
293c28b83c LoadValue functions now take new arguments and updated types and docs 2019-06-28 17:42:03 +01:00
Richard Davey
4baf88b8d1 Updated comments 2019-06-28 17:20:57 +01:00
Richard Davey
864c484856 'start', 'from' and 'ease' all working 2019-06-28 14:38:48 +01:00
Richard Davey
70368a8808 Removed commented-out code 2019-06-28 12:22:14 +01:00
Richard Davey
bafc771f85 Stagger function change 2019-06-28 12:22:05 +01:00
Richard Davey
594d75c26a Much more flexible in allowing the ease string input format 2019-06-28 12:21:52 +01:00
Richard Davey
422fbec238 Added this argument 2019-06-27 23:35:58 +01:00
Richard Davey
2d82eca8c5 Added start of StaggerBuilder 2019-06-27 17:14:39 +01:00
Richard Davey
d0f1e5ca28 Added new typedefs for getActive 2019-06-27 16:28:16 +01:00
Richard Davey
23d1c0e1c7 Now supports from, to and start Tween config objects 2019-06-27 16:16:37 +01:00
Richard Davey
4f344efd22 Refactored the updateTweenData method so force start/end values, support getActive and use more local vars 2019-06-27 16:16:14 +01:00
Richard Davey
ea03f81ec1 Added new optional getActive function 2019-06-27 16:15:26 +01:00
Richard Davey
7b9b264146 Added dispatchTimelineEvent method and improved docs 2019-06-27 13:04:32 +01:00
Richard Davey
f7d2410a76 JSDoc fix 2019-06-27 13:04:14 +01:00
Richard Davey
cf51e1a551 Removed loopCounter value as it was incorrect 2019-06-27 13:04:07 +01:00
Richard Davey
f3200ec3d1 Added isSeeking flag and consolidated all the event and callback handling into two methods. 2019-06-27 12:41:37 +01:00
Richard Davey
46b56c4d2b All changes to Tween.state are now set _before_ any events or callbacks, allowing you to modify the state of the Tween in those handlers 2019-06-27 12:02:45 +01:00