Skip to content

cf_animation_add_frame

Category: sprite
GitHub: cute_sprite.h


Adds a frame to an animation.

void cf_animation_add_frame(CF_Animation* animation, CF_Frame frame)
Parameters Description
animation The sprite.
frame The frame.

Remarks

You can use this function to build your own animations in a custom manner. It's recommend to just use cf_make_sprite, which loads a full sprite out of a .ase file. But, this function provides another low-level option if desired.

CF_Sprite
CF_Animation
CF_Frame
dyna
htbl