Commit graph

359 commits

Author SHA1 Message Date
Richard Davey
59b0ca98bf Added isInfinite and redid seek handling. Added forward and rewind. 2022-11-02 13:35:30 +00:00
Richard Davey
3d9ac51338 Clamp the progress between 0 and 1 2022-11-02 13:34:55 +00:00
Richard Davey
0fbedd349b Added getTarget and setTargetValue methods 2022-10-26 15:22:35 +01:00
Richard Davey
2759837f8a Fix #6265 2022-10-26 15:03:07 +01:00
Richard Davey
93a66e2ae2 Don't run a step with a negative delta
Fix #6253
2022-10-26 14:59:02 +01:00
Richard Davey
6d5bf93e24 Replace this.systems with this.events 2022-10-20 16:57:57 +01:00
Shin
96052dba5c Fix Tween.callbackScope 2022-10-14 21:10:21 +07:00
Richard Davey
ac79cea3bc Update TweenManager.js 2022-10-13 14:56:53 +01:00
Richard Davey
205dab8794 Abort update if stuck in a countdown 2022-10-10 16:32:54 +01:00
Richard Davey
346aff2858 Don't get targets from destroyed tweens. Fix #6244 2022-10-10 15:28:11 +01:00
Richard Davey
ed679fc023 Don't try and stop destroyed tweens 2022-10-10 01:29:06 +01:00
Richard Davey
59166f5f3f Fix #6239 2022-10-06 18:51:36 +01:00
Richard Davey
347413afb1
Merge pull request #6227 from EmilSV/tween-fixes
Tween fixes
2022-09-29 14:36:26 +01:00
Richard Davey
70da8df4a1
Merge pull request #6228 from EmilSV/tween-seek-fix
Tween seek use less then instead of less or equal
2022-09-29 14:35:50 +01:00
Richard Davey
9ca7513b14 Use Tween.callbackScope fix #6229 2022-09-26 21:42:24 +01:00
Emil Schnedler Vad
340f9d29a1 made seek use less then instead of less or equal 2022-09-23 22:00:30 +02:00
Emil Schnedler Vad
f07042cbc4 BaseTween and TweenChain available from Phaser.Tweens 2022-09-23 20:53:51 +02:00
Emil Schnedler Vad
169faa6b96 made tweenManager# chain use TweenChainBuilderConfig 2022-09-23 13:07:16 +02:00
Richard Davey
023343c789 All events have a type of string. Fix #6136 2022-09-21 22:01:03 +01:00
Richard Davey
c5610630a1 Lots of jsdoc fixes and Tween State updates 2022-09-20 18:44:44 +01:00
Richard Davey
2834dba8d0 jsdoc fixes 2022-09-20 17:36:31 +01:00
Richard Davey
a4d7c6d680 Fixed destroy 2022-09-20 16:39:01 +01:00
Richard Davey
ded399e727 Call addFrame 2022-09-20 13:09:01 +01:00
Richard Davey
e42c814af8 Corrected jsdocs 2022-09-20 13:08:53 +01:00
Richard Davey
009ad199bf Updated to use the new BaseTweenData to avoid duplicate props and methods 2022-09-20 12:40:28 +01:00
Richard Davey
e2389927ea Create BaseTweenData.js 2022-09-20 12:40:15 +01:00
Richard Davey
6e0566ced4 Fixed target getting bug 2022-09-19 23:24:23 +01:00
Richard Davey
09b7901380 Supports making TweenFrameData 2022-09-19 22:52:39 +01:00
Richard Davey
9b70d1c998 Added addFrameData method 2022-09-19 22:52:26 +01:00
Richard Davey
ff8d86c516 Force yoyo for repeat (or it all looks wrong) 2022-09-19 22:52:15 +01:00
Richard Davey
ef5f40c1b8 Support TweenFrameData 2022-09-16 18:53:47 +01:00
Richard Davey
4e40a6941a Create TweenFrameData.js 2022-09-16 18:53:35 +01:00
Richard Davey
f7583926cc t1 and t2 don't need to be properties 2022-09-16 18:53:30 +01:00
Richard Davey
d42122d05b Added completeAfterLoop method 2022-09-16 17:50:18 +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