Player should “slide” if shift key is held. That is, they should maintain their speed and direction even if they turn to face another direction. This effectively allows for “strafing”.
when shift is released, ship should not immediately snap to new direction at default speed. The ship dx/dy should smoothly transition from old speed to new.
Maybe have damping and acceleration to bring dx/dy closer to goal, like we do with angle and goalAngle?
Player should “slide” if shift key is held. That is, they should maintain their speed and direction even if they turn to face another direction. This effectively allows for “strafing”.
when shift is released, ship should not immediately snap to new direction at default speed. The ship dx/dy should smoothly transition from old speed to new.
Maybe have damping and acceleration to bring dx/dy closer to goal, like we do with angle and goalAngle?