|
Sprite Rotation |
horizon981
Member #7,594
August 2006
|
This simple program was meant to draw rotating sprites. However, I don't see any rotation. What's wrong?
|
Bernardo Lopes
Member #7,318
June 2006
|
Because the 'angle' parameter of the function rotate_sprite is a fixed type. And you're passing an integer. You should convert the integer with itofix, thus: rotate_sprite(screen, sprite, 0, 0, itofix(200));
|
horizon981
Member #7,594
August 2006
|
Thanks.:D |
|