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
amanuelxAsked:
Who is Participating?
 
watyConnect With a Mentor Commented:
Go to my website, you will find a complete ScreenSaver written in VB5, and there is a lot of bitmaps (sprites) moving on the screen. The full source code is provided :

http://www.geocities.com/ResearchTriangle/6311/ 

0
 
cantrellCommented:
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
0
 
amanuelxAuthor Commented:
My problem is a horrible screen flicker when i move pictures around the screen...
regards
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
cantrellCommented:
Does the entire screen flicker or just your bitmap? Are you using a image or picturebox control? How are you moving it?
0
 
amanuelxAuthor Commented:
hello
It's only the image and we use the move statement.
But, how to eliminate the flicker in all cases?
thanks and regards
0
 
nilosCommented:
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
0
 
nilosCommented:
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
0
 
e_norrmanCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.