Link to home
Start Free TrialLog in
Avatar of amanuelx
amanuelx

asked on

Moving bmps around the screen

Hello
When i move a bmp around the screen, this bmp dont move fine... a rare effect appear... anyone can tell me how to eliminate this effect?
thanks and regards
Avatar of cantrell
cantrell

I'm not quite sure what you mean by a "rare effect?" If you can tell me what the "rare effect" is maybe I can help. In the meantime, make sure you are using the bmpname.move command. If not, try that. It's: bmpname.move left, top, width, height.

Cantrell
Avatar of amanuelx

ASKER

My problem is a horrible screen flicker when i move pictures around the screen...
regards
Does the entire screen flicker or just your bitmap? Are you using a image or picturebox control? How are you moving it?
hello
It's only the image and we use the move statement.
But, how to eliminate the flicker in all cases?
thanks and regards
Please add the following variables:

a) BMP color deep (How many colors)
b) Screen color deep
c) Type of VGA card, OS type and CPU speed

TIA
Please add the following variables:

a) BMP color deep (How many colors)
b) Screen color deep
c) Type of VGA card, OS type and CPU speed

TIA
use the bitblt funktion , and copy the bmp into a new picture box,erase the old and then copy again to new place , this is use to move sprites , hmmm your question is a little short..
search on sprites and vb on the internet and you maybe find a exemple on bitblt.
ASKER CERTIFIED SOLUTION
Avatar of waty
waty
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial