About rotate_sprite
chyuan

pic=load_bitmap("tank.bmp",NULL);
rotate_sprite(screen,pic,10,0,4100000); //I am confused by the last parameter...
How do I know the last parameter if I want to rotate my picture 90 degree??

Kitty Cat
chyuan

i tried with itofix
when I put itofix(64) in the function, the image was rotate 90 degree. Why?

gnolam

rotate_sprite()

Please start reading the manual. Please. Everything you need IS in there.

CGamesPlay
Quote:

when I put itofix(64) in the function, the image was rotate 90 degree. Why?

You just randomly tried 64 without any basis for that decision?

Anyways, read.

rotate_sprite

chyuan

Got it

Thread #590334. Printed from Allegro.cc