| View previous topic :: View next topic |
| Author |
Message |
Archonius Newbie
Joined: 22 Aug 2005 Posts: 7
|
Posted: Aug 22nd, 2005 12:51 PM Post subject: Deleting an old sprite in BITBLT |
|
|
I'm using bitblt to make a space shooter game. But im using a textured background and cant figure out how to delete/overwrite a sprite when finished with it.
For example..
If I'm moving my space craft left it will need to keep being drawn over and over moving slightly left everytime. How do I delete where it was, before putting it where its going to be.
I was toying with the idea of recording where all the sprites are. Then just redrawing the whole scene from scratch having moved one piece along before hand. But this is abit rich in processing.
I've been reading about Double masking. But I've only just started using bitblt. I dont want to over complicate myself.
Any ideas are very welcome
Rob |
|
| Back to top |
|
DoobieKeebler Moderator

Joined: 17 Jun 2005 Posts: 254 Location: 181°15'2.003"W, 93°5'16.956"N
|
Posted: Aug 24th, 2005 09:06 AM Post subject: |
|
|
| In the meantime, could you use an image box or a picture box and just move that along? That was the road I didn't want to switch you to in your other post but as a temporary fix that might be workable. |
|
| Back to top |
|
Archonius Newbie
Joined: 22 Aug 2005 Posts: 7
|
Posted: Aug 24th, 2005 06:32 PM Post subject: |
|
|
ive been there tried that, didnt like it and switched to bitblt. thanks anyway. I've sorted out this problem now but check my new thread for my current one  |
|
| Back to top |
|
|