Well... I'm making yet another game and yet another problem has prevailed...
After he walks, he crouches... how can I fix this?
View
Download .fla
how do I fix this?
AS.2 help...
Started by: zer0gravity | Replies: 3 | Views: 532
Mar 1, 2010 5:14 AM #552077
Mar 1, 2010 7:31 AM #552111
Post the actual walking code brosef so we can have a look, I personally don't have flash installed but I doubt anyone else will bother to download it.
Mar 1, 2010 6:55 PM #552193
Well, im really new to actionscript, since im just a beginner...
i'll just tell you something what you probably have already thought of.. but anyways,,
i think you must do something like this
gotoAndPlay(3)
once it stops with the action.
gotoAndStop(1)
i think i dind't really help you at all, but it was worth the try ^^
i'll just tell you something what you probably have already thought of.. but anyways,,
i think you must do something like this
gotoAndPlay(3)
once it stops with the action.
gotoAndStop(1)
i think i dind't really help you at all, but it was worth the try ^^
Mar 2, 2010 10:53 AM #552421
move AS2.0(only right and left to move):
Man.onEnterFrame = function() {
if (Key.isDown(Key.RIGHT)) {
_root.Man._x += 6;
_root.Man.gotoAndStop(1);
}
if (Key.isDown(Key.LEFT)) {
_root.Man._x -= 6;
_root.Man.gotoAndStop(2);
}
};
Man.onEnterFrame = function() {
if (Key.isDown(Key.RIGHT)) {
_root.Man._x += 6;
_root.Man.gotoAndStop(1);
}
if (Key.isDown(Key.LEFT)) {
_root.Man._x -= 6;
_root.Man.gotoAndStop(2);
}
};