Results 1 to 4 of 4

Thread: CreateSurface in DX7

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    NJ
    Posts
    10

    Question

    In my game I want to create a 128x128 surface, from four 64 x 64 bitmaps. Is there a way to blit those bitmaps on the surface?

  2. #2
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    I would load them into a picture control and create a blank surface with 128*128. Than just blit all the four pictures onto it. Don't forget to get rid of the pictureboxes after that.
    Sanity is a full time job

    Puh das war harter Stoff!

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    the idea with DDraw is that you get rid of the picture controls, I'd load the four surfaces and then blit them onto the larger one, then discard the smaller ones.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    NJ
    Posts
    10

    Thumbs up

    Thanx alot. This works perfectly

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