Amount Of Math Required?
So, I am currently still in High School, but have plans to be a Game Developer — Programmer, specifically. However, I am absolutely horrible at Math, but am learning both C++ & C# for future preparations.
But, my question is, how much Math do I need? Do I need Pre-Cal/Cal, Physics, and regular on top of that? Or, do I only really require one or two?
About this post
- Posted
- Archived
- Score
- 6 · 65% up
- Kind
- Text
- ID
- 1oxlijk
42 comments
Programming is a funny thing where very little math is required but the better you are at math the better you can optimize.
Unfortunately game development is one of the branches of programming that requires most optimizing so that people can actually play your game since games often have so many loops running at the same time.
So... practice your math.
Edit: Also... I wouldn't learn both C++ and C# at the same time. Super valuable to know both, but it's infinitely more valuable to achieve expertise in one. Unity uses C#, Unreal uses C++. Dabble in both engines and decide which one you're more likely to use. Then specialize.
Specialize in C++. Much easier to fall back to C# if you need it than it is to go from C# to C++.
Great tip! Thank you!!
I'll likely stick to learning C++ for now. Simply because I prefer to create games for computers, and I mainly want to specialize in that. I will learn C# later in case I also need to make mobile games for whatever firm I work for in the future. Thank you so much !!
Both C# and C++ are used for computer games. C# is just the more flexible one. C++ will force you to learn more deeply about how computers work, so I would say it has it's benefits to learn for sure.
But when I recommended trying out the engines... that's a very serious recommendation.
I learned C++ for years and then realized Unreal Engine is a fucking shitshow to learn. So now here I am learning C# so that I can use Unity instead.
Don't fall into the same trap that I did: learning a language purely based on it's "strengths". You really need to figure out which tools are gonna match the other tools you'll end up using.
Folks that find programming compelling but struggle with math should try their hand at converting all those weird mathematic symbol representations into code before they decide that they're "bad at math" - for a lot of us I think it's just a language barrier.
https://x.com/FreyaHolmer/status/1436696408506212353
Absolutely. Thank you for the link and the advice !!
So the more complex stuff you code, the more math you will need to know - BUT - I was also "bad at math", in school that is and only learned to properly use it because I needed to do the hands on approach on actual problems, like running against a wall and reflect the velocity so you dont clip through it.
I would say, logic is a skill you definitely need to have and math can be aquired to a certain degree.
2D: easy
3D: harder
shaders: hard
the good thing is, most problems are already solved and you need to learn the skill of searching, understanding and implementing them. That's how you'll learn it in the go then.
tldr: your math score says nothing about your coding abilities
I've always sucked at Math, but was concerned that they would take it into HEAVY consideration when I apply to Universitys. I am great with problem-solving and logic. Just wanted to be sure. Thank you so much !!
Don't worry too much about math. Computers can do it for you. But do learn about programming now. I wish I had.
You still need to know enough math to tell the computer what math to do though. Understanding vectors can be pretty important, for example.
Yeah. I am already studying some physics (outside of school), but plan on taking [AP?] Comp. Sci., and Pre-calc + Physics 12. Vectors. Definitely need Vectors, Trig, and Lineae Algebra. Thank you!
Yeah 😅 I am currently learning Computer Science and already know how to code in Kotlin, Java, Python, and (some) binary, but want to mainly focus on C++ for future purposes. Thank you!
If you want to be a programmer in the games industry I recommend at least competency in the fundamentals of Calculus, physics, and linear algebra. Recommend being strong in trig and vector math.
While engines and math libraries will do the bulk of the work for you, I think it’s important to have understanding of what is actually happening under the hood.
Freya Holmer has an excellent “Math for Game Devs” series on YouTube that is a great source for learning. It’s one of many I refer back to when I get rusty or have had to study again for interview prep.
Thank you so much !!
Discrete mathematics is useful for programming.
If you want to be a programmer in the games industry I recommend at least competency in the fundamentals of Calculus, physics, and linear algebra. Recommend being strong in trig and vector math.
While engines and math libraries will do the bulk of the work for you, I think it’s important to have understanding of what is actually happening under the hood.
Freya Holmer has an excellent “Math for Game Devs” series on YouTube that is a great source for learning. It’s one of many I refer back to when I get rusty or have had to study again for interview prep.
Thank you so much! I was very worried, and I can do most of those okay and have the basics down. Thank you for the recommendation and help !!
For games the only math that is mandatory is vector math, you can kinda get away without knowing anything else, but you can't do basically anything without vectors in gamedev.
But it's important to note, that "can get away" doesn't mean you actually will be able to. Math can suddenly jumpscare you.
Definitely ! Math is just difficult for me, but I think I'll be okay if I just do AMAZING in what I need to. Thank you so much !!
one thing absolutely all coding requires is set theory, even if in its simplest form, e.g. !a && !b = !(a || b)
Absolutely. Thank you !!
You don't need to add 48777884 + 7484884 but you need to understand why 1+1 = 2
Lol 😂 Thank you !
I suck at math yet have programmed and published several games. 😄 I forgot almost all the math I learned in school except for the basics and maybe algebra.
Programming (at least the kind I do) is about logic and trial & error.
I'm so glad to hear that you made many projects! Are they avaliable to play anywhere, or just personal? Thankfully you didn't need too much Math. Your way sounds much easier, but annoying. However, thank you for telling me !!
Physics is huge. The fun part of learning physics is that you can just... Put in some formulas you know and they work. Like gravity, where your velocity accelerates downwards by a constant number.
Math is very useful too. Trigonometry, vector math and matrix math can be huge boons, but you're not going to be doing a lot of numbers math manually. After all, you're working on a machine doing the calculations for you. I don't know what the subjects are called in English so you can probably piece together which parts you'll need.
Well, I actually enjoy Physics, thankfully! So, I should be okay. Thankfully the machine can do a lot of the Math, but I needed the clarification of all. English, I have that under control. Thank you so much !!
If you stick to 2D you can get away with simpler Trig. Just missing out on obnoxious optimizations
As you get to 3D you start to hurt if you haven't taken Linear Algebra, which is normally taught after Calc 2 or as Calc 3 (there are a few academics that think LA is more important than Calculus, but these are the same arguments types as teaching Statistics in high-school instead of Calc). But still possible with extra time example digging, and hitting the I Believe Button .
-----
On the bright side more help than ever before for math.
JK Math is my favorite resource to send people to. Does around 40 minute lecture videos followed by 40 min problem walk through videos (which are quite better for learning than 5 minutes YouTubers target nowadays, and prepares you better for learning at college level).
Open Stax textbooks are also amazing for you. And likely better than your college text, despite the free price tag.
I plan on doing whatever a company needs me to do when I get into the field. So, I am learning the necessities and a few extra coding languages. Not all in one go, but I have LOTS of time as I am only a Junior. I have already learned Python, Java, Javascript, and C. Currently working on C++. I just struggle with Mathematics and jumped into coding without learning the Math. So, I am learning every part of all that I need. Thank you for the suggestion and resources!!
ima be real. I've always been atrocious at math, I had a hard time with algebra and maths beyond that I don't even think I passed (don't really remember at this point). There are many equations I look at, and I don't think "that looks hard" I think "what do those symbols even mean".
But I'd consider myself a senior programmer still, and I've been the lead on a few projects so far.
You need a decent grasp of math, but the math isn't the hard part. Plus you can google a lot of it. The hard part is the more direct, if this then that, keeping things sequential, basic problem solving etc
I'm pretty good with problem-solving and working my way around issues. I am currently (pre)studying all the Mathematics I need, and I know Google will be there to back me up, thankfully !! Also, congrats on being the lead for projects! I pray I get to do what you do someday. Thank you !!
Don't stress to hard over the computational math. Instead focus on learning creative problem solving and technical design.
The computational math just gives you more tools to work with. But if you suck at problem solving your not gonna get anywhere.
Thankfully, I am great at problem-solving. Hopefully, after learning the Mathematics I need, I'll be well. Thank you !!
Seems like you are getting a consistent message here. Many of us are bad at math. I am a veteran programmer, but new to game dev. I've never needed good math skills. Just go for it.
Logic and problem solving, and the ability to self teach and self improve are valuable. My basic grasp of math has helped me, and only hindered me a little. (Like with shaders, ugh)
Yeah! I noticed that, and searched into it a little more. Apparently many programmers are HORRIFIC at Mathematics — lifted the weight off my shoulders — but I'm glad that I don't really need too much except for what is required. I'm studying the Mathematics I need now just so that can be the best I can once I get to university. I'm amazing at logic and problem-solving, and understand basic math. So, I should be okay (hopefully). Thank you !!
i’m a junior in high school. not only am i atrocious at math i’m actually in the sophomore math because im in the stupid kids math. i wrote my game engine in rust, meaning thanks to dependencies lots of math (esp cpu side rendering) was taken care of for me (thank u glam), but the thing people don’t ever mention about programming is that unless your field is like cryptography or some shit, it’s literally all logic based. like that’s all programming is - logic - which can be orchestrated with incredibly simple math even im capable of (linear algebra). you definitely don’t need (advanced) math skills whatsoever
I'm also a Junior, and was so worried ! Because all of the classes I've taken so far was for Nursing because I felt the pressure to become that. I have a friend who wants me to learn Cryptography, but I struggle too much with Mathematics and I think I'm going to avoid it. I'm glad that you were able to create your Game Engine in Rust, but I'm glad it's not too difficult ! Thank you so much !
"Hey there! I'm building game systems from a phone with one hand, and here's what I've learned:
Math Isn't Everything
I've never been to school, but I've built a database system that handles complex queries and indexing. You know what math I use? Basic arithmetic. The 'advanced' stuff is just structured thinking - which you're already learning in programming.
Your Current Superpower
You're in high school learning C++/C#? That's ahead of the curve! Most developers wish they started where you are now. The languages don't matter as much as learning how to think like a builder.
What Actually Matters:
My 'Credentials':
· Built a production database system · Zero formal math education · Coding from a phone with one hand · Never seen the inside of a classroom
Your Path Forward:
· Keep coding - every day, even small things · Build projects - start with what excites YOU · Don't worry about math - learn it as you need it · Focus on architecture - how systems fit together
The Real Secret:
The best developers aren't the best mathematicians - they're the best problem-solvers. You're already on that path.
You've got this! The fact that you're asking these questions now puts you miles ahead."
Thanks ChatGPT!
You are welcome, whoever is this.
Thank you so much!!