d4rkst0n3
Posts: 0
Joined: Jul 2025
how could i make it so when i press left or right he actually walks and when i let go, he doesnt move?
if(Key.isDown(Key.LEFT)) {
_root.char.gotoAndStop(walkframe);
if(_root.char._xscale > 0) {
_root.char._xscale *= -1;
}
//Insert other actions here
} else if(Key.isDown(Key.RIGHT)) {
_root.char.gotoAndStop(walkframe);
if(_root.char._xscale < 0) {
_root.char._xscale *= -1;
}
//Insert other actions here
} else {
_root.char.gotoAndStop(standframe);
}
And draw your character facing right.
andyjaxon
Posts: 0
Joined: Jul 2025
you dont go on this crap tut you go to d4rkst0ne3 tut coz thats way easyer
StickShaz
Posts: 0
Joined: Jul 2025
nice :D im gonna try that out
SketchWork
Posts: 0
Joined: Jul 2025
Help, :confused: I can make a guy move around but i can't make the guy stand on the platform. :( what do i do?
ninjapanda
Posts: 0
Joined: Jul 2025