cf_sprite_on_loop¶
Category: sprite
GitHub: cute_sprite.h
Returns true whenever at the very beginning of the animation sequence.
Parameters | Description |
---|---|
sprite | The sprite. |
Remarks¶
This is useful for polling on when the animation restarts itself, for example, polling within an if-statement each game tick.
Related Pages¶
CF_Sprite
cf_sprite_frame_count
cf_sprite_current_frame
cf_sprite_frame_delay
cf_sprite_animation_delay
cf_sprite_will_finish