Results 1 to 2 of 2

Thread: DirectDraw

  1. #1
    Guest
    A few questions concerning DirectDraw:

    I'm trying to make a tiling effect - use bitmaps of a certain size to fill up the whole screen. What is the best way to approach this?

    1) Is it possible to display multiple bitmaps on one surface? If so, how?

    2) Is it possible to make the top-left corner of a surface in full-screen mode be anything other than (0,0)?

    Thanks for any suggestions.

  2. #2
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355
    Tiling is quite easy; the onyl tricky bit is doing scrolling.
    Basically, have a tiles of a certain size (say 64 by 64), and BltFast them all onto the backbuffer in a tile arrangement. When you scroll, you go along the first tile, so you have to start blitting at a different point on that tile. Hard to explain, simple in practice
    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