Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LitMotion v2.0 #138

Merged
merged 272 commits into from
Dec 25, 2024
Merged

LitMotion v2.0 #138

merged 272 commits into from
Dec 25, 2024

Conversation

yn01-dev
Copy link
Owner

We have started work on releasing a new version of LitMotion, which will include performance improvements, Sequence support, visual editor support, and API improvements (including breaking changes). You can see the work in this branch.

@yn01-dev yn01-dev self-assigned this Nov 18, 2024
@yn01-dev yn01-dev marked this pull request as draft November 18, 2024 13:14
@yn01-dev
Copy link
Owner Author

In order to build a new Sequence package, we have closed PR #122, where work was stalled. We will create a new PR soon.

@yn01-dev
Copy link
Owner Author

If you have any new ideas, please add them in the comments here! New implementations will be included in v2, so even breaking changes are OK.

@Akeit0
Copy link
Contributor

Akeit0 commented Nov 18, 2024

Please make LoopType.Yoyo behave like yoyo.

@Niek352
Copy link

Niek352 commented Nov 20, 2024

If u can plz add shortcut method for,

if(motion.IsActive)
{
    motion.Cancel()
}
motion.IfActiveCancel()

@yn01-dev
Copy link
Owner Author

If u can plz add shortcut method for,

if(motion.IsActive)
{
    motion.Cancel()
}
motion.IfActiveCancel()

Added TryCancel() and TryComplete() in #144.

@yn01-dev yn01-dev marked this pull request as ready for review December 25, 2024 02:26
@yn01-dev yn01-dev merged commit aa20f00 into main Dec 25, 2024
@yn01-dev yn01-dev deleted the v2.0 branch December 25, 2024 02:27
@yn01-dev
Copy link
Owner Author

v2.0 has been merged and will be released soon!

@Rotanticu
Copy link

Can the damper function be added? For handling animations that often need to be interrupted, damper is a better choice than Tween.
Here are some introductions I found
https://theorangeduck.com/page/fitting-code-driven-displacement
https://theorangeduck.com/page/code-vs-data-driven-displacement

I have tried to implement a version before, but I couldn't achieve a good integration between Damp and the existing Tween Perhaps you can do better
https://github.com/Rotanticu/LitDamper

@yn01-dev
Copy link
Owner Author

With the release of v2, this issue has been closed. Please create a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants