I want to program graphical 2D games more complex than the basic 2D stuff I already know. I don\'t want to do 3D programming. Just more complex 2D stuff. I dropped high school b
You need to be competent in Trigonometry: Wikipedia and Mathworld
Even though you don't wish to do 3D programming, 2D games also use vectors and matrices. (from Linear Algebra)
Linear Algebra resources: Wikepedia and Mathworld
One point that will save you a lot of effort in Trig programming is realizing the need for the atan2() function, rather than the atan() function. This is important when determining the direction between two points.
Being able to move between various coordinate systems is a big plus. This will come with experience. Two common things that trip people up are:
a) Most screen systems place the origin (0,0) in the upper left corner, with the positive x axis extending to the right and the positive y axis extending down. Standard Cartesian coordinates suppose the origin of Quadrant 1 (where x and y are always positive or zero) in the lower left. This requires a programmer to 'flip' the y orientation at some stage.
b) Typical geography places 0 degrees as North and positive degrees sweep clockwise. All the Trig functions place 0 degrees as East with positive degrees sweeping counter-clockwise.
Finally, even though we tend to think in degrees, real libraries will use radians. A best practice is to store angles as radians (in 'math' orientation rather than 'geo') and convert things when displaying debug information..