SpritesheetAnimator.setFlipVertically - HermesPasser/Ramu GitHub Wiki

SpritesheetAnimator.setFlipVertically()

Parameters

bool bool: Value of flipVertically.

Description

Set the flipVertically of the animations.

You can test this snippet of code here.

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