00:00
00:00
Newgrounds Background Image Theme

mike181 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

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!

...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,775
Faves:
7
Votes
24
Score
3.41 / 5.00

Uploaded
Oct 8, 2003
12:51 AM EDT