Commit graph

18214 commits

Author SHA1 Message Date
Richard Davey
e22009f585 Don't pass value if no interpolation func 2022-09-02 18:56:26 +01:00
Richard Davey
46739819db Added jsdocs and returned TweenData 2022-09-02 18:56:04 +01:00
Richard Davey
e0202e6953 No need for ternary check 2022-09-02 18:55:53 +01:00
Richard Davey
02a6989ec7 Uses string based callback approach 2022-09-02 18:14:51 +01:00
Richard Davey
dd635ef58c Update CHANGELOG-v3.60.md 2022-09-02 18:10:29 +01:00
Richard Davey
9da43d3af4 jsdoc updates and tidying up 2022-09-02 18:10:24 +01:00
Richard Davey
4eea1e75b3 Use GetValue for numeric-only properties 2022-09-02 18:10:08 +01:00
Richard Davey
072c709d04 Update GetNewValue.js 2022-09-02 18:09:52 +01:00
Richard Davey
2fc5c358f1 Finished jsdocs and tidied up some functions 2022-09-02 18:09:46 +01:00
Richard Davey
9cb86916ab Added new typedefs for states and TweenData 2022-09-02 18:09:30 +01:00
Richard Davey
b60fa310be Update Tween.js 2022-09-02 16:20:49 +01:00
Richard Davey
8b6bdba654 Just use targetIndex plus tidied up functions 2022-09-02 16:20:39 +01:00
Richard Davey
05659d2b6b Refactored TweenData into a class to aid the VM in knowing its shape 2022-09-02 00:56:22 +01:00
Richard Davey
be6d69b574 Updated new timestep system, added full docs 2022-09-01 18:54:42 +01:00
Richard Davey
13e812bea0 Lots of tidying up and refactoring 2022-09-01 18:54:27 +01:00
Richard Davey
32bf211131 Removed unused const 2022-09-01 18:54:17 +01:00
Richard Davey
6aea1e7c94 Update TweenManager.js 2022-09-01 00:00:05 +01:00
Richard Davey
af18ffd564 Testing new timing system 2022-08-31 18:55:40 +01:00
Richard Davey
465d6727b0 Switch setTimeout order to avoid double-length frames 2022-08-31 17:11:01 +01:00
Richard Davey
d9df9d540c Update CHANGELOG-v3.60.md 2022-08-31 13:48:42 +01:00
Richard Davey
18e639a37a Consolidated init, seek and calcDuration into a single method 2022-08-31 13:48:37 +01:00
Richard Davey
6e69ecdb0c Corrected the jsdocs 2022-08-31 12:50:25 +01:00
Richard Davey
9eb364e3a2 Trying new flow 2022-08-30 23:45:19 +01:00
Richard Davey
b352deff83 create accepts an array as well 2022-08-30 22:06:48 +01:00
Richard Davey
781926a14d Update CHANGELOG-v3.60.md 2022-08-30 22:06:37 +01:00
Richard Davey
95d0dbb624 RenderTexture.fillFrame is a new method that will take a given texture and draw it to the Render Texture as a fill-pattern. You can control the offset, alpha and tint of the draw 2022-08-30 22:06:34 +01:00
Richard Davey
113e0be098 Update CHANGELOG-v3.60.md 2022-08-30 18:44:13 +01:00
Richard Davey
0781e0f05b Better chain method and getChainedTweens 2022-08-30 18:44:09 +01:00
Richard Davey
3bfa25f410 Improved docs, new chain method, new getChainedTweens method 2022-08-30 18:43:54 +01:00
Richard Davey
1fa524d3ad Update CHANGELOG-v3.60.md 2022-08-30 18:18:13 +01:00
Richard Davey
7e69ffb279 add can now take an array of configs and moved chain related functions to the new chain method 2022-08-30 18:18:09 +01:00
Richard Davey
20f0c94ded Deps update 2022-08-30 13:36:47 +01:00
brendo
93eceb7d99 show error code 2022-08-30 07:42:14 +08:00
Richard Davey
6332241d88 Testing chained tweens debug 2022-08-29 23:49:28 +01:00
Richard Davey
94658cf3f3 Update CHANGELOG-v3.60.md 2022-08-29 16:58:57 +01:00
Richard Davey
42b1afb784 Fixed fps rate limit 2022-08-29 16:58:54 +01:00
Richard Davey
9017d29d52 Update FPSConfig.js 2022-08-29 16:31:58 +01:00
Richard Davey
f776037f8e Lots of jsdoc updates. Fixed time reset. Split limit fps up. 2022-08-29 16:29:37 +01:00
Richard Davey
1c34102a1a Update CHANGELOG-v3.60.md 2022-08-29 16:29:19 +01:00
Richard Davey
bda695280f Pass the raf timer value across to Timestep 2022-08-29 16:10:01 +01:00
samme
0462351a64 Add missing NoAudioSoundManager methods
Fixes #6200
2022-08-26 11:41:34 -07:00
Richard Davey
bbe25598f5 Update Tween.js 2022-08-26 18:55:06 +01:00
Richard Davey
7fdaa08343 Testing new fps limit system 2022-08-26 18:54:55 +01:00
samme
bbd4840dbc Fix wrong alpha in snapshot pixel 2022-08-26 10:44:06 -07:00
Richard Davey
4e52e3b150 Update CHANGELOG-v3.60.md 2022-08-26 18:34:35 +01:00
Richard Davey
3c2272708f The RequestAnimationFrame.target property has been renamed to delay to better describe what it does. 2022-08-26 18:34:32 +01:00
Richard Davey
3dc34deffb Update CHANGELOG-v3.60.md 2022-08-26 18:32:51 +01:00
Richard Davey
45e3c24497 Removed tick, lastTime and target
* The `RequestAnimationFrame.tick` property has been removed as it's no longer used internally.
* The `RequestAnimationFrame.lastTime` property has been removed as it's no longer used internally.
* The `RequestAnimationFrame` class no longer calculates the tick or lastTime values and doesn't call `performance.now` as these values were never used internally and not used by the receiving callback either.
2022-08-26 18:32:47 +01:00
Richard Davey
286411ec33 Update CHANGELOG-v3.60.md 2022-08-26 17:56:58 +01:00
Richard Davey
593aaced12 The TimeStep no longer calculates or passes the interpolation value to Game.step as it was removed several versions ago, so is redundant. 2022-08-26 17:56:54 +01:00