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

Reversed tween skips first update #79

Open
745comics opened this issue Jun 10, 2022 · 0 comments
Open

Reversed tween skips first update #79

745comics opened this issue Jun 10, 2022 · 0 comments

Comments

@745comics
Copy link
Contributor

Steps to reproduce the behavior:

let tween = new Tween(
      {
        y: 1000
      },
      0.5,
      {
        playOnAdded: true,
        ease: Ease.backOut,
        reversed: true,
      });

this.addComponent(tween);

After code above execution, game object would appear on its current position (y = 0) on the first frame (should be y = 1000). After first update tween proceeds as expected.

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

1 participant