PDA

Click to See Complete Forum and Search --> : Another movement question


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.

bmcwilliams13
May 6th, 2000, 01:15 PM
Also, if you could just tell me how to do one of those above things I would be appreciative.

kedaman
May 6th, 2000, 08:16 PM
Do you still have problems with this?=

bmcwilliams13
May 6th, 2000, 10:50 PM
Yah, because I am new to programming and what you told me earlier I understood why you'd use it, but I don't know how to turn that into programmming language.

bmcwilliams13
May 6th, 2000, 11:30 PM
Hey ked, I added you to my ICQ list, I thought it might be easier and quicker to talk over ICQ, but you're never on. Do you still even have your account?

kedaman
May 7th, 2000, 12:40 AM
I am online about 4 times a day, just be patient