bmcwilliams13
May 6th, 2000, 01:14 PM
Ok, what is the code to make something move... let's say another picture box, named picture1.picture. Ok, I need to move picture1.picture around inside of another larger picture box that we'll call picture2.picture. I want to move the picture1.picture around inside picture2.picture by using a mouse or a command1 button. Also, I have my picture2.picture's background equalling a map with different things on it that measure 32x32. So if there is a way to move picture1.picture around inside picture2.picture like it was actually moving between 32x32 squares that would really help.
So I guess this is what I need:
1) A code to determine the guy's coordinates.
2) A code to determine the mouse's coordinates when it clicks.
3) A code to make the guy move to the mouse's coordinates when it clicks, but he has to do it one "square *32x32*" at a time.
4) Make the guy stop when he gets to the mouse's clicked coordinates.
So I guess this is what I need:
1) A code to determine the guy's coordinates.
2) A code to determine the mouse's coordinates when it clicks.
3) A code to make the guy move to the mouse's coordinates when it clicks, but he has to do it one "square *32x32*" at a time.
4) Make the guy stop when he gets to the mouse's clicked coordinates.