|
-
May 6th, 2000, 01:14 PM
#1
Thread Starter
New Member
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.
-
May 6th, 2000, 01:15 PM
#2
Thread Starter
New Member
Also, if you could just tell me how to do one of those above things I would be appreciative.
-
May 6th, 2000, 08:16 PM
#3
transcendental analytic
Do you still have problems with this?=
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 6th, 2000, 10:50 PM
#4
Thread Starter
New Member
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.
-
May 6th, 2000, 11:30 PM
#5
Thread Starter
New Member
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?
-
May 7th, 2000, 12:40 AM
#6
transcendental analytic
I am online about 4 times a day, just be patient
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|