Essential Mathematics For Aspiring Game Developers

  Рет қаралды 377,880

javidx9

javidx9

Күн бұрын

This video outlines what I believe are some of the core principles you need to understand to make dynamic computer games, covering vectors, angles and motion. I've tried to present it in such a way that highlights the relationships between these principles, so you can identify when to use one or the other, or combinations of them. It is by no means an exhaustive list, but gives the beginner/aspiring games programmer a place to start.
Patreon: / javidx9
KZfaq: / javidx9
/ javidx9extra
Discord: / discord
Twitter: / javidx9
Twitch: / javidx9
GitHub: www.github.com/onelonecoder
Homepage: www.onelonecoder.com

Пікірлер: 695
@javidx9
@javidx9 3 жыл бұрын
Due to some IRL scheduling issues, my videos are a bit out of order. Anyway, I hope this helps all those that have asked me about "maths for games programming" over the last few weeks. Take care, stay safe!
@robinsingh4492
@robinsingh4492 3 жыл бұрын
Great Video. Well I guess basic knowledge of Physics like Motion and Optics will also help.
@alexsandergutierrezgoncalves
@alexsandergutierrezgoncalves 3 жыл бұрын
This is the best video, I really wanted something like that, thanks
@_caracalla_
@_caracalla_ 3 жыл бұрын
thanks a lot!
@carrivasv1
@carrivasv1 3 жыл бұрын
I recently begin watching your videos and I really like how clearly explain the concepts. Here will help us some knowledge of linear movement, but the idea is very clear... thanks
@joakin8535
@joakin8535 3 жыл бұрын
(opinion, by someone who pass by to time to time) I've heard this expression (don't remember when, but was said by one of Joe Rogan's guest) "...people tend to have something called the learning curse..." which means that people usually tent to avoid information because they believe everyone knows that kind of information. First of all I find this video amazing to all the people who want to dive into math for game programming. But by watching your youtube feed some of the titles seem kinda alienating or the content is way too specific. Some comments for sure will have excellent content for beginners, but we are all here because it's one of yours. Anyway I really like the video and it will be nice to see similar content like this one in other areas.
@lino2048
@lino2048 3 жыл бұрын
Pythagoras' Theorem 0:30 Vectors 4:29 Angles 13:04 Sine and Cosine functions 19:12 Dot Product 24:09 Linear Interpolation 35:07 Simple Motion 40:26
@robinsingh4492
@robinsingh4492 3 жыл бұрын
Optics is also necessary.
@sophiacristina
@sophiacristina 3 жыл бұрын
Javid should add this to the video description now that youtube can create video margins.
@rasterop1
@rasterop1 3 жыл бұрын
Pin this comment
@diegorosadossantos8493
@diegorosadossantos8493 3 жыл бұрын
UP UP UP UP
@mrdevolver7999
@mrdevolver7999 3 жыл бұрын
Headache 47:06
@davidmcgill1000
@davidmcgill1000 3 жыл бұрын
I think you chose the right angle to start this series on.
@sheepuff5999
@sheepuff5999 3 жыл бұрын
That joke was a sin().
@chrochetfan7274
@chrochetfan7274 3 жыл бұрын
@@sheepuff5999 I wave goodbye to you....
@potatoes8169
@potatoes8169 3 жыл бұрын
si(g)n..
@DlcEnergy
@DlcEnergy 3 жыл бұрын
a slight tangent, but that was almost acute joke
@DlcEnergy
@DlcEnergy 3 жыл бұрын
don't try angle jokes
@Xperto_
@Xperto_ 3 жыл бұрын
It seems like he's getting in shape
@LostAlienOnEarth
@LostAlienOnEarth 3 жыл бұрын
He's gonna be all jacked next flick.
@Vicente75480
@Vicente75480 3 жыл бұрын
Also noticed!!
@crapyguy1234
@crapyguy1234 3 жыл бұрын
@@Vicente75480 r/woosh
@Xperto_
@Xperto_ 3 жыл бұрын
@@crapyguy1234 Go back tor eddit
@crapyguy1234
@crapyguy1234 3 жыл бұрын
@@Xperto_ butthurt noob
@supahfly_uk
@supahfly_uk 3 жыл бұрын
Why couldn't the angle get a loan? His parents wouldn't cosine
@civ20
@civ20 3 жыл бұрын
For the first time in my life math actually made sense, and I enjoyed every second of the video. Thank you so much for actually sparking my interest in maths.
@jibbo123
@jibbo123 3 жыл бұрын
RHCP album cover
@drfreeman6796
@drfreeman6796 3 жыл бұрын
Consider that this is "simplifief" math! If he had to go trough all the demonstrations he would've bored the spectators.
@smirk1744
@smirk1744 2 жыл бұрын
These topics are not even that hard
@javidx9
@javidx9 2 жыл бұрын
That's constructive...
@digochuanxi9846
@digochuanxi9846 Жыл бұрын
Make your words my words dude! Thanks so much javidx9!
@outsider1st
@outsider1st 3 жыл бұрын
This is like the missing puzzle on the youtube when it comes to programming tutorials. Appreciate it!
@Ornoth09
@Ornoth09 3 жыл бұрын
Yes, those hundreds of BEGINNER tutorials then they stop uploading what to do next
@nomoturtle1788
@nomoturtle1788 3 жыл бұрын
I may not benefit from this video in particular, but I like that you made it, each one like this is another barrier removed for aspiring programmers. And thank you again for all the others. I hope you feel appreciated, because you are.
@code-dredd
@code-dredd 3 жыл бұрын
A good book I'd recommend is: _Foundations of Game Engine Development: Mathematics_ by Eric Lengyel. Not a paid ad and no relation; it's just one of the better books I've read that I'd recommend.
@Admiral_Ducky
@Admiral_Ducky 3 жыл бұрын
Thanks for sharing, I'm gonna read this book.
@snesmaniac228
@snesmaniac228 3 жыл бұрын
I had a professor recommend me _Game Coding Complete_ by Mike McShaffry. I highly recommend that if you are at an intermediate or above level of programming.
@daniboy2619
@daniboy2619 3 жыл бұрын
Sorry to necro this but are the explanations complete? Like are there proofs for every procedure presented, for example, inversing a tangent function out of nowhere?
@code-dredd
@code-dredd 3 жыл бұрын
@@daniboy2619 The book is intended to give you understanding on what things are (e.g. quaternions, vectors, matrices, etc), how they work, what things mean, etc. It has good explanations on how things relate to other things (e.g. quaternions to matrices) and so on. It's not a _pure maths_ text book; it's a text book about math, but _focused_ on and aimed at game development, so you must understand that maths here are a means to an end, not an end in and of itself.
@atagen2186
@atagen2186 3 жыл бұрын
it's a great book, but the grassman stuff towards the end gets pretty hefty
@iii720
@iii720 3 жыл бұрын
Wished all your contents were available 20 years ago.
@ripscru8032
@ripscru8032 3 жыл бұрын
its avaliable now
@iacobdenis-alexandru3562
@iacobdenis-alexandru3562 2 жыл бұрын
why?
@gower1973
@gower1973 3 жыл бұрын
Spent the last three months of lockdown relearning all the math I forgot from school and college so this is very timely
@andso7068
@andso7068 3 жыл бұрын
For what?
@spyrex3988
@spyrex3988 3 жыл бұрын
@@andso7068 it's good to not forget Maths
@Tech.Library
@Tech.Library 3 жыл бұрын
He is 47,so it's not surprising
@drfreeman6796
@drfreeman6796 3 жыл бұрын
@@Tech.Library It doesn't mean that everyone over a certain age forgets mathematics or physics, or whatever.
@recursiveidentity
@recursiveidentity 3 жыл бұрын
me too! I exempted all my math in college, so I haven't actually studied this since the late 80's!
@CleetusSilversurfer
@CleetusSilversurfer 3 жыл бұрын
Well, if my teacher in high school would make an example to use these vectors, like in a game, I would've actually payed attention. I just had a hard time learning things that I did not see any purpose at the time, but now I see why it's important. Very good explanation!
@tosockarlchristian868
@tosockarlchristian868 2 жыл бұрын
Same bro
@phenny1057
@phenny1057 Жыл бұрын
Same. Math is more understandable and enjoyable if they could connect it to a game. Would've love math fr
@Untoldanimations
@Untoldanimations 11 ай бұрын
L mindset
@JungoFunko
@JungoFunko 11 ай бұрын
​@@Untoldanimationsmore like L education system
@Untoldanimations
@Untoldanimations 11 ай бұрын
@@JungoFunko if you have access to the internet you can’t blame your education system
@isaacsurfraz3858
@isaacsurfraz3858 Жыл бұрын
Easily the clearest, best explained yet most concise maths for games video out there. Well done! I really like that you included actual applied examples for everything - why doesn't everyone do that!? Anyway you've gotten a sub out of me for this video alone!
@javidx9
@javidx9 Жыл бұрын
Hey thanks Isaac!
@AjinkyaMahajan
@AjinkyaMahajan 3 жыл бұрын
For the first time, I have understood the use of high school mathematics in a practical video game. Thanks for sharing ✨✨ Cheers
@antongerasin3871
@antongerasin3871 2 жыл бұрын
It's more like middle school.
@cxlappsed1548
@cxlappsed1548 2 жыл бұрын
that's not high school maths
@zeektm1762
@zeektm1762 Жыл бұрын
@@antongerasin3871 ?? a lot of this is not taught in middle school and if it is its probably in brief..
@neontiger2007
@neontiger2007 3 жыл бұрын
I'm loving this video lesson. Having an understanding of Math & Trigonometry becomes a MUST when you want to make videogames as I would like (in a professional way), and it's something that it's not frequently trivial for us programmers to approach. This video puts lots of clearance on these subjects in an intuitive and metabolizable way. Great work, man. Thank you! Hugs from Argentina.
@quicktastic
@quicktastic 3 жыл бұрын
Possibly the best and most straight forward explanation of a vector I've seen.
@Llamawithjetpack
@Llamawithjetpack 3 жыл бұрын
I'm always floored by your videos. They're so well organized and the logic flows from one point to another perfectly. Sometimes it's hard getting my head wrapped up in details and these fundamental building blocks are a phenomenal way to refresh/reorient my perspective to help me understand what's going on. Your channel is so awesome, I appreciate it more than I can explain.
@alizaidi5610
@alizaidi5610 3 жыл бұрын
The order in which you taught this and how each topic merges seamlessly into the next one is perfection. Excellent work!
@benjaminsmall
@benjaminsmall 3 жыл бұрын
Javid, you are the man. This breakdown and your visualizations are going to help so many people young and old, where the classical teaching methods would cause a severe disinterest. Know you are very much appreciated!
@rizzlehizzle
@rizzlehizzle 2 жыл бұрын
Just found your channel and your videos have been helping me tremendously with learning C++ and game programming and I am extremely grateful. I love that you explain the gamedev practicality of each concept in this video.
@mito._
@mito._ 3 жыл бұрын
Loved this! Very clean and incredibly well-articulated format! Each moment of the video is a wealth of digestible information, of which amounted to several semesters worth of mathematics knowledge in a single go. Of course, one has to actually DO the work as well for any of it to make sense! But nonetheless, it's as great a starting point as any - better than most if you ask me! Cheers!
@porcupine9997
@porcupine9997 3 жыл бұрын
Thank you so much. So many people show you how to plug some numbers in but don’t explain why things work the way they do. This video explained things in a way that promotes learning rather than memorizing.
@tonksonk951
@tonksonk951 3 жыл бұрын
Fantastic video, exposed me to some of the flaws I had in my ways of thinking about these topics and it really abstracted the concepts to a simple level that still conveyed a strong message, loved the examples as well. I'm sure it helps that I've learned it all before but still an amazing video! :)
@yuriib2666
@yuriib2666 3 жыл бұрын
Your explanation is great! I liked how you explained some basic stuff involving tasks from gamedev. That sheds light on some aspects of how to use knowledge gained during math courses. Thanks a lot!
@davidb4020
@davidb4020 3 жыл бұрын
Best channel for C++/coding hands down. So much good content, great style, always deliver. Thank you for all your hard work.
@astrahcat1212
@astrahcat1212 2 жыл бұрын
This channel is a gem, all these videos need to be released on DVD so they're preserved for far into the future.
@sakikogookheng
@sakikogookheng 3 жыл бұрын
Bless you, your family and all your friends. I've been hoping for this video for months now, I think I left a message about it once but I cant remember now. Have a great lockdown!
@PaganBuffaloes
@PaganBuffaloes 3 жыл бұрын
You're absolutely brilliant. This has been a great tool to review math I learned years ago as I apply for game dev positions.
@fredhair
@fredhair 3 жыл бұрын
1 useful tidbit: calculating square roots are computationally expenisive (usually nothing huge but many times per frame could cause problems. Of course you should profile and consider your project's specifics). If you can avoid them its usually worth doing. For instance if you are comparing vector magnitudes to see which is larger it would be preferable to square the right side of the equation rather than sqrt-ing the left
@jahoopyjaheepu497
@jahoopyjaheepu497 3 жыл бұрын
Great video; took me from having a superficial understanding of vector math to at least feeling like I understand how to properly use vectors in game development. I'd love to see more videos like this, perhaps a deeper dive into some of the topics presented here.
@ToadSprockett
@ToadSprockett Жыл бұрын
Just ran across this, I really struggled with math in school, now that I'm older I wish I would have had someone to guide me through it. This is wonderful information, it makes a ton of sense, I've stopped along the way and looked up individual topics to get a deeper understanding. This shows that even us old people can learn something new. Thank you :)
@undefined_cat
@undefined_cat 3 жыл бұрын
You are programming hero
@marbles3662
@marbles3662 3 жыл бұрын
I know most of this stuff , but the way you discuss it , is so enjoyable which I couldn't stop watching. great job.
@PleegWat
@PleegWat 3 жыл бұрын
There is a second important difference between atan() and atan2(): atan2() has a larger range of outputs, as simple atan() cannot tell the difference between x and y being both positive and both negative, while atan2 can. atan() will return a number between -pi/2 and pi/2; atan2() will return a number between -pi and pi. This is a second important reason to use atan2() when dealing with screen coordinates, as atan() will never return a direction pointing left of the origin.
@my4127
@my4127 3 жыл бұрын
This video is so awesome and helpful. Thank you. I like watching your videos and I am a new fan of yours. I sometimes have trouble understanding what you are talking about in many of your awesome videos because you refer back to your older videos a lot and those are quite long, so I feel like it would be too time consuming to watch those other videos in order to catch up.
@wkxvii
@wkxvii Жыл бұрын
I watched many videos on youtube trying to figure out what is in fact the dot product and its usage on graphics stuff... This video was the only that I got pleased! Perfect explanation javidx9!
@manfriedn64
@manfriedn64 3 жыл бұрын
Pretty amazing. I am in the process on making a 2d scrolling engine from scratch, with no knowledge on how to do it. I happened to figured out by myself a lot of what you say here except for the angles part. Your explanations makes a lot of sense and will help me to make a better code has now I better understand my intuitions. I had totally forgotten everything about vectors that I learned at school but somehow I used them anyway in a nasty way that I can clean up thanks to the fact you remind me of them :)
@TheIsolatedGamerz
@TheIsolatedGamerz 3 жыл бұрын
Great to see your channel come such a long way mate. Was with you since
@Songfugel
@Songfugel 3 жыл бұрын
Sent this to my non-programmer classmates studying Game design. Never seen these explained in such a clear way, great job!
@thesmokinggnome
@thesmokinggnome 2 жыл бұрын
You're a great teacher and really lay everything out in an understandable way. The quality of your videos is hard to top, Big thanks!
@javidx9
@javidx9 2 жыл бұрын
Cheers! Much appreciated Mikey!
@ramonmelo2799
@ramonmelo2799 3 жыл бұрын
That was the best explanation of the basics of Vectors and so on for the ones new to Game Development. Bravo !!! You are the best.
@saifsuleiman1171
@saifsuleiman1171 3 жыл бұрын
I really appreciate your effort on putting this masterpiece, it really cleared some concepts that I saw them as black boxes. Your teaching skills is gold, keep it up, thanks again!
@theloremage_3061
@theloremage_3061 Жыл бұрын
i realize that the video is two years old but i wanted to say this. Math has always been the hardest thing to understand for me. i've always tried to stay clear of majors that had a lot of math courses just so i didn't put myself through the agony. but you describe this so well and show it so well that i understood a lot of it. math is the main obstacle for me doing what i want to do for a living lol. this video made me feel as though this is doable. thank you.
@javidx9
@javidx9 Жыл бұрын
Glad it helped buddy! Keep practicing and it does click... eventually 😃
@jsflood
@jsflood 3 жыл бұрын
Great maffs video javidx9 , I like how you knit it together so understandable and useful. Thank you!
@sieyk
@sieyk 3 жыл бұрын
I had so much trouble finding an algorithm for finding an arbitrary point on an arbitrary line, but you just made it so easy. You're such a legend.
@jonathansera6134
@jonathansera6134 3 жыл бұрын
Really good video! It covered a lot of bases and relatively in depth, too. In college they taught us another version of Soh Cah Toa, called syr cxr tyx (pronouced sir kickser ticks) where r is the 'radius', y is the y component and x is the x component. I found this more useful when you're dealing with vectors in different quadrants
@andrewalex478
@andrewalex478 Жыл бұрын
Bro thank you a lot. Still need a lot to learn about vectors and rotations, but you did great job for explaining essentials. Big thanks!
@misedev3306
@misedev3306 Жыл бұрын
Why have I not try to understand this more, awesome video, I just learned some of these a while ago, I will continue to learn
@barrowmeoct04
@barrowmeoct04 3 жыл бұрын
I'm not even aiming for game dev, but studying math and this is by far one of the clearest explanation I've heard regarding unit vectors and how they are used, dot product etc. Linear algebra dealt with this only in terms of functions so it was hard to understand their practicality. In fact I only understood how vectors were orthogonal or perpendicular or going in opposite directions by algebraically manipulating the formula we were given, i.e. cos(theta) = (v1*v2)/ (magnitude v1 * magitude v2), but your example with the unit circle has shown me exactly 'WHY' a dot product of zero means an angle of pi/2 between the two vectors and so on. This has clarified so much. Thank you.
@user-pe9qg3hg3k
@user-pe9qg3hg3k 2 жыл бұрын
Thank you for this, I'm studying computing & IT currently and this is helping me to take the abstraction out of the maths portion so I can envisage how it can be applied so I can reain the info better :)
@ycomomellamo
@ycomomellamo 3 жыл бұрын
This video is reviving so much knowledge from my student days... It turns out I remember so much of it. Thanks for that.
@oblivionronin
@oblivionronin 3 жыл бұрын
Being currently in software engineering, i find it nice to see all those concept, that i learned formally in physics and mat classes, applied to programming and game logic. Very nice, concise teaching. Love the video, keep em coming !
@javidx9
@javidx9 3 жыл бұрын
Thanks Chris, will do!
@arshiadehghan583
@arshiadehghan583 Жыл бұрын
I can not thank you enough, This video taught me more about vectors than the other 100 tutorial videos on KZfaq about this subject.
@justinkendall5647
@justinkendall5647 3 жыл бұрын
This dot product explanation is the most intuitive one I've come across. Excellent job. :)
@g0ld3sun
@g0ld3sun 3 жыл бұрын
Extremely useful even for someone not into game development but rather the engines and tools to facilitate it. Thanks so much for this content!
@NicolaiSyvertsen
@NicolaiSyvertsen 3 жыл бұрын
I keep watching these and hoping that my brain just switches on one day. In college I actually happened to learn enough about vectors and complex numbers that I could solve the tasks in the text book but I fear that I didn't deeply understand it but just learned coping mechanisms that worked well enough for solving the simple tasks at the time. And it was quickly forgotten. I tend to not stay focused on something for too long before I find something other to do.
@TarousDT
@TarousDT 3 жыл бұрын
A simple optimization you can make for the first lesson about Pythagoras, is that you don't need to take the square root of the right side of the equation. Instead square the distance you are comparing, so "(c < 50)" becomes "(c < 2500)" which is 50^2. Of course, if you need to display the actual distance to the user then yeah you would need to do that square root calculation.
@henriquedolzane
@henriquedolzane 3 жыл бұрын
As always, amazing job! Thanks for sharing your knowledge. You're a great inspiration for me in my developer career :)
@Ochenter
@Ochenter 3 жыл бұрын
Lovely as always, David. Keep on doing more educational vids, please. Thanks.
@doomerismo9816
@doomerismo9816 Жыл бұрын
I came here because a specific feature i wanted in a game project and it helped me. Thank you very much.
@FuZZbaLLbee
@FuZZbaLLbee 3 жыл бұрын
I remember making a car drive on the screen using the angle en COS and SIN. But then I needed to work out collision, and that proved to be difficult. Especially when the thing my car was colliding with, would also collide with something else.
@tomkirbygreen
@tomkirbygreen 3 жыл бұрын
Fantastic. I hoped you’d speak to this topic. Kudos sir. Hope you and yours are doing well during these crazy times.
@javidx9
@javidx9 3 жыл бұрын
Thanks Tom, we're doing just fine, but crazy times indeed. Stay well!
@Admiral_Ducky
@Admiral_Ducky 3 жыл бұрын
More of like this please! I always wanted to upgrade my math level, but I didn't know how. Now I have some clue.
@excelion7109
@excelion7109 3 жыл бұрын
Thank you for this video. It was really great refreshing course. And actually thought me how some things i been using daily actually work formula wise. Please consider more of this. Especially stuff like matrixes and Quotations ^^
@clamhammer2463
@clamhammer2463 3 жыл бұрын
Arrrrrg, my brain! Reminiscent of attempting to wrap my brain around quaternions a few years ago for a space themed game and coding the pitch/yaw/roll of the ships. Thank you for the explanation. It's simply the best I've seen on this subject. If I find a better explanation, I'll edit this comment. So if you're reading this, then it's still the best.
@desertdweller9003
@desertdweller9003 3 жыл бұрын
These are all great, it's not only great for game development, but using these in programming will significantly help with your understanding and grasp with mathematics in general. I personally began learning Python and Java in early High School, and my fascination with programming collision in particular helped me get an extremely good grasp on concepts such as sine, cosine, dot products and the such before even really beginning those subjects in my own classes. Not to mention, it made physics one of my easiest classes. This is why I'd always recommend to younger people learning programming, and game development to never shy away from the more complex seeming subjects. They not only do a good job in teaching programming but High School level math as well.
@BigCreep
@BigCreep Жыл бұрын
Great Video! Very thorough, very easy to understand.
@hmz121fast
@hmz121fast 3 жыл бұрын
Very nice tutorial, super simple smooth explanation, thanks a lot, deserves a big Like
@BudgiePanic
@BudgiePanic 3 жыл бұрын
The section on dot products is explained so much better than any math lecturer did in my time at University
@ayskrymzoulok750
@ayskrymzoulok750 3 жыл бұрын
Your videos are awesome but each time you post a new video I feel discouraged to start my own channel because, well, you basically cover every topic and much better than I could. Otherwise, your channel is really a golden nugget in the youtube game
@javidx9
@javidx9 3 жыл бұрын
Thanks, but don't be discouraged - everyone has their own way of putting a spin on things, when my stuff doesn't click with viewers, chances are someone else's stuff will, it's always good to have a range to choose from as people have different ways of absorbing information.
@obscurus1344
@obscurus1344 3 жыл бұрын
@@javidx9 You're a legend.
@barrowmeoct04
@barrowmeoct04 3 жыл бұрын
Go for it, because the level at which you 'can' teach will appeal to people who absorb information in a different way; people function best under differing methods from others and that's why you find you'll click with some teachers but not with others (just like college or school math). I started a math channel in another account a few years ago and did only one video ( like you I hesitate to start it up (again) ). It was such a simple video but I still got people thanking me for clarifying things for them and helping them through tests. If you bring your own experience of how you solved problems to your audience it will help other people who similar obstacles.
@muhammadhaider5677
@muhammadhaider5677 3 жыл бұрын
Please never stop! Your videos have made me love C++!
@PeranMe
@PeranMe 3 жыл бұрын
Well done! A great introduction!
@dutchdykefinger
@dutchdykefinger 3 жыл бұрын
you're an OG for explaining the oldschool notation for vectors! thanks a lot for that i don't understand traditional math/algebra notation, always need pseudocode to understand what is being said lol
@iXNomad
@iXNomad 2 жыл бұрын
0:33 Теорема Пифагора 4:30 Векторы 13:02 Углы 19:05 Синус и Косинус 24:05 Скалярное произведение 34:55 Линейная интерполяция 40:25 Простое движение
@ellovich
@ellovich 2 жыл бұрын
спасибо!
@TheCivildecay
@TheCivildecay 3 жыл бұрын
"If I wanted to do math I would become a math teacher... I just want to make games!" -any aspiring gamedev
@WhistaphX
@WhistaphX 3 жыл бұрын
Poetic justice it's called.
@milanstevic8424
@milanstevic8424 3 жыл бұрын
it is true, but what you got wrong here is the definition of "make games" I'd argue that only a *gamer* would expect not doing math if your aim was to make or build them, then it's incredibly shallow to expect you can do it just by fantasizing great worlds and characters, swords, spells and events. there is a great deal of technicality involved, from understanding geometry and trigonometry, to statistics and linear algebra, and further down to computation issues like data structures, memory management, randomization and encryption, file systems, design patterns, APIs, algorithms, and after all said and done, you still need to be tactful, appreciative of human cognitive and emotional psychology, computer usage practices and user experience in general, general arts and architecture, humanistic design, storytelling, and finally game design. so I'd argue that whoever thinks like that is not an aspiring gamedev, but an uninspired lazybag. and this is why it seems to be contradictory, when in fact it was a fallacy and severe underestimation from the get go. nobody ever said that everybody should make games, and making them was never EASY to begin with. to play them, sure. but if you can't keep all of this inside your head and close to your heart, maybe there are other jobs out there that you might find more suitable.
@magdiel6709
@magdiel6709 3 жыл бұрын
@@milanstevic8424 Okay I was with you until you said encryption. Why would you ever need that as a game dev? I mean if you're working for a large studio and can't afford to have source leaks, sure, but your company will probably hire security experts for that.
@milanstevic8424
@milanstevic8424 3 жыл бұрын
@@magdiel6709 it sounds wrong nowadays, but encryption is not exclusively for security. it has everything to do with data encoding, even wikipedia says "encryption is the process of encoding information" but modern usage makes it appear exclusively in cryptographic context. in fact, you can almost consider this a typo and read it simply as 'encoding'. regardless of how you use it, the mathematical concepts behind it are unavoidable. in its most basic format encryption is just a substitution. therefore even JSON is encryption. but one may go a step ahead: JPEG is an encryption just as well (with more merits). it's just that these formats don't do much in terms of data obfuscation to any potential decoder. however try to read it as a human and it becomes painfully obvious that your sister's wedding picture is written in a cryptographic manner. not knowing how data compression works, not knowing how to save game state, not knowing binary trees, or checksums, or CRCs, regardless of whether you need them or not, is equivalent to not knowing binary values themselves. such underappreciation leads to poor decision and poor performance. and there is a reason I have mentioned encryption right next to randomization and file systems, there is a huge deal of overlap. saving game states in an efficient manner, as well as organizing memory accordingly, to minimize heap access frequency and maximize throughput, always assumes encoding and some form of data encryption, and is paramount for game programming.
@mona.supremacy
@mona.supremacy 3 жыл бұрын
@@milanstevic8424 as a career changer that came to web development from Immunology, I can say that channels like this one and comments like yours brought me to that road and I'm absolutely happy with it. Please, write more of your thoughts - they are beautiful!
@jimmarshall3724
@jimmarshall3724 3 жыл бұрын
Love the videos - Who needs to go to university when there's guys like this on KZfaq ? Really appreciate the neat diagrams and concise explanations . This guy's a better lecturer than any i had (Studying chemistry), and payed £9000 a year for!
@scriptyshake
@scriptyshake Жыл бұрын
I'm studying game programming and I have to make a vision cone for my enemy ai to detect the player, and the dot product part helped so much!!
@preciseestimatingltd2579
@preciseestimatingltd2579 3 жыл бұрын
Another brilliant video, thank you javidx9.
@falkisen1
@falkisen1 3 жыл бұрын
Brilliant video!
@Rawbful
@Rawbful 3 жыл бұрын
Man I was very good at this stuff in high school but now I haven’t used it in 15 years and it hurts my brain. Another one of those situations though where back then you think when am I going to use this stuff, and here I am...extremely relevant even in the early stages of game development. This helped me understand how to solve the problem of my character moving faster when moving diagonally. Thank you!
@javidx9
@javidx9 3 жыл бұрын
Maths is absolutely "use it or lose it"... its frightening when I think back to doing maths quite competently at degree level, and now struggle to differentiate a polynomial XD
@ricardohnn
@ricardohnn 2 жыл бұрын
I love the examples for each part to make it easier to understand the usage...
@kevinschroers2737
@kevinschroers2737 3 жыл бұрын
I studie math and you still got some very interesting topics in there, good Job!
@brightbluesmurf
@brightbluesmurf 3 жыл бұрын
As someone that's looking to breakaway from the doldrums of desktop app programming to writing a 3d game in my spare time this is really helpful
@jerryj.2346
@jerryj.2346 2 жыл бұрын
Thanks for this review. The information increased my motivation to create games.
@Asylum3D
@Asylum3D Жыл бұрын
Love it. I am a game developer and this video is spot on. The better understanding of this math will make a large difference trying to understand game development.
@bobbob9821
@bobbob9821 6 ай бұрын
The importance of math in game design is really understated. Unity only shows euler rotations as positive numbers from 0-360 and I needed it to be to be from -180 to 180 for error handling so that if my door overshot and went below 0 when it was closing I could manually snap it back at zero. I then remembered about piecewise functions, added one where basically y = -(x - 180) if x is >= 180, and it fixed everything.
@blockify
@blockify 4 ай бұрын
Great thinking! Will definitely be needing this when working with Unity.
@pocketmnky
@pocketmnky 3 жыл бұрын
Aaaaand once again Javid goes and teaches everybody what it took years for me to teach myself. Nice. ;)
@victorlucki8586
@victorlucki8586 3 жыл бұрын
Excellent content as usual. Thank you very much!
@StuBonham
@StuBonham 3 жыл бұрын
Probably my favourite JavidX9 video ever!
@haikamu6963
@haikamu6963 2 жыл бұрын
This is the most intuitive explanation of trigonometry, great job.
@happyfarang
@happyfarang 3 жыл бұрын
Great video. It's been needed :) Thank you
@cosmicgirl910
@cosmicgirl910 3 жыл бұрын
excellent review on math for game developers. im having my first onsite interview with a game company and this helped me a lot!
@javidx9
@javidx9 3 жыл бұрын
Im pleased to hear that! Good luck!
@Dread0-0
@Dread0-0 3 жыл бұрын
thanks i was having trouble with math in school and i seem to understand better when you're the one explaining
@MaxxG94
@MaxxG94 3 жыл бұрын
Hi One Lone Coder, First of all, thank you for your teaching us these great skills in a fun manner! I have a potential suggestion that might further help us learn better: When working on projects, would it be possible for you to provide starter code so we can then first practice implementation whatever the goal is? This might help us learn how to architect our own solutions for those who feel like they want to challenge themselves! If we run into issues, we can then course correct by comparing our code to your git repo.
@jwdonal
@jwdonal 3 жыл бұрын
Every one of your videos is GOLD.
@javidx9
@javidx9 3 жыл бұрын
Thank you, thats very kind of you to say!
@nx_s
@nx_s 3 жыл бұрын
Couldn't agree more. They're always very informative, well-structured and also pleasing to watch. Bravo!
@EugeneSorokacorp
@EugeneSorokacorp 3 жыл бұрын
This is fantastic! Very easy to follow.
@chopov11
@chopov11 Жыл бұрын
Such a good video. Would be amazing if you could make a series covering more math concepts!
@jorgericardow.fontana
@jorgericardow.fontana 10 ай бұрын
That's a really great video! Helps a lot in the understanding of actually usefull stuff. I finally got arround the basic trogonometry :D, Thanks
@unrealdevop
@unrealdevop 2 жыл бұрын
34:51 That was genius, I was actually able to get this to work in the Unreal Engine by mapping the Dot Product to a Curve!
@sliwalker
@sliwalker 3 жыл бұрын
Its just so beautiful. If my math teachers years back just used your way to explain maths...
Super Fast Ray Casting in Tiled Worlds using DDA
30:03
javidx9
Рет қаралды 172 М.
Каха с волосами
01:00
К-Media
Рет қаралды 6 МЛН
Кәріс тіріма өзі ?  | Synyptas 3 | 8 серия
24:47
kak budto
Рет қаралды 1,7 МЛН
Тяжелые будни жены
00:46
К-Media
Рет қаралды 4,3 МЛН
The Math behind (most) 3D games - Perspective Projection
13:20
Brendan Galea
Рет қаралды 361 М.
10 Math Concepts for Programmers
9:32
Fireship
Рет қаралды 1,7 МЛН
Why can't you multiply vectors?
51:16
Freya Holmér
Рет қаралды 387 М.
Forbidden C++
33:07
javidx9
Рет қаралды 1 МЛН
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,4 МЛН
Everything You Need to Know About VECTORS
17:42
FloatyMonkey
Рет қаралды 1 МЛН
How To PLAN your Game as a Solo Developer
16:26
Heartbeast
Рет қаралды 440 М.
Vortex Cannon vs Drone
20:44
Mark Rober
Рет қаралды 14 МЛН
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 214 М.
Airpods’un Gizli Özelliği mi var?
0:14
Safak Novruz
Рет қаралды 6 МЛН