|
-
Apr 20th, 2000, 05:35 AM
#1
Thread Starter
Frenzied Member
All right, I know a little (I mean LITTLE) BitBlt. And I was wondering how I would rotate a picture in bitblt. I can make it move, but I want it to rotate when I press the side arrows, and go in that direction when I press up. In all, I want to make an asteroids clone in BitBlt. Thanks.
[Edited by SteveCRM on 04-20-2000 at 06:36 PM]
-
Apr 20th, 2000, 06:44 AM
#2
PowerPoster
There's no function like BitBlt which would that make. And if there were one I don't know it would be very slow...
I think you're going to) use DirectDraw which is much faster or) have some pre-rotated pictures in memory which you draw like animations. Second way is as fast as BitBlt (because it *is* BitBlt and nothing more) but you waste as more memory as you have rotation steps.
-
Apr 20th, 2000, 06:43 PM
#3
Hyperactive Member
problem is, rotation in DirectDraw isn't supported on many video cards To do proper, fast rotation, you'd have to use Direct3d (urghhh) 
I'd use the pre-rotated method as Fox says.
buzzwords are the language of fools
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|