Results 1 to 6 of 6

Thread: Masks!

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2001
    Posts
    4

    Masks!

    I cant make the b & w masks! I have no problem using them to make sprites/animations, but how do i get the actual color bitmap into the mask form? HELP!

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Everything that will be transparent is black on the mask. Everything else is black. The background of the actual colour bitmap is black or white.

    If you have a white background, copy the mask with vbMergePaint and the sprite with vbSrcAnd. If you have a black background, copy the mask with vbSrcAnd, and the sprite with vbSrcPaint.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2001
    Posts
    4
    ah, i should have phrased the q better...

    i know how to use bitblt to make a transparent bg, but how do i make the mask? in photoshop let's say...what would be the steps to turn the coloured pics into their respective masks?

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Look at my first sentence there...

    You change everything that should be see through on the final pic WHITE not black as I previously mentioned. Turn everything else black. There is your mask!
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2001
    Posts
    4
    ah i see, thnx a lot Sastraxi!

  6. #6
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

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