Click to See Complete Forum and Search --> : How do you make a Bitmap move UP or LEFT ...


Mark1
June 26th, 2001, 09:00 AM
Hi,

I know the code to move a bitmap to the right, which is : (Example)
Image1.Left = Image1.Left + 20
But, how do you move the object in the opposite direction.

Also, to move an object upwards its
Image1.Top = Image1.Top + 10
But, how do you move the object downwards.

Any Info, I`m in the middle of making a game!!!

Mark

Ghost308
June 26th, 2001, 09:27 AM
Have you tried subtracting values instead of adding them?

Image1.Top = Image1.Top - 10