Skip to main content
gamedev.net
🔒 Locked

rotation

Started by Wes Henwood Jun 25, 2000 at 9:14 AM 2 replies 350+ views
Original Post
Wes Henwood
Wes Henwood
What do you have to do to a DDBLTFX structure to perform bitmap rotation? I''ve tried to set the dwRotationAngle field, and when blitting I''ve used the DDBLT_ROTATIONANGLE flag. But, the things I try to rotate do not appear on the screen.
WitchLord
WitchLord
You graphic card probably doesn''t support that operation.

- WitchLord
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
furby100
furby100
Check the error from the function. If it says something about not having any hardware support for it, then like Witchlord said, you do not have the hardware. Unfortunately the DirectDraw HEL does not have support for rotation, so you have to write your own rotater or prerotate the sprites.
Bordem
Bordem
the best way Ive found to do it is to use D3D to rotate a quad and texture map that

Im Always Bored--Bordem ICQ: 76947930

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.