PDA

Click to See Complete Forum and Search --> : Clearing the bitblt'ed Sprite on the screen


Jaredth
Mar 24th, 2000, 02:24 AM
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

drewski
Mar 24th, 2000, 11:35 AM
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

Jaredth
Mar 24th, 2000, 01:04 PM
Thanks I'll Try that

if anyone's interested in the game
email me Jed@datelnet.net

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