|
-
Apr 22nd, 2002, 03:42 AM
#1
animation
Hello
I put an image of a "train.bmp"..and I marqueed it to the right..thats ok..but How shoud I tell the train to stop at ..x point and then move down to ..y direction ..I mean "tell me more about X..and Y..so that I make it stop when ever or where ever I want..Thanks
-
Apr 22nd, 2002, 06:39 AM
#2
Fanatic Member
Hi,
use some If statements to figure out the X and Y positions. Use the code I posted for youhttp://www.vbforums.com/showthread.p...hreadid=163779
then try something like this...
Code:
if (findLeft('image1')>200){
do some code...
}
Put whatever you want to happen when the objects left position becomes greater than 200 pixels in the do some code section.
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
|