
Rotating In DirectX7 Using DirectDraw
I am trying to get a sprite to rotate in DirectX7 using DirectDraw. I create
all my surfaces, then use this code:
Form_KeyDown
BltFX.lRotationAngle = BltFX.lRotationAngle + 100
end sub
sub Drawship
Primary.BltFX Rect2, Ship, Rect1, DDBLT_WAIT Or DDBLT_ROTATIONANGLE Or
DDBLT_DDFX, BltFX
end sub
It draws the ship, but never rotates it. I have determined the the
BltFX.rotationangle is being changed properly. Any help would be
appreciated.