Currently, I have a scrolling starfield in my space game that moves from right to left across the screen. This effect is nice, but I want something more immersive: I want the starfield to scroll in the opposite direction of the player movement.
For example, when the player ship moves up on the screen, the starfield will scroll down at some speed (there will be a speed cap for the scrolling).
Does anyone have ideas on how this would be done?