Skip to content

CF_PlayDirection

Category: sprite
GitHub: cute_sprite.h


The direction a sprite plays frames.

Values

Enum Description
PLAY_DIRECTION_FORWARDS Flips through the frames of an animation forwards.
PLAY_DIRECTION_BACKWARDS Flips through the frames of an animation backwards.
PLAY_DIRECTION_PINGPONG Flips through the frames of an animation forwards, then backwards, repeating.

CF_Animation
cf_play_direction_to_string