I am working on an asteroids-ish game and am just not seeing what I need to do with the shots.
The ship is always in the center of the screen.
The behavior I am trying to achieve is that no matter how fast the ship is moving, firing in any direction results in shots moving away from the ship at a constant rate.
In other words, if the ship is moving very fast from upper right to lower left, then a shot fired at the lower left corner should take the same time to reach that corner as a shot fired towards the upper right corner.
Currently, the new shot object starts out with the same movement vector as the ship and I add a fixed amount of thrust in the direction of fire. This results in variable speed and apparent direction when moving fast. I know I need to adjust based on the current movement vector, I am just not sure of the operation(s) I want to perform.