Math for Game Devs [2022, part 1] • Numbers, Vectors & Dot Product

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ •

  • @LightofAidan
    @LightofAidan 7 місяців тому +115

    Man. I just woke up to this playing and I was having a lucid dream where someone was taking me hostage and I had to give an answer to some number riddle. Freaky.

    • @user-it3vk9wx7z
      @user-it3vk9wx7z 7 місяців тому +1

      LOL

    • @imnimbusy2885
      @imnimbusy2885 3 місяці тому +2

      Tell them to use a hash map!

    • @gcko4
      @gcko4 2 місяці тому +2

      Brother this is so funny wtf, i woke up 3 hours ago to this where i also had a lucid dream but i was chased by my girlfriend bcs i was cheating her with the peppa's pig dad running across the square garden (ive never been in the usa xd )

    • @myushankaiswarm
      @myushankaiswarm Місяць тому +2

      dude same. the audio seeped into my dream and the people were speaking like some sort of voice over😭😭

    • @willclark8946
      @willclark8946 Місяць тому

      also woke up to this, 1 second in weirdly thgouh

  • @honeybellebuzlucay5867
    @honeybellebuzlucay5867 2 місяці тому +25

    WHY DO I ALWAYS WAKE UP TO THIS! I AM NOT A GAME DEVELOPLER! I WOKE UP TO THIS MANY TIMES! WHY DOES UA-cam THINK FOR SOME REASON I WANT TO WATCH THIS OVER AND OVER AGAIN!!!! WHY!!!!

    • @Vegan_Kebab_In_My_Hand
      @Vegan_Kebab_In_My_Hand 25 днів тому +3

      EMBRACE YOUR DESTINY, DAMNIT!

    • @seanuchida3872
      @seanuchida3872 8 днів тому +1

      Are you using a notebook and taking notes? Math isn't a spectator sport. Work the examples yourself, pause the video, and try to finish them without looking.

  • @manuvaad
    @manuvaad 2 роки тому +245

    24:40 number line, vector fundamentals
    1:05:26 vector in two-dimensional Cartesian coordinates
    1:29:14 finding vectors' length
    1:42:12 normalized vector
    1:52:04 Q: "Is there a term for vector that fits in a square instead of circle?"
    1:55:33 finding vectors' length (code version)
    2:09:27 vector multiplication
    2:17:08 dot product use cases
    2:42:10 practice
    2:54:21 note about scalar projection
    2:55:00 vector projection
    3:01:46 assignments
    3:20:00 questions

  • @Zwaynn
    @Zwaynn 7 місяців тому +190

    I fell asleep, and just woke up seeing this

  • @RobertThomsonDev
    @RobertThomsonDev 2 роки тому +96

    Bout to study all of these in succession! your splines tutorial helped me so much already, thanks for everything you do!

    • @sportscommentaries4396
      @sportscommentaries4396 4 місяці тому +1

      Impolite, she didn’t even say thank you for your donation

    • @RobertThomsonDev
      @RobertThomsonDev 4 місяці тому

      @@sportscommentaries4396 She doesn't need to imo! the £10 was my thanks for uploading all this amazing information for free, I'm sure not every person who's benefitted from them has thanked her :)

  • @trungnguyencong3216
    @trungnguyencong3216 Рік тому +18

    "a lot of people forget math" Thank you, you are a lifesaver. I am someone from a different field who used to work in web development for 2 years, but I am very passionate about Unity programming and transitioning into it. I have forgotten most of my math, but thanks to this series of yours, I hope it will help me in the learning and self-development process.

  • @zoop391
    @zoop391 2 роки тому +28

    I really appreciate the courtesy for uploading the stream, thanks.

  • @tarsyth3433
    @tarsyth3433 2 роки тому +193

    Lecture starts at 24:40 :)

    • @Hazel-Olivia
      @Hazel-Olivia 2 роки тому +6

      thank you :)

    • @w0mblemania
      @w0mblemania 2 роки тому +4

      Big cheers. It may be useful to re-up some of these episodes in an edited format.

    • @musikalniyfanboichik
      @musikalniyfanboichik 2 роки тому +2

      Sponsorblock

    • @Simple_OG
      @Simple_OG 7 місяців тому

      Revanced automatically skipped

  • @user-it3vk9wx7z
    @user-it3vk9wx7z 7 місяців тому +169

    why did i wake up to this i hate math

  • @abeni3432
    @abeni3432 9 місяців тому +5

    I just bumped into this channel, specifically, this video. THIS WOMAN IS AMAZING!!

  • @egemenka1
    @egemenka1 Рік тому +14

    Wow, this video is absolutely amazing! Freya's method of explaining math concepts for game development is truly brilliant. The way she presents the material is so clear, concise, and easy to understand. The examples and visuals used throughout the video were incredibly helpful in solidifying my understanding of the subject matter. I can't thank you enough for sharing this valuable resource, Freya. You are a gifted educator, and I look forward to watching more of your videos in the future. Keep up the fantastic work!

    • @Vietnamwar22
      @Vietnamwar22 5 місяців тому

      You mean he? Are you delusional?

  • @johjoh6429
    @johjoh6429 20 днів тому +1

    This video came up on its own when I was doing something at night but honestly good background noise and very educative ! Thanks !

  • @chuvst3r
    @chuvst3r Місяць тому +2

    fell asleep and woke up to this like a lot of people but i happen to be a computer science major and this brought me back to my first year 😭😭

  • @omgawesomeomg
    @omgawesomeomg 2 роки тому +32

    In case someone is struggling with the fact that the vector a-b gives you the vector from b to a and not the other way around, maybe this helps:
    To get from b to a, you can first subtract b (i.e. -b) to get back to zero and then add a (i.e. +a). So the vector from b to a can be written as -b+a and since we're allowed to flip the numbers (or vectors) around when doing addition, this is the same as a+(-b) or simply a-b.

    • @cptwoody7103
      @cptwoody7103 2 роки тому

      maybe this is principle of change any children's transform space to any of transform space you want ?

    • @tljstewart
      @tljstewart 2 роки тому +6

      Think of it as Final minus Initial, it’s a common concept in math and science and can be applied generally.

    • @sullivan3503
      @sullivan3503 2 роки тому +3

      Also delta x = xf - xi. That is final minus initial.

    • @testdriver3146
      @testdriver3146 Рік тому

      @@UNABRIDGED_SCIENCE You have so many issues that I don't even know where to start. Seek some help. Maybe start with your social skills, then follow up with English language classes. Really. Seek some help.

  • @philosophia5577
    @philosophia5577 Рік тому +8

    I wat to let you know that you have reached your target audience. Just found your channel while learning how to write custom shaders in Flutter(its a UI Toolkit) and while I was also looking for math, I found your channel! Keep it up for all the amazing work you have done!

    • @okeowoaderemi
      @okeowoaderemi Рік тому

      I legit came here after entering Animation in Flutter. Wild, did you see an resource for animation. I'm trying to improve my math.

  • @lorenbeall147
    @lorenbeall147 2 роки тому +4

    welcome back Freya. happy to see you again. very good content.

  • @RubenHenares-bk6rl
    @RubenHenares-bk6rl 4 місяці тому

    This is amazing Freya. I love your math videos. So well explained.
    Thank you for putting the time in to create all of this content.

  • @vjfnv8463
    @vjfnv8463 Рік тому +1

    I cannot believe what I am seeing it with my eyes! LOOL TY SO MUCH!

  • @henrmota
    @henrmota Рік тому +2

    Very nice of you to put all this effort teaching this ❤!

  • @j0rge1454270
    @j0rge1454270 2 роки тому +4

    Yes! I'm heading to work so won't be able to watch until later. Thanks for the upload later!!

  • @CageyGamesStudio
    @CageyGamesStudio 3 місяці тому

    Great stream! I'm excited to watch the other parts. Thanks for uploading them here!

  • @vuxius5670
    @vuxius5670 2 роки тому +2

    It really worked for me after I look and try some tutorials, yours is the one that worked. Owe you a lot.

  • @ErikBorchersVR
    @ErikBorchersVR 2 роки тому +2

    Thank you for posting these videos on UA-cam!

  • @josephoyek6574
    @josephoyek6574 29 днів тому +2

    AYO, WHO ELSE FELL ASLEEP AND WOKE UP TO THIS ON AUTOPLAY

  • @NosebleeddeGroselha
    @NosebleeddeGroselha Рік тому +6

    If my math teachers in middle/high school were lovely people who love cats, I would be a math genius by now
    I never developed anything, but suddenly had an idea that would make a great game for my final project in college, so I decided to take in the challenge. I’m sure your content will literally save my life. I haven’t even watched an hour of it yet and I already love your way of teaching, I can’t believe you’re putting all this out for free! Thank you so much for all this, Freya. +1 sub!

  • @typhoonsgt6507
    @typhoonsgt6507 Рік тому +11

    Hello thank you for creating videos like this. I am an upcoming college student who will take this course and I am very bad at math and I am scared to lose my scholarship that I acquired if I fail math that is why I am thankful for you for making these for free

  • @frostl3d
    @frostl3d 2 роки тому +3

    Thank you so much for posting it!

  • @MultiToto07
    @MultiToto07 7 місяців тому

    Thank you very much for creating such free quality resources ! You are so great
    🙏

  • @Vegan_Kebab_In_My_Hand
    @Vegan_Kebab_In_My_Hand 25 днів тому

    Yoo the comments, am I the only one that is purposefully watching these? 😂 These VODs are super helpful though!

  • @-Engineering01-
    @-Engineering01- 2 роки тому +3

    When i got my second job I wanna to thank you with a huge support, thanks Freya !

  • @chibiparadox
    @chibiparadox 2 роки тому +5

    Um actually the vector at 1:32:20 would be a-b not b-a. For length direction doesn't matter, but b-a would point the other way.

  • @jeffg4686
    @jeffg4686 2 місяці тому

    @1:15:55 - just now starting to get back into a little bit of enough time to do a math refresher again (always needed).
    This part clicked with me in a different way (vector addition).
    I know it's intuitive to some, but not to those outside of math, that it's simply taking one of the two points and "offseting" it by the amount of the other.
    A lot in math and gaming know addition/subtraction are the same as offsetting, but not all think of it that way.

  • @MyriadColorsCM
    @MyriadColorsCM 8 місяців тому

    Thank you so much for making this series.

  • @GameDevEFacil
    @GameDevEFacil 2 роки тому +6

    oh no, I lost it lol
    keep doing it please, you're my math savior

  • @DonChups
    @DonChups 2 роки тому +5

    Thanks a lot for this class.

  • @thatguyoverthere14321
    @thatguyoverthere14321 3 місяці тому

    13:31
    I felt like a super hero came just in time to catch my hand when I was almost about to fall off the cliff
    Thank you so much for the videos

  • @samolodaimao2972
    @samolodaimao2972 2 роки тому +13

    J'aime beaucoup ton travail !

  • @adamrees3740
    @adamrees3740 9 місяців тому

    This Video should be mandatory in all Schools Globally 😂

  • @invaderzip7356
    @invaderzip7356 2 роки тому +1

    To draw a perfectly straight line in photoshop in any direction. To draw a perfect horizontal or vertical you can hold shift and draw horizontal or vertical. To draw in any other angle, First you must put a dot in the starting point the hold down shift and place a dot at the end point.

    • @acegikmo
      @acegikmo  2 роки тому +1

      not with a tablet pen, pen pressure makes the line basically invisible

    • @invaderzip7356
      @invaderzip7356 2 роки тому

      @@acegikmo you may have the widows ink on that may be messing it up. i have a wacom intuos. windows ink tends to mess up quite a few things in photoshop for drawing tablets

    • @acegikmo
      @acegikmo  2 роки тому

      @@invaderzip7356 I mean the tablet works fine, it's just that it takes pen pressure into account for the start/end of the line, and unless I jam the pen into the tablet for 1 frame at the end, the line won't have full opacity

  • @gold4649
    @gold4649 Місяць тому

    31:50 OH MY GAWD, that backwards writing was goated fr

  • @jawaharbabuadapa
    @jawaharbabuadapa 3 місяці тому

    Thank you for making these videos

  • @kahiniiii
    @kahiniiii 3 місяці тому +1

    i fell asleep and i woke up to this

  • @RegenerationOfficial
    @RegenerationOfficial 2 роки тому +4

    1:00 you are correct, youtube got way more mainstream and approachable for disabled

  • @Kindjie
    @Kindjie 2 роки тому +82

    Hi Freya! Just stopping by quickly (before even watching the VOD) to say thank you for doing this series! We really appreciate you and what you're doing... Even old guys like me who need to refresh our failing memories now and then. 😅Please keep up the good work. 😊

    • @dannys_85
      @dannys_85 2 роки тому +8

      Wy how old you are? 37 hire still learning every day for some years now.

    • @Pneumostome
      @Pneumostome Рік тому +5

      I'm 61 with extensive background in 3D, simulation, and so forth, but trying to get my mind around the actual guts of interactivity, eg. programming/scripting and MATH! Thank you for these videos.

  • @quas67
    @quas67 2 роки тому

    Legend is back

  • @sagenodes
    @sagenodes 7 місяців тому

    Beautiful and Amazing, thank you!

  • @geroosterdbroodbrood4401
    @geroosterdbroodbrood4401 2 місяці тому +1

    Fell asleep and woke up on this..

  • @rat_king-
    @rat_king- Рік тому

    that art is so amazing!

  • @techthyself
    @techthyself 7 місяців тому

    Amazing, yet reasonable formulated.

  • @Veles017
    @Veles017 3 місяці тому

    You're amazing! Thank you!

  • @lio5693
    @lio5693 Місяць тому

    i woke up to this but i've weirdly been looking for it

  • @iamgruff
    @iamgruff 2 роки тому +8

    Hey megabosscat Freya, I noticed after the 1hr ish mark you mentioned that imaginary numbers are not important to game dev, but... Quaternions :)) I get what you are inferring i think, which is that it is unlikely any engine user will ever customise a quaternion implementation themselves and therefore can simlpy just use them when calling to some in-engine wrapper like Quaternion.Something(). But from a mathy POV [which you said you were coming from I think], its pretty important to represent orientations and rotations in game math, especially when aiming not to incur things like rotational edge cases such as gimble lock [when using Euler math to solve for O and R]. Your great by the way, and I'm certainly not trying to throw any shade/or corrective attitude at yuo (i've learned so so much from your content), but I think it might be fairer to say something like "they sit lower down the chain in game math where a dev might not need to know much about the inner workings, but be satisified the math has been proven so it can be used without worry of the constraints that come with using Euler method. ?? i dunno, am I wrong here, or did I misinterpret this part of this absolutely amazing long form lecture?! Thanks for all your super hard work to deliver this stuff, I literally love catching up on your latest videos. [Also, if you have time, let me know if I did misinterpret the whole imaginary numbers section on whether one should at least know about imaginary nums] 🥲

    • @acegikmo
      @acegikmo  2 роки тому +10

      most people who use quaternions never actually understand or unravel the inner workings, and I would even go as far as to say, most people making engines also don't really have to learn how quaternions work, you can just copy/paste code and trust the math and you'll be fine. so yeah, this is why I don't consider it important. it's interesting though!

    • @myth0genesis
      @myth0genesis 2 роки тому +4

      @@acegikmo I'm actually using imaginary numbers right now for the solution of the signed distance field of a quadratic Bezier curve in a ray marched shader.

  • @sergiogcb97
    @sergiogcb97 2 роки тому +13

    Are there any differences between this videos and the ones you did 1 year ago? Is there more content? I'm doing a videogame master and I would be interested in learning more about math because I really suck hah. Should I watch this new one from 2022 or the old one?
    Thanks in advance!

    • @acegikmo
      @acegikmo  2 роки тому +12

      the content is about the same, but the old ones are edited to remove pauses and whatnot, so they are a little easier to watch! The end of this course will have some new things though

    • @sergiogcb97
      @sergiogcb97 2 роки тому +4

      @@acegikmo great, thanks so much for clarifying it and for your incredible work!

    • @leif1075
      @leif1075 2 роки тому

      @@acegikmo just to confirm is this the type of math thst is useful and relevant to people who want to get into designing and developing video games?? Thanks for sharing freely for those who can't afford classes now if so!

    • @acegikmo
      @acegikmo  2 роки тому +1

      @@leif1075 yep!

    • @leif1075
      @leif1075 2 роки тому

      @@acegikmo Thanks for answering. Would you say it is a comprehensive beginner course or it goes a little beyond a beginner course evrn?

  • @mtxar
    @mtxar 2 роки тому +2

    heyyy, thanks for doing this!

  • @serefine927
    @serefine927 Рік тому +1

    I woke up to this. I left a crochet vid one to fall asleep but this also good

  • @TravTravRA
    @TravTravRA 6 днів тому

    I also woke up to this video, but unlike everyone else, I suck at math and have an interest in learning to code, so this works out for me

  • @slavaukharikkim4833
    @slavaukharikkim4833 2 роки тому +10

    Спасибо! Большое человеческое спасибо!

  • @MehdiZangenehBar
    @MehdiZangenehBar 3 місяці тому

    great tutorial, thanks!

  • @Dexterdevloper
    @Dexterdevloper 9 місяців тому

    I really appreciate it.

  • @Mattx-d7c
    @Mattx-d7c 21 день тому

    Thank u so much!

  • @idsappples
    @idsappples 2 роки тому

    thank you for your service

  • @TPubbie
    @TPubbie Рік тому

    Are the assignments available to the public? Thanks for uploading these!

  • @Autistaar
    @Autistaar 2 роки тому +3

    I will watch this video over and over again. 🤍

  • @jjjjjjjsjwjsusjs
    @jjjjjjjsjwjsusjs 19 днів тому +1

    i fell asleep and woke up to this..

  • @konstantinkhrebtov3042
    @konstantinkhrebtov3042 8 місяців тому

    you are great teacher!!!

  • @andyvandenberghe6364
    @andyvandenberghe6364 Рік тому

    amazing i just found this channel.

  • @laniakeas92
    @laniakeas92 2 роки тому

    Not trying to be creepy but your voice is like asmr for my ears!
    Soothing.

  • @avesoe
    @avesoe Місяць тому +1

    So we all woke up to this randomly? lol

  • @fbl2022
    @fbl2022 2 роки тому +3

    Oh man! your live took place at 5:00 am in my country😫 ...anyway, YOU GREAT✌😁👍

  • @thejaycem
    @thejaycem Рік тому

    u'r an angel!

  • @NoellService
    @NoellService Місяць тому

    I Woud love a package tutorial on transition pleas as I would love to know where to go frome where I am at in my mtf

  • @official_mixedfisher198
    @official_mixedfisher198 7 місяців тому

    impressive asf

  • @MichaelCharlesAubrey
    @MichaelCharlesAubrey Рік тому

    I love your K702s!

  • @liquaard2824
    @liquaard2824 Рік тому

    Hi Freya , cant thank enough for these videos -- i am just about to start watching this series , should i watch Math For Game Devs (2020) before this ?

    • @lewessays
      @lewessays Рік тому +1

      It's more or less the same stuff, I haven't completed 2020 but, have seen part of it.

  • @Xiout_art-bd2vp
    @Xiout_art-bd2vp 5 місяців тому

    1:31:42
    Isn't it the white vector a-b instead ?
    The magnitude calculation should stay the same tho

  • @Peregonn1
    @Peregonn1 Рік тому

    What is a hotkey in photoshop to swicth between colors in a swatch? like here: 31:43. But sometimes you choose color with a cursor...

    • @acegikmo
      @acegikmo  Рік тому +1

      I've added custom shortcuts for my colors! I use a streamdeck to make it a little easier
      twitter.com/FreyaHolmer/status/1678773554882699264

  • @juulgirl7252
    @juulgirl7252 Місяць тому

    so we all just waking up to this at 5 am

  • @mathbbn2676
    @mathbbn2676 Рік тому

    very well. I want to teach like this . so very clear exercise

  • @skeleton_craftGaming
    @skeleton_craftGaming Рік тому

    I would argue , like calculus, imaginary numbers are used to very frequently. If you're designing your own physics engine. But especially imaginary numbers are used a lot by people. It's just abstracted into functions.

  • @MistressNena
    @MistressNena 8 місяців тому

    First of all, this whole video is brilliant and second you are so beautiful 😊

  • @howdarethee
    @howdarethee 2 роки тому +1

    Hey Freya! Are you using plain Photoshop for your live presentation and which tablet are you working on?

    • @acegikmo
      @acegikmo  2 роки тому +3

      Wacom intuos pro w. vanilla Photoshop yeah!

    • @fangornthewise
      @fangornthewise Рік тому

      There is more than one type of Photoshop? O.o

  • @konstantinkhrebtov3042
    @konstantinkhrebtov3042 8 місяців тому

    very good idea 3:57:xx when you move the formula to the same vector!!!!!

  • @cleitonthiagomoreiramonte3913
    @cleitonthiagomoreiramonte3913 2 роки тому +2

    Question: what is the name of the artist who did the cover/illustration for your chanel?

  • @testdriver3146
    @testdriver3146 Рік тому

    Great information and some interesting ways to explain. Thank you very much.
    Inget e' som gamla Svedala !

  • @sazhchocobo
    @sazhchocobo Рік тому

    easiest sub of my life

  • @Reemwkk
    @Reemwkk 2 дні тому

    i just finished my engineering computing final...... why is youtube auto-playing this for me now???

  • @CaBoyGames
    @CaBoyGames Рік тому +1

    thank you so much.❤ If possible, please share the slides with us.

  • @realcygnus
    @realcygnus 2 роки тому +3

    4 hrs ! 🍿engaged 👍

  • @JuneTreeDraws
    @JuneTreeDraws Рік тому

    Came for learning math for game devs, stayed for the most based AI image generation opinions by Freya

  • @Vazzible_gaming
    @Vazzible_gaming Рік тому

    You should teach computational geometry, I think you would be very good at it.

  • @elizabethmonroe2290
    @elizabethmonroe2290 Рік тому

    okay, so a vector is just a point that can become something based on context, like a position, direction, or offset?

  • @pcb5135
    @pcb5135 9 місяців тому

    How does this distance formula looks in the equation? 35:40

    • @hello.4693
      @hello.4693 6 місяців тому

      OurDistance = PlayerPosition - EnemyPosition;
      So just d = a-b;

  • @duckman6403
    @duckman6403 2 роки тому

    i'm a graduate and im stuck on the first assignment. Don't want to look anything up. My prospects are over before they even began...

  • @xhivo97
    @xhivo97 Рік тому

    Lol at UA-cam UX with not being able to find the superchats. Idk why but UA-cam has a really bad UX in the app and I guess on desktop with live chat too.

  • @ishaankhurana8956
    @ishaankhurana8956 4 місяці тому

    I'm picking this up for 3js

  • @fatherless_activity
    @fatherless_activity Рік тому

    25:18 WHO STARTS THEIR 4 WITH THE LINE FIRST

  • @ophelia6044
    @ophelia6044 2 роки тому

    you almost always have your headset on, is it a habit just to casual have it on or do you actually have it playing something?
    I just like to have it casually myself...

  • @MrRagnarxx
    @MrRagnarxx 4 місяці тому

    Aaaand i wake up to this, SOMEHOW.

  • @damianoriello283
    @damianoriello283 Рік тому

    Is it a good playlist for programmers that are new in the gaming world and have a basic knowledge of math ?

  • @konstantinkhrebtov3042
    @konstantinkhrebtov3042 8 місяців тому

    take infinite from cercle to center like with invinite vector stablised in b