GLBasic User Manual

Main sections

ROTOZOOMANIM

ROTOZOOMANIM id#, anim#, x#, y#, phi#, scale#



This command is similar to ROTOZOOMSPRITE, however it will only draw frame number anim# from the animation image id#.
The animation id# must have been previously loaded with LOADANIM.

Example:
LOADANIM "test.bmp", 0, 32,32
ROTOZOOMANIM 0, 1, 100, 100, 45, 50
SHOWSCREEN
MOUSEWAIT

See also...