Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,208,803 members, 8,003,835 topics. Date: Friday, 15 November 2024 at 08:19 PM

Don't Joke With These Math Topics If You Want To Be A Successful Game Dev - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Don't Joke With These Math Topics If You Want To Be A Successful Game Dev (2660 Views)

Game Dev / Game Dev : Pixel Art Gallery / Elearning Website Development: Top 12 Tips For Creating A Successful Marketplace (2) (3) (4)

(1) (2) (3) (Reply) (Go Down)

Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 8:33am On Sep 11, 2020
I know that mathematics is not necessarily a requirement to be a good programmer, but there are some aspects of programming that no matter how hard you try, you just cannot escape mathematics and physics. To score a decent job in data science, machine learning, computer graphics, and cryptography, omo you need strong math skills oo.

1. Vectors /Advanced Vectors/Scalars
If you plan on being a game programmer, buckle up because a lot of mathematics is waiting for you. It is said that in game programming, even the smallest things require a lot of mathematics to implement. Vectors/Advanced Vectors are usually used when you are trying to calculate what direction the enemy is facing, when the enemy should begin to start chasing the player and much more. Other topics you will need as a game programmer involve: Co-ordinates, Matrices and transforms, Linear algebra and much more.

2. Trigonometry
If you ever wonder how the hills in 3D games are rendered. Well, you will need a good knowledge of trigonometry and sine waves. Using the formula y=simplex(X) and an algorithm called "Matching Cubes", you can render much more natural looking hilly terrain. The matching cubes algorithm will generate a mesh from the 3D simplex noise. Using other concepts like interpolation, where we use some voxel data to estimate where the terrain intercepts the edges of this matching cube. Yeah, all this mathematics is what is needed in order to render a hill/mountain in our game. Thankfully, we have the greatest resource in the world, the internet. There are a lot of matching cubes algorithms on the internet that you can explore and learn more.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 8:35am On Sep 11, 2020
Except if you plan on building Your Own game engine 1 and 2 aren't needed in depth, I've used unity a lot and I didn't really need that.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 8:38am On Sep 11, 2020
SegFault:
Except if you plan on building Your Own game engine 1 and 2 aren't needed in depth, I've used unity a lot and I didn't really need that.
UNITY WONT GENERATE A HILLY TERRAIN FOR YOU. Unity is just there to cut down the development time!! Now don't get me wrong, Unity is very powerful and a lot of things can be done, without coding it. But in a situation where you are creating a game that auto-generates levels, or a game that is endless, (for example, Subway surfers), you will need good knowledge of mathematics, in order to communicate with Unity more efficiently (telling it, how it is supposed to generate level, how the obstacles should be placed, and much more)
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 9:08am On Sep 11, 2020
Talk24:
UNITY WONT GENERATE A HILLY TERRAIN FOR YOU. Unity is just there to cut down the development time!! Now don't get me wrong, Unity is very powerful and a lot of things can be done, without coding it. But in a situation where you are creating a game that auto-generates levels, or a game that is endless, (for example, Subway surfers), you will need good knowledge of mathematics, in order to communicate with Unity more efficiently (telling it, how it is supposed to generate level, how the obstacles should be placed, and much more)
You're right, I remember seeing something like that on YouTube.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Etinosa1234: 9:49am On Sep 11, 2020
So because I want to create a website , I should Goan do vector and calculus?
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 9:52am On Sep 11, 2020
Etinosa1234:
So because I want to create a website , I should Goan do vector and calculus?

Did you read this part:
To score a decent job in data science, machine learning, computer graphics, and cryptography, omo you need strong math skills oo.

I never mentioned web development

2 Likes

Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by ReactGA: 4:38pm On Sep 11, 2020
@ op Talk24

I don't even know where to start.

OK first Maths is not the same as statistics.

Secondly, calculus is not really required except u are working on complex algorithm like sub surface scattering, directional occlusion probe e.t.c basically Calculus is for game engine makers and I have never had any reason to use it.


Also matrices is only required in shaders (well its somehow part of game dev) but they are node based shader solutions now. So upcoming game devs might not to learn matrices.

Also when replying to SegFault, endless runner like subway surf, temple run does not need procedural terrain generation just re-render what's behind in front again and it keeps looping.

I think u are an upcoming game dev. Keep it up (I'm also upcoming bt with good experience)

@ SegFault seems you're not really into game dev for you to say Vector calculations are not really needed In depth . maybe u just use unity ones a while or u just have it on ur computer thinking u know unity.

Have u mess around with Vector4 and Quaternion??
Do you know what gimbal lock does??
So many Vector questions I can ask you which I doubt u can answer.

One need in depth knowledge of vectors,geometry and trigonometry to be a good game developer in fact

60% of maths in game dev is Vector calculations d remaining goes to trigonometry and geometry.

In summary game development (along with graphics programming) is arguably the most difficult aspect of programming

Cc : lalastica
Cc: mynd44

1 Like

Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 5:29pm On Sep 11, 2020
ReactGA:
@ op Talk24

I don't even know where to start.

OK first Maths is not the same as statistics.

Secondly, calculus is not really required except u are working on complex algorithm like sub surface scattering, directional occlusion probe e.t.c basically Calculus is for game engine makers and I have never had any reason to use it.


Also matrices is only required in shaders (well its somehow part of game dev) but they are node based shader solutions now. So upcoming game devs might not to learn matrices.

Also when replying to SegFault, endless runner like subway surf, temple run does not need procedural terrain generation just re-render what's behind in front again and it keeps looping.

I think u are an upcoming game dev. Keep it up (I'm also upcoming bt with good experience)

@ SegFault seems you're not really into game dev for you to say Vector calculations are not really needed In depth . maybe u just use unity ones a while or u just have it on ur computer thinking u know unity.

Have u mess around with Vector4 and Quaternion??
Do you know what gimbal lock does??
So many Vector questions I can ask you which I doubt u can answer.

One need in depth knowledge of vectors,geometry and trigonometry to be a good game developer in fact

60% of maths in game dev is Vector calculations d remaining goes to trigonometry and geometry.

In summary game development (along with graphics programming) is arguably the most difficult aspect of programming

Cc : lalastica
Cc: mynd44
Of course I am not really into it, remember some guy named brackeys on YouTube was teaching linear algebra (this is what vectors, quarternion and all fall under), I even started learning linear algebra because of 3d graphics and all that. It's just that I forgot a lot of things, it's been a year since I last laid my hands on unity and I've literally forgotten everything about it.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by tensazangetsu20(m): 6:20pm On Sep 11, 2020
The reason many Nigerians seem to be bad at math is the horrible teachers many of us had growing up in primary, secondary and up to the university level. If you watch videos about schools in Asia and see how they take their math classes, you would weep here. Little wonder they are almost all lords in maths. We really need to change the way we teach science subjects or we will forever lag behind others. No black person is yet to participate in the international Olympiad of Informatics talk less of winning it. The teaching here sucks.

2 Likes

Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by ReactGA: 6:23pm On Sep 11, 2020
SegFault:

Of course I am not really into it, remember some guy named brackeys on YouTube was teaching linear algebra (this is what vectors, quarternion and all fall under), I even started learning linear algebra because of 3d graphics and all that. It's just that I forgot a lot of things, it's been a year since I last laid my hands on unity and I've literally forgotten everything about it.

No qualms bro. I didn't even need to learn vectors from brackeys, I'm Already in maths dept in school
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 8:26pm On Sep 11, 2020
ReactGA:


No qualms bro. I didn't even need to learn vectors from brackeys, I'm Already in maths dept in school
Oh you watch brackeys too, nice. Hmm maths guys, I dey feel una. If Nigerian teachers were not the way they were I would have loved maths.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Sulele04(m): 9:24pm On Sep 11, 2020
Mr stanliwise will not like this post.

1 Like

Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 9:45pm On Sep 11, 2020
Sulele04:
Mr stanliwise will not like this post.
You ran from the other thread
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 12:53am On Sep 12, 2020
ReactGA:
@ op Talk24

I don't even know where to start.

OK first Maths is not the same as statistics.

Secondly, calculus is not really required except u are working on complex algorithm like sub surface scattering, directional occlusion probe e.t.c basically Calculus is for game engine makers and I have never had any reason to use it.


Also matrices is only required in shaders (well its somehow part of game dev) but they are node based shader solutions now. So upcoming game devs might not to learn matrices.

Also when replying to SegFault, endless runner like subway surf, temple run does not need procedural terrain generation just re-render what's behind in front again and it keeps looping.

I think u are an upcoming game dev. Keep it up (I'm also upcoming bt with good experience)

@ SegFault seems you're not really into game dev for you to say Vector calculations are not really needed In depth . maybe u just use unity ones a while or u just have it on ur computer thinking u know unity.

Have u mess around with Vector4 and Quaternion??
Do you know what gimbal lock does??
So many Vector questions I can ask you which I doubt u can answer.

One need in depth knowledge of vectors,geometry and trigonometry to be a good game developer in fact

60% of maths in game dev is Vector calculations d remaining goes to trigonometry and geometry.

In summary game development (along with graphics programming) is arguably the most difficult aspect of programming

Cc : lalastica
Cc: mynd44
Programming Language development is the hardest thing ever in programming. Quote me anywhere.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 1:10am On Sep 12, 2020
DanTheGeek:

Programming Language development is the hardest thing ever in programming. Quote me anywhere.
To your I guess grin grin grin
have you heard of Game programming?? or AI or Machine learning??
Grand theft auto 5 was written with about 50 million lines of codes and the algorithm for the sun ray alone was killing...
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 1:12am On Sep 12, 2020
stanliwise:
To your I guess grin grin grin
have you heard of Game programming?? or AI or Machine learning??
Grand theft auto 5 was written with about 50 million lines of codes and the algorithm for the sun ray alone was killing...

Without the design and structure of the underlying programming language the game and codebase will be useless.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 1:18am On Sep 12, 2020
DanTheGeek:


Without the design and structure of the underlying programming language the game and codebase will be useless.
Are you stating the importance of a programming language or it’s difficult?
You dey loose concentration o
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 1:42am On Sep 12, 2020
stanliwise:
Are you stating the importance of a programming language or it’s difficult?
You dey loose concentration o

If the language was not built and designed properly applications can't be built on top of it nah... I'm stating the importance of the language and the fact that designing a language is the real deal. Applications just merely plug into the API of the programming language. If you're hardcore enough you should understand what I'm saying and agree.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 1:50am On Sep 12, 2020
DanTheGeek:


If the language was not built and designed properly applications can't be built on top of it nah... I'm stating the importance of the language and the fact that designing a language is the real deal. Applications just merely plug into the API of the programming language. If you're hardcore enough you should understand what I'm saying and agree.
You have moved from language to API now. You need to slow down and think things out abeg.
Most library are not part of the core language and shouldn’t be referred as the language itself. Many library were built by independent coders.
Golang is the language use for Uber. Does this mean Golang is more difficult than Uber. Certainly not. It is just an instrument to implement the complex polygon logic of Uber.
Google app is more complex than C, python, Golang compilers, although coded with C undecided and Golang
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 1:56am On Sep 12, 2020
stanliwise:
You have moved from language to API now. You need to slow down and think things out abeg.
Most library are not part of the core language and shouldn’t be referred as the language itself. Many library were built by independent coders.
Golang is the language use for Uber. Does this mean Golang is more difficult than Uber. Certainly not. It is just an instrument to implement the complex polygon logic of Uber.

You clearly don't know anything about APIs. The API is the only reason an application can communicate with the programming language. I can build an Uber clone within a few weeks but a Golang clone will take months to design. Why are you talking like a rookie, you are about to lose my respect.

Google wasn't built with one language nah, it's a combination of many programming languages with complex data structures and algorithms which makes it naturally more complicated than a single programming language. Some libraries are written in C directly for Google.

Most libraries are not part of the core language but are built from what? Sand? Ogbeni park well.

1 Like

Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 2:03am On Sep 12, 2020
DanTheGeek:


You clearly don't know anything about APIs. The API is the only reason an application can communicate with the programming language. I can build an Uber clone within a few weeks but a Golang clone will take months to design. Why are you talking like a rookie, you are about to lose my respect.

Google wasn't built with one language nah, it's a combination of many programming languages which makes it naturally more complicated than a single programming language. Some libraries are written in C directly for Google.

Most libraries are not part of the core language but are built from what? Sand? Ogbeni park well.
May God forgive you for this statement, you are clearly ignorant about how Uber load balance those strategy used to pick you up.
They spend $Millions.
I am disinterested in this discussion.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 2:06am On Sep 12, 2020
stanliwise:

May God forgive you for this statement, you are clearly ignorant about how Uber load balance those strategy used to pick you up.
They spend $Millions.
I am disinterested in this discussion.

There's nothing special about it. I have a friend working at Gokada, I went through his laptop and was able to go through their ride hailing implementation it's no different from what Otrek, OCar, Lyft and co uses. In fact it's an open source library. The load balancing and all that gibberish is just to make sure the application scales and if you're talking about scalability then you're the one diverting here.

1 Like

Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 2:10am On Sep 12, 2020
stanliwise:
To your I guess grin grin grin
have you heard of Game programming?? or AI or Machine learning??
Grand theft auto 5 was written with about 50 million lines of codes and the algorithm for the sun ray alone was killing...
Oh boy no talk that thing, compiler construction is fucking difficult.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 2:12am On Sep 12, 2020
DanTheGeek:

Programming Language development is the hardest thing ever in programming. Quote me anywhere.
Have you tried OS development, the bootloader alone is enough to send you nuts, not to talk about having to understand hardware and stupid annoying chips, then worst of all paging sad
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 2:14am On Sep 12, 2020
SegFault:

Oh boy no talk that thing, compiler construction is fucking difficult.
I can build a compiler. Compiler is not hard jare. What are you saying. We have thousand of compiler. Just say it is hard to develop a good compiler
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 2:16am On Sep 12, 2020
DanTheGeek:


There's nothing special about it. I have a friend working at Gokada, I went through his laptop and was able to go through their ride hailing implementation it's no different from what Otrek, OCar, Lyft and co uses. In fact it's an open source library. The load balancing and all that gibberish is just to make sure the application scales and if you're talking about scalability then you're the one diverting here.
so what is now the topic about. Compiler becomes difficult for scalability.
On ground level, me and you can sit and code a compiler in one week. So what is now your argument?
I coded a slow compiler in 300level. I don’t see anything so hard. Except you go into bare metal coding like Rust which is built to be robust. Why should a compiler be hard?
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 2:19am On Sep 12, 2020
stanliwise:
I can build a compiler. Compiler is not hard jare. What are you saying. We have thousand of compiler. Just say it is hard to develop a good compiler
Exactly, which is why papers and articles are still being written on parsing techniques till this day.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 2:29am On Sep 12, 2020
SegFault:

Have you tried OS development, the bootloader alone is enough to send you nuts, not to talk about having to understand hardware and stupid annoying chips, then worst of all paging sad

I've touched virtually everything in programming including OS development and believe me when I tell you that programming language development is the hardest thing to do in programming. You need to first build a lexical analyzer which can drive you nuts if you're not strong with regular expressions then you need to build a parser generator then you have to build an interpreter or compiler depending on the type of language you're building. You see building a full fledged compiler/interpreter isn't beans I'm not talking of a basic one that addresses a tiny problem I'm talking of one that uses an abstract syntax tree to solve countless computing problems and can be used to interact with system hardware including graphics card. And the difficulty depends on how deep you wanna go, like building a programming language without using another programming language.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 2:31am On Sep 12, 2020
SegFault:

Exactly, which is why papers and articles are still being written on parsing techniques till this day.
If it is that one then compiler construction dey learn when it comes to Os development, Virtual System, Cloud softwares, Game engines, Bare metals, embedded system.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 2:39am On Sep 12, 2020
stanliwise:
I can build a compiler. Compiler is not hard jare. What are you saying. We have thousand of compiler. Just say it is hard to develop a good compiler

A basic compiler is not difficult and will probably be very useless (not much use case scenario for it) but a useful compiler can easily take years to build.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by stanliwise(m): 2:45am On Sep 12, 2020
DanTheGeek:


You clearly don't know anything about APIs. The API is the only reason an application can communicate with the programming language. I can build an Uber clone within a few weeks but a Golang clone will take months to design. Why are you talking like a rookie, you are about to lose my respect.

Google wasn't built with one language nah, it's a combination of many programming languages with complex data structures and algorithms which makes it naturally more complicated than a single programming language. Some libraries are written in C directly for Google.

Most libraries are not part of the core language but are built from what? Sand? Ogbeni park well.
This part remove -1 from your rating. So google is more complex because it was built with more than one language abi? SMH
I was expecting you to talk of google cloud architecture and the search algorithms to make billions of search per seconds. Instead you fall my hand.
You said api are what is used to communicate with a language. Then you just remove -1, API are stateless communication between two applications. It is not to a language.
Re: Don't Joke With These Math Topics If You Want To Be A Successful Game Dev by Nobody: 2:52am On Sep 12, 2020
stanliwise:

This part remove -1 from your rating. So google is more complex because it was built with more than one language abi? SMH
I was expecting you to talk of google cloud architecture and the search algorithms to make billions of search per seconds. Instead you fall my hand.
You said api are what is used to communicate with a language. Then you just remove -1, API are stateless communication between two applications. It is not to a language.

Not only applications have an API programming languages do too, applications only communicate publicly either stateless or stateful via REST or SOAP. According to wikipedia “In computer programming, an application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application software. In general terms, it is a set of clearly defined methods of communication between various software components”

You just embarrassing yourself bro.

1 Like

(1) (2) (3) (Reply)

Why I Think Animation Is A Better Career Path Compared To Software Development / I Want To Apply For NIIT Or Any IT Institution. / .

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 90
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.