by Dansul » Sun Jul 18, 2010 12:32 am
It would help if you put the code you are using up for others to debug. I used the below code to counter act the movement of my player resulting in him stopping. My player's speed was set at -4 when he moved left on the screen so I made this code to "push" him to a stop. This way is buggy and there is probably a better way out there. Best I can do. Good Luck!
- Code: Select all
if(this.hitTest(_root.player)){
_root.player._x += 4;
}