Closed mk965 closed 1 year ago
Hey, yeah, apparently we removed that when we did refactors to improve Tween overall. We have a plan in #555 and #585 to restore it. The PR is a mess though, it got lost in translation after converting from master
to main
and it is now conflicted.
I will close this in favor of #555. Please feel free to join in over there. :)
Oh! Also you can use v17, dynamic to should work there for now.
@tweenjs/tween.js
from your package.json
npm install @tweenjs/tween.js@17
This will get you on the version with dynamic to, for now. The difference between 18 and 19 are not big, so most likely this will work fine. Let me know if not!
Oh, one more thing! The docs are out of sync. Sorry about that. Fixing that now.
Dynamic_to with objects currently works out of the box in v19, no need to call dynamic()
. It currently doesn't work with arrays.
The new tween.dynamic(true)
feature has been released in v20, and docs are up to date, along with release notes.
新
tween.dynamic(true)
功能已在 v20 中发布,文档和发行说明都是最新的。
Yes, I found that the Chinese documentation is also seriously lagging, and I have now re-translated user_guide
and contributor_guide
(https://github.com/tweenjs/tween.js/pull/646).
I can also help translate other documents.
Maybe we can also create an official website.
create an official website
Got tweenjs.org, perhaps we can link it to GitHub Pages for now. We could move to Docsify next (I'm a maintainer). Wdyt?
Here's another project of mine using Docsify: https://lume.io.
Has
.dynamic()
been deprecated in the v19 version?When I use the v19 version I found that
dynamic
throws an error:DEMO: https://codepen.io/mk965/pen/RwewVQJ