Search tutorials
Step 3 : Define X and Y:
Put a stop frame at frame 1 on the timeline. (You can add extra things in here after but for now we will use just an object to shoot at, for example on mine i have a scaling circle when youy roll over the object.)
Double click on your object and set up two variables in the properties of it. These will be to recognise the position of the object. As it will have to randomly move around after each click or length of time.
Apply this code
On (Release) Set Variable: "Xp" = Random (400 ) Set Variable: "Yp" = Random ( 300 ) End OnChange the random number depending upon the size of your movie.

» Level Intermediate |
Added: 2001-03-22 Rating: 8 Votes: 51 |
» Author |
No details available. |
» Download |
Download the files used in this tutorial. |
Download (650 kb) |
» Forums |
More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.
Comments
There are no comments yet. Be the first to comment!