bit blt

JohnVBNET
02-25-2001, 05:49 PM
Please help me move my blt bitted guy...
this is what i have sooo far

BitBlt Me.hdc, 0, 0, 50, 56, playerMaskDC, 0, 0, vbSrcAnd
BitBlt Me.hdc, 0, 0, 50, 56, playerDC, 0, 0, vbSrcPaint
but how would i move this "guy" around?

n30n
02-26-2001, 03:20 AM
hey,

I'll give you a basic outline of wot U gotta do...

Create 2 variables

these will hold the 'guy's' coordinates on the form

when the program runs set the variables to the starting position of the guy.

Then using the key_down event & api or "if keycode = vbkeyup then..." statements use that to add or subtract values from the variables & then refresh your form & re paint it...

- n30n

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum