Commit graph

385 commits

Author SHA1 Message Date
Richard Davey
1b8495f4ec Update TweenChain.js 2022-11-17 17:31:25 +00:00
Richard Davey
11def7bf38 Added addMultiple and removed ability from add and chain to pass in arrays of configs 2022-11-14 17:04:05 +00:00
Richard Davey
064e8a3ec2 Fixed type issues 2022-11-10 16:05:20 +00:00
Richard Davey
ed5759b846 Improve jsdocs and restrict Tween.updateTo to active Tweens only. Fix #6009 2022-11-08 18:03:33 +00:00
Richard Davey
70fff93516 Reset TD on loop 2022-11-06 22:00:56 +00:00
Richard Davey
65e8dcbb6b Fix conditional check 2022-11-03 18:45:11 +00:00
Richard Davey
4e4218ea73 Add missing parameter 2022-11-03 18:45:03 +00:00
Richard Davey
6724cc6e91 texture can be a string, or a string in the properties block 2022-11-03 18:44:54 +00:00
Richard Davey
8ea3e09307 Removed global functions and tidied up 2022-11-03 15:22:50 +00:00
Richard Davey
2ca2bd5535 Added setStateFromEnd, setStateFromStart, reset and onRepeat 2022-11-03 15:22:37 +00:00
Richard Davey
4d4f3aeadc reset should return this 2022-11-03 15:22:10 +00:00
Richard Davey
755517f80b Removed init method - let's just call reset directly 2022-11-03 15:22:02 +00:00
Richard Davey
ce1cc86185 Add isSeeking parameter 2022-11-03 14:26:38 +00:00
Richard Davey
1ca43444f4 Only reset property if seeking 2022-11-03 14:26:30 +00:00
Richard Davey
9f0baeaab7 Update TweenManager.js 2022-11-03 13:24:51 +00:00
Richard Davey
b9004eff67 Made getValue more bullet proof 2022-11-03 13:24:48 +00:00
Richard Davey
e921c61b39 Improved jsdocs and removed this.delta property as we don't need to store it internally 2022-11-03 13:17:39 +00:00
Richard Davey
36c65618d7 Safer seek loop 2022-11-03 12:56:58 +00:00
Richard Davey
b7a109bd26 Updated docs to remove frame reference and add clarity 2022-11-03 12:45:10 +00:00
Richard Davey
fc007d39ef Updated docs and seeking 2022-11-02 19:00:16 +00:00
Richard Davey
57a49934af Use reset now 2022-11-02 19:00:08 +00:00
Richard Davey
a679efe03f Use MAX const 2022-11-02 18:03:07 +00:00
Richard Davey
2daa8c9853 New reset and seek methods 2022-11-02 18:03:01 +00:00
Richard Davey
9f89de4594 New reset method that fully resets this TweenData 2022-11-02 18:02:52 +00:00
Richard Davey
a7827ba52e Use MAX const 2022-11-02 18:02:28 +00:00
Richard Davey
3f0a466a8d Added MAX const 2022-11-02 18:02:18 +00:00
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