What Math would be good to learn to making games??

This is a discussion on What Math would be good to learn to making games?? within the Game Programming forums, part of the General Programming Boards category; just like the title say's. I want to start making games well right now would love to make a game ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    32

    What Math would be good to learn to making games??

    just like the title say's.


    I want to start making games well right now would love to make a game but not professional don't plan to sell it but would make a game just so I can learn how to make a game and experience it.


    I also would like to know how to create sound effects and other stuff.

    I notice gateway they had a program where you record your voice and you can change your voice from a male to female or any other voices.

    I would love to learn how I can programming wise create sounds.

    I know the music band slipknot they have 2 guys that are programmers and I have seen behind the seens what goes on.

    the guy made a home made computer system that they put in a cart which goes on stage on top of the stage they have buttons and the programmer knows what buttons are for what sound.

    So was wondering programming wise what can you do in the sound area??

  2. #2

    Join Date
    May 2005
    Posts
    1,041
    Learn about vectors and matrices, you will hear a lot about those.

    Look up the dotproduct and cross product, those are pretty ubiquitous.

    For sound, well what you mentioned as an example doesn't exactly relate to game programming, but DirectSound, FMOD and OpenAL are audio libraries. A programming library is something that does stuff for you, in this case plays sounds and/or music. They also allow you to extract the frequencies of sound being played such that you can make a visual to go with it, e.g. with FMOD's getspectrum() function. One example of this'd be windows media player's visualizations that change shape/color with the music.
    Last edited by BobMcGee123; 09-01-2008 at 02:57 PM.
    I'm not immature, I'm refined in the opposite direction.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Location
    UK/Norway
    Posts
    485
    In 2d, almost every problem can be solved by interpolating between two vectors (well, not every, but im amazed over how often I use it)

  4. #4
    Registered User
    Join Date
    Jul 2005
    Posts
    32
    Quote Originally Posted by BobMcGee123 View Post
    Learn about vectors and matrices, you will hear a lot about those.

    Look up the dotproduct and cross product, those are pretty ubiquitous.

    For sound, well what you mentioned as an example doesn't exactly relate to game programming, but DirectSound, FMOD and OpenAL are audio libraries. A programming library is something that does stuff for you, in this case plays sounds and/or music. They also allow you to extract the frequencies of sound being played such that you can make a visual to go with it, e.g. with FMOD's getspectrum() function. One example of this'd be windows media player's visualizations that change shape/color with the music.

    Well I mean about the sound is creating your own sound effects or music.

    it's part of sound programming and does involve in game programming subject.

    I have heard super Mario uses sound programming to create the sound effects like when he jumps you hear a sound effect.

    I would like to generate my own audio without using musical instruments or other stuff to create music or sound effects.

    I was thinking more that with programming you can create your own sound wave and even edit the sound wave.

    so like if I were to record my voice I can make my voice would like a girl or a chipmunk or a very low eviish sound ect.
    Last edited by hockey97; 09-01-2008 at 03:33 PM.

  5. #5
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Quote Originally Posted by hockey97 View Post
    Well I mean about the sound is creating your own sound effects or music.

    it's part of sound programming and does involve in game programming subject.

    I have heard super Mario uses sound programming to create the sound effects like when he jumps you hear a sound effect.

    I would like to generate my own audio without using musical instruments or other stuff to create music or sound effects.

    I was thinking more that with programming you can create your own sound wave and even edit the sound wave.

    so like if I were to record my voice I can make my voice would like a girl or a chipmunk or a very low eviish sound ect.
    There's a difference between "dealing with digitized data that represents a sound/voice/whatever" (like your chipmunk example) and "getting something to play out of a speaker". The former, in as much as you are representing data as some sort of mathematical object (in terms of a frequency function, an amplitude function, etc.) may or may not be easy to do programmatically. The latter involves hardware, which is a whole other kettle of fish, which is where the libraries come in. (The libraries may have transforms, too, I haven't looked at them really.)

  6. #6

    Join Date
    May 2005
    Posts
    1,041
    Well I mean about the sound is creating your own sound effects or music.

    it's part of sound programming and does involve in game programming subject.

    I have heard super Mario uses sound programming to create the sound effects like when he jumps you hear a sound effect.
    It sounds like you're talking about making sounds programatically and that wouldn't be practical. Honestly, if you dont plan on selling the game, or unless you're massively into making your own sound effects, I'd just take sounds from existing games and use those.
    I'm not immature, I'm refined in the opposite direction.

  7. #7
    Budding Synth Programmer samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Trefforest
    Posts
    368
    Older consoles basically had mini synths on chips that you could control via hardware registers to make sounds of a certain pitch, waveform, etc and set the attack and release and such.

    So these machines had their own unique sounds. These days it's all sampled digital audio (made with real instruments/sequencers, etc).

  8. #8
    Registered User
    Join Date
    Jul 2008
    Posts
    71
    http://www.youtube.com/user/khanacademy

    ^very good screencasts,so you really have no excuse not to learn mathematics

  9. #9
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    It sounds like you're talking about making sounds programatically and that wouldn't be practical
    I think it would be practical for old 80's-style sound effects. OP: If you want to do that, study DSP.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  10. #10
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Linear algebra, trigonometry and geometry are about it these days...

  11. #11
    Budding Synth Programmer samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Trefforest
    Posts
    368
    If you want something to move in a straight line at an arbitrary angle (i.e. not just the standard 8 ways) then x += (cos (ang) * distance) and y += (sin (ang) * distance).
    Last edited by samGwilliam; 09-17-2008 at 05:37 AM.
    MSVC++ 6.0

  12. #12
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    If you want something to move in a straight line at an arbitrary angle (i.e. not just the standard 8 ways) then x += (cos (ang) * distance) and y += (sin (ang) * distance).
    That works, but you can optimise it by storing direction and velocity as a vector. That way you only need to use trig functions when the angle changes.

  13. #13
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Again I say this should be FAQ'ed

  14. #14
    Registered User
    Join Date
    Jul 2008
    Posts
    71
    ^totally agreed ^.^~

  15. #15
    Registered User guesst's Avatar
    Join Date
    Feb 2008
    Location
    Lehi, UT
    Posts
    179
    Quote Originally Posted by kypronite View Post
    http://www.youtube.com/user/khanacademy

    ^very good screencasts,so you really have no excuse not to learn mathematics
    Excellent linky.
    Type-ins are back! Visit Cymon's Games at http://www.cymonsgames.com for a new game every week!

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. starting making games like warcraft 3
    By Mythic Fr0st in forum Game Programming
    Replies: 13
    Last Post: 01-22-2007, 08:31 PM
  2. Interested in making games..
    By Jez_Master in forum C++ Programming
    Replies: 15
    Last Post: 04-04-2002, 01:40 PM
  3. good book to learn from????
    By Goof Program in forum C Programming
    Replies: 2
    Last Post: 01-29-2002, 05:08 PM
  4. Replies: 4
    Last Post: 10-25-2001, 05:49 PM
  5. what's a good compiler for games?
    By adamdalziel in forum Game Programming
    Replies: 18
    Last Post: 10-08-2001, 01:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21