Skip to content

sp_pframe

Prototypeint sp_pframe(int active_sprite, int frame[-1])

sp_pframe() gets or sets the currently displayed frame for the active_sprite.

Use this to set a non-animating active_sprite's frame. To change an active_sprite's frame in the course of an animation, use sp_frame().