Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


MiniTut#6CursorWatcherTut


Date Submitted

08/16/2007 | 11:42PM EST

File Information

Movie | 11.5 KB

Add Movie to Favorites

Current Score

2.60 / 5.00

250 votes | 651 views

Click an icon to vote on this!

You are not logged in.

If you log in to vote, you could win $100!

Related Submissions

Submissions by Andrea (Andrea364):

Submissions by William Downing (Billy44):

Submissions by Haley87:

Submissions by Soul-Eating-Reaper07:

Everyone Suitable For All Audiences
MiniTut#6CursorWatcherTut
Watch this Movie!
Pop-Up | Add to Favorites

Author Comments

The error of the eye not moving was intentional, but since I got a complaint or two, I fixed that. I did not acually put in the watcher at first because there would be no example as to how it'd look in flash 8 while the user was creating it. This is designed for a rather n00bish flasher, so veterans, remember that. Anyway, enjoy!

- - -

***please reiew!***

READ:

This is a mini tuturial, hence it will only be a frame or so, to keep the size low so that dial up users shouldn't have a big problem with loading it. This is a tuturial for beginners, so learn what you can from it. The ActionScript will follow shortly after this.

- - -

Action Script:

For the watcher:

onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse-
this._y, _root._xmouse-this._x);
myDegrees = Math.round((myRadians*180 /Math.PI));
_root.yChange = Math.round(_root._ymouse-
this._y);
_root.xChange = Math.round(_root._xmouse-
this._x);
_root.yMove = Math.round(_root.yChange/
20);
_root.xMove = Math.round(_root.xChange/
20);
this._rotation = myDegrees+90;
}

The cursor is in mini tuturial number 5, the cursor tuturial.

- - - -

Credits:

Andrea364: Cursor
Billy44: Images and instructions
Haley87: ActionScript and research
Soul-Eating-Reaper07: Color scheme and original info

3 reviews | Log in to write a review | Share this!

The people have spoken

Average Score: 7.7 / 10

Score: 10
DrakstonOfDoom

"good"

date: September 23, 2007

nice tuturial i learnt some stuff that i didnt no wat it ment cool tut thing were can i get flash???

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 10
JoAlice

":D yay, more learning!"

date: August 29, 2007

Thanks for teaching me how to make an eyeball or "object" "watch" the cursor! I might use that sometime! Good Work! Can I help you with one of these tuturials? It'd be an honor. C'ya sis!

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 3
MonkeyV

"umm..."

date: August 17, 2007

shouldn't the eye be doing something?

August 17, 2007

Author's Response:

No that's a still of it so you can see how it should be facing when you draw it, but if you like, I'll fix it.

Rate this review:
Helpful!
Useless.
Flag as abusive.
People think this is a useless review.