AS3 - Friction(?) causing Movie Clip to jump, temporarily alter path (playable SWF included)
- 阅读更多 关于 AS3 - Friction(?) causing Movie Clip to jump, temporarily alter path (playable SWF included)
问题 Im making a game in FlashBuilder where the player controls a movieclip (_character) around the stage with the arrows or WASD. On the stage there are squares/boxes with collision detection and a 50 pixel border around. While testing Ive noticed that if I hold a direction key, then switch to another AND the MovieClip is travelling past a gap in the boxes, the movieclip will jump a few pixels in the previous pressed direction, then back down again quickly. It’s a split second flicker but creates