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
Richard Davey
9582a21d4f
Tween JSDocs complete
2019-06-27 11:50:24 +01:00
Richard Davey
34bf26592e
Fixed missing loop callback
2019-06-27 01:37:36 +01:00
Richard Davey
aad9d38e13
You can now specify easeParams
for any custom easing function you wish to use. Fix #3826
2019-06-27 01:06:25 +01:00
Richard Davey
eeb02c69b4
Finished all the new Tween Events
2019-06-27 01:00:37 +01:00
Richard Davey
5e4e6ca49f
Tween.seek
has been rewritten so you can now seek to any point in the Tween, regardless of repeats, loops, delays and hold settings. Fix #4409
2019-06-26 23:17:52 +01:00
Richard Davey
bd99ff36d8
New onActive callback
2019-06-26 17:45:32 +01:00
Richard Davey
c1578012c0
Tween now extends EventEmitter
...
Also added startDelay, hasStarted and new onActive callback. onStart now only fires when the Tween actually starts tweening. Lots of debug stuff left to remove.
2019-06-26 17:45:01 +01:00
Richard Davey
c89fac2288
Adding new Tween events
2019-06-26 17:43:43 +01:00
Richard Davey
d97fb97cf6
Typo
2019-06-26 00:36:47 +01:00
Richard Davey
ae591c1c34
Timeline.setTimeScale
would only impact the Timeline loop and completion delays, not the actively running Tweens. It now scales the time for all child tweens as well. Fix #4164
2019-06-19 12:34:41 +01:00
Richard Davey
6d173434eb
Looped Tween Timelines would mess-up the tween values on every loop repeat, causing the loop to fail. They now loop correctly due to a fix in the Tween.play method. Fix #4558
2019-06-19 12:23:24 +01:00
Richard Davey
bb27213f12
Improved jsdocs
2019-06-19 11:25:33 +01:00
Richard Davey
8f22f37dca
Tween.restart
wouldn't restart the tween properly. Fix #4594
2019-06-19 11:05:27 +01:00
samme
d9ecd70f59
Add TimelineBuilderConfig type and callbacks
2019-06-03 12:12:01 -07:00
samme
3ebd1839eb
Docs for Tween
2019-06-03 12:09:04 -07:00
samme
0306aab176
Docs for Timeline
2019-06-03 12:08:45 -07:00
samme
8410f6b131
Add types for tween props
configs
2019-06-01 10:24:15 -07:00
samme
8f2e774c4b
Correct ease
type
2019-05-30 16:11:34 -07:00
samme
7a98fe6d8a
Add tween callbacks
2019-05-29 11:42:19 -07:00
samme
d6b3141b8b
Add the remaining tween config properties
2019-05-29 10:45:55 -07:00
samme
a1e8668aee
Extra properties for tween configs
2019-05-29 10:42:30 -07:00
samme
5018061751
Add NumberTweenBuilderConfig type
2019-05-28 13:13:39 -07:00
samme
c7af250100
Add TweenBuilderConfig type
2019-05-28 11:44:43 -07:00
Richard Davey
9f1946ec45
Tweens created in a paused state couldn't be started by a call to play
. Fix #4525
2019-05-14 09:37:26 +01:00
Richard Davey
c91ed91ce3
License link update
2019-05-10 16:15:04 +01:00
Richard Davey
0a0330bdfc
Tween Types
2019-05-09 12:40:41 +01:00
Richard Davey
2d3c905f53
Calling Tween.play
on a tween that had already finished and was pending removal will stop the tween from getting stuck in an isPlaying
state and will restart the tween again from the beginning. Calling play
on a Tween that is already playing does nothing. Fix #4184
2019-04-08 16:25:31 +01:00
Richard Davey
e9c34c73a8
Merge pull request #3923 from Edwin222/comment
...
Fix a bug that tween delay doesn't applied after one loop of timeline(issue #3841 )
2019-04-08 13:00:10 +01:00
Richard Davey
ded1320e8e
Fixed issue with multiple calls to Tween.restart
2019-04-08 12:58:03 +01:00
Richard Davey
e53a0a1de2
Merge pull request #4087 from TadejZupancic/patch-1
...
Tween inside Timeline fix
2019-04-08 12:13:27 +01:00
Richard Davey
cd8fb4217a
Tweens created with a duration of zero will now render for one frame before completing. Fix #4235
2019-04-08 11:18:42 +01:00