Skip to content

Dynamic fps and possible Ticker.reset bug #729

Open
@armandn

Description

@armandn

There are instances where it would be advisable to dynamically set the framerate. Currently this is not possible (setting framerate is ignored as _setupTick returns immediately if a timer has already been set (_timerId)

Theoretically, it should be doable with Ticker.reset() followed by a Ticker.addEventListener() to (re)initialize and then setting Ticker.framerate, however after such a sequence of commands Tweens don't work anymore, at least in my setup.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions