Results 1 to 3 of 3

Thread: Clearing the bitblt'ed Sprite on the screen

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    11
    i'm doing a hamburger business game that uses bitblt
    after i painted the sprite on the screen which uses bitblt's
    SRCAND then SRCPAINT then SRCCOPY i dont know how to clear the sprite i just painted. i've tried SRCERASE but it clears the background instead of the sprite....

    can anyone help?

    also if someone is interested in the game just contact me its about 20% complete and has its cartoon graphics


  2. #2
    Addicted Member drewski's Avatar
    Join Date
    Feb 2000
    Location
    WA
    Posts
    242

    bitblt

    copy the section you're copyibg to before you copy the sprite then copay the sprite to that location. after the sprite moves to a new location copy the piece of background to the old location. this covers the old sprite and doesn't leave you with dozens of sprites all over the screen

    Hope this helped
    drew

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    11
    Thanks I'll Try that

    if anyone's interested in the game
    email me [email protected]

    [Edited by Jaredth on 03-25-2000 at 02:06 AM]

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