Skip to content

Add the animation reverser to the animation sequencer #67

@the-simian

Description

@the-simian
  reverseCurrent() {
    return new Promise((resolve, reject) => {
      this.entity.anims.reverse();

      this.entity.once(
        'animationcomplete',
        (animation, frame) => {
          resolve(name);
        },
        this.entity
      );
    });
  }

drop this method in on the next update, it is easy-mode for reversing the animation where it currently is.

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