SpritesheetAnimator.setFlipHorizontally - HermesPasser/Ramu GitHub Wiki

SpritesheetAnimator.setFlipHorizontally()

Parameters

bool bool: Value of flipHorizontally.

Description

Set the flipHorizontally of the animations.

You can test this snippet of code here.

let animator = new SpritesheetAnimator(10, 10, 59, 50);
animator.setFlipHorizontally(true);