Skip to content

I started a bunch of tweens in the same "for" and they are not synchronized #116

@guifes

Description

@guifes

I would expect that any quantity of tweens started from the same "frame" would be always syncronized. But since SimpleActuator set the "startTime" var with:

Lib.getTimer()

every time a new tween is instantiated, each instance gets a slightly different time and thus get desynchronized from the others.

As a fix suggestion, maybe instead of lazily listening to Event.ENTER_FRAME, listen to it before any tweens are instantiated and keep a single value from Lib.getTimer() as startTime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions