Hey I'm typing out some old AUM workshops to improve my skills. I was just wondering if anybody can explain to me how the following two lines of code work:
player_speed.x = 20 * mouse_force.y * time_step;
player_speed.y = -15 * mouse_force.x * time_step;
I understand what it does (it moves a little ship up, down, left, and right) but I don't understand why the player_speed.x is controlled by mouse_force.y. I thought it would be mouse_force.x.
If anybody has the time to answer this dumbass question, that would be really awesome.