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

Velocity(speedState) animation helper state-like #48

Closed
Dionysusnu opened this issue Sep 8, 2021 · 3 comments
Closed

Velocity(speedState) animation helper state-like #48

Dionysusnu opened this issue Sep 8, 2021 · 3 comments

Comments

@Dionysusnu
Copy link
Contributor

This is currently not great to do, usually having to update another state on heartbeat, incrementing it with the current speed.
This helper would wrap that behaviour.
It could also have wrap-around behaviour where it loops around a number range like an integer overflowing. This would for example be useful for an infinitely rotating loading circle.
Adding is probably subject to #40

@dphfox
Copy link
Owner

dphfox commented Sep 8, 2021

Could you be more specific about what this does? Is it similar to #12?

@dphfox dphfox added the enhancement New feature or request label Sep 8, 2021
@Dionysusnu
Copy link
Contributor Author

Overlooked that.. yeah that's a duplicate. As long as timers receive wrapping and variable speed behaviour, they cover all the behaviour I requested here.

@dphfox dphfox added status: rejected and removed enhancement New feature or request labels Dec 7, 2021
@Dionysusnu
Copy link
Contributor Author

@Elttob it may be more clear to add a status: duplicate instead of rejected, since the suggestion will still be implemented (assuming the other issue is approved)

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

No branches or pull requests

2 participants