HOME | DD

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
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
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 |