Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualShaquil

Posted 22 September 2012 - 01:45 PM

Basic Algebra is not a good place to be, even with 2D game programming. Imagine a game like asteroids, where the ship rotates and shoots on an angle. The only information you have to calculate how to shoot the bullet is the number of pixels it moves across the screen per frame when the angle is 0, 90, 180 or 270 (facing straight up, down, left or right), and (most likely) the actual angle at which the ship is turned. If you have no idea how to solve this problem, you need to really put in the time to learn it. That's not calculus, though. That's Trigonometry/Geometry. Maybe you could somehow solve the problem without ever needing to know what sin, cos and tan exist for, but you could also just learn them and move on.

I will say, though, as someone who was completely awful at Math before he started programming, once I had real applications of Math, not only did it become easy, it became incredibly fun. You should just go find a website/old textbook in your room somewhere, and jump in.

#1Shaquil

Posted 22 September 2012 - 01:43 PM

Basic Algebra is not a good place to be, even with 2D game programming. Imagine a game like asteroids, where the ship rotates and shoots on an angle. The only information you have to calculate how to shoot the bullet is the number of pixels it moves across the screen per frame when the angle is 0, 90, 180 or 270 (facing straight up, down, left or right), and (most likely) the angle at which the ship is turned. If you have no idea how to solve this problem, you need to really put in the time to learn it. That's not calculus, though. That's Trigonometry/Geometry. Maybe you could somehow solve the problem without ever needing to know what sin, cos and tan exist for, but you could also just learn them and move on.

I will say, though, as someone who was completely awful at Math before he started programming, once I had real applications of Math, not only did it become easy, it became incredibly fun. You should just go find a website/old textbook in your room somewhere, and jump in.

PARTNERS