gamemakea
02-22-2008, 09:10 PM
im makin a game where there i a guy walking, i got his legs moving and him moving(easy). But when i move him his legs don't move until after i let go(when he stops moving his legs start).
Heres my code
onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
this._x += 5;
gotoAndPlay(2)
}
if(Key.isDown(Key.LEFT)){
this._x -= 5;
gotoAndPlay(2)
}
}
Also i dont know how to but when he stops i want his legs to stop :rolleyes::mad::):cool:
Heres my code
onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
this._x += 5;
gotoAndPlay(2)
}
if(Key.isDown(Key.LEFT)){
this._x -= 5;
gotoAndPlay(2)
}
}
Also i dont know how to but when he stops i want his legs to stop :rolleyes::mad::):cool: