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

Tween nested object #366

Closed
wants to merge 3 commits into from
Closed

Conversation

talltyler
Copy link
Contributor

There didn't seem to be enough love for #313 to get it merged in. To move the ball forward I made a version based on the suggestion by @mikebolt to make this work without the string interpolation.

The performance impact should be a single function call for each level of nesting.

@mikebolt
Copy link
Contributor

mikebolt commented Aug 30, 2017 via email

@dalisoft
Copy link
Collaborator

Have you checked es6-tween? It uses my module called InterTween that does thing for your. Interpolates everything, just pass elapsed/value. Maybe es6-tween would be your choice?

@talltyler
Copy link
Contributor Author

I like Tween.js and I would love to get this PR merged, but I will look more at es6-tween

@trusktr
Copy link
Member

trusktr commented Sep 16, 2017

I like this idea too. From a basic skim, it looks good. Need to review one more time in more depth.

@mikebolt mikebolt mentioned this pull request Oct 16, 2017
@@ -390,6 +390,16 @@ relativeTween.start(); // Makes x go to -100 +100 = 0

Check [09_relative_values](../examples/09_relative_values.html) for an example.

### Tweening nested object

Tween.js can also change properties across nested object. For example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

across a nested object or across nested objects

@miltoncandelero
Copy link

Is this dead on the water?

@trusktr trusktr added this to Opened Pull Requests in Pull Requests via automation May 29, 2020
@trusktr
Copy link
Member

trusktr commented May 29, 2020

Sorry for the delays! I would like to get things rolling. Tracking this in the new pull request tracking board: https://github.com/tweenjs/tween.js/projects/4

I'd like to set up GitHub Actions next to get automated tests running again, so we can more easily test pull request changes and get them merged!

@trusktr trusktr moved this from Opened Pull Requests to Proposal Accepted in Pull Requests May 29, 2020
Pull Requests automation moved this from Proposal Accepted to Review in progress May 29, 2020
Copy link
Member

@trusktr trusktr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very similar to #520. Let's consolidate into one PR. I suppose we need to close one of them. We can get both authors into the commit.

Also please keep the same structure as Tween.js without refactoring things out to new functions, so the change is clear, and keep refactors for separate PRs (unless necessary). The simpler the PR, the better.

@trusktr trusktr mentioned this pull request May 31, 2020
@trusktr trusktr closed this in #539 May 31, 2020
Pull Requests automation moved this from Review in progress to Done May 31, 2020
@trusktr
Copy link
Member

trusktr commented May 31, 2020

Moved to #539 and merged. Thank you for this nice feature!

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

Successfully merging this pull request may close these issues.

None yet

6 participants