00:00
00:00

Walking player tutorial

Share Collapse

Author Comments

This is a tutorial to teach how to make a character who has a different walking animation for all 4 directional keys

Log in / sign up to vote & review!

Newgrounds accounts are free and registered users see fewer ads!

...wat?

u got da script rong

this sucks u can't get the script so here it is.

heres it is

onClipEvent (load) {moveSpeed = 7;}onClipEvent (enterFrame) {if (Key.isDown(Key.RIGHT)) {this._x += moveSpeed;this.gotoAndStop(2);} else if (Key.isDown(Key.UP)) {this._y -= moveSpeed;this.gotoAndStop(4);} else if (Key.isDown(Key.DOWN)) {this._y += moveSpeed;this.gotoAndStop(5);} else if (Key.isDown(Key.LEFT)) {this._x -= moveSpeed;this.gotoAndStop(3);} else {this.gotoAndStop(1);}}

cant copy actionscript

ignor the score can you send me the actionscript to my email or reply to me with it?

could u type it on the please?

i am a spaz and can't type 4 my life.... could u type it in a
"author's response box?" thanks oh yeah and this tutorial is
awsum!!!

Thank you!

I made my dude walk!! The actionscript isn't hard to type if you at least try to type it.

Credits & Info

Views
7,280
Faves:
7
Votes
23
Score
3.38 / 5.00

Uploaded
Oct 8, 2003
12:51 AM EDT
Genre
More Movies