HOME | DD

samuraichi — Flash game movement tutorial by-nc-nd

Published: 2007-07-16 15:42:58 +0000 UTC; Views: 11294; Favourites: 186; Downloads: 371
Redirect to original
Description just a tutoral for flash movement.
using a keyboard^_^
Related content
Comments: 113

edster9 In reply to ??? [2008-04-16 12:32:34 +0000 UTC]

Thanks

👍: 0 ⏩: 1

zarimox In reply to edster9 [2008-04-16 16:54:03 +0000 UTC]

Your welcome.

👍: 0 ⏩: 1

edster9 In reply to zarimox [2008-04-16 20:31:33 +0000 UTC]

So...

👍: 0 ⏩: 0

samuraichi In reply to ??? [2007-07-26 22:29:34 +0000 UTC]

np^_^

👍: 0 ⏩: 0

triomango In reply to ??? [2007-07-18 11:55:56 +0000 UTC]

WOW THIS IS A BIG HELP! How do I make my Character move up and down??

👍: 0 ⏩: 2

Arukado In reply to triomango [2007-08-02 10:02:48 +0000 UTC]

I'm guessing it might be like this?

if (Key.isDown(Key.UP)) {
this.walk = true;
this.walkdir = 'north';
this.gotoAndStop('walknorth';
this._x += 7;
}

if (Key.isDown(Key.DOWN)) {
this.walk = true;
this.walkdir = 'south';
this.gotoAndStop('walksouth';
this._x += 7;
}

} else if (this.walkdir == 'north' {
this.walk = false;
this.gotoAndStop('facenorth';
}

} else if (this.walkdir == 'south' {
this.walk = false;
this.gotoAndStop('facesouth';
}

I actually don't know how to code, so I'm just guessing here.
Sorry if you have it figured out already xD;

👍: 0 ⏩: 1

triomango In reply to Arukado [2007-08-03 11:15:15 +0000 UTC]

oh let me try

👍: 0 ⏩: 1

Arukado In reply to triomango [2007-08-03 11:26:40 +0000 UTC]

Hope it works!..Sorry if it doesn't DX

👍: 0 ⏩: 0

samuraichi In reply to triomango [2007-07-18 14:08:54 +0000 UTC]

i know how to do it but i dont know how to explain it... ill get back to yewh when i make the script..^^_

👍: 0 ⏩: 0

samuraichi In reply to ??? [2007-07-16 15:46:46 +0000 UTC]

heres the script for all yewhll that will say whats the big script and stuff>_<
noobs^_^

onClipEvent (enterFrame) {
       if (Key.isDown(Key.RIGHT)) {
               this.walk = true;
               this.walkdir = 'east';
               this.gotoAndStop('walkeast';
               this._x += 7;
       } else if (Key.isDown(Key.LEFT)) {
               this.walk = true;
               this.walkdir = 'west';
               this.gotoAndStop('walkwest';
               this._x -= 7;
       } else if (this.walkdir == 'west' {
               this.walk = false;
               this.gotoAndStop('facewest';
       } else if (this.walkdir == 'east' {
               this.walk = false;
               this.gotoAndStop('faceeast';
       }

👍: 0 ⏩: 1

sassianne In reply to samuraichi [2007-11-25 04:00:17 +0000 UTC]

it says 1087: Syntax error: extra characters found after end of program.

👍: 0 ⏩: 1

XMugenBoyX In reply to sassianne [2012-03-13 07:40:08 +0000 UTC]

lol I think you copied the smileys too.
[I know im replying to something that's 5 years old but still lol]

👍: 0 ⏩: 0


<= Prev |