Results 1 to 3 of 3

Thread: Rotating In BitBlt

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    Talking

    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]

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    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.

  3. #3
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355
    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
  •  



Click Here to Expand Forum to Full Width