Thread: newbie to game programming....:)

  1. #1
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161

    Wink newbie to game programming....:)

    hello,
    I ve been programming c++ a year now , and I ve good experience in VB .
    Now, I like to begin Game Programming. While my knowlege about this branch is equal to my knowlodge about drive a space rocket...(NOTHING).....
    whats your advices? i need it, so pls reply to this post. links and resources online ll be great too .......
    and heres my first question about game programming :
    what should I learn to make a game ???????
    and why most of the posts here about OpenGL or DirectX?

    thanks in advance . pls dont forget to reply
    Programming is a high logical enjoyable art for both programer and user !!

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    >whats your advices?

    read and work your ass off.

    start small.
    don't expect to make game of the year the first time.

    >what should I learn to make a game ???????

    C/C++? Platform specific API's? maybe ASM?

    ::edit:: at least Algebra some Trig and Geometry. probably some Calculus, eventually.

    learn everything you can, the more the better.

    > links and resources online ll be great too .......

    OpenGL:
    http://www.opengl.org

    Direct-X:
    http://www.microsoft.com/Direct-X

    Allegro:
    http://www.allegro.cc

    General game developement:
    http://www.gamedev.net
    http://www.gametutorials.com

    Slightly more advanced:
    http://www.flipcode.com

    a bunch more i can't think of now,
    search here theres a good bit of info and links on these forums.

    >and why most of the posts here about OpenGL or DirectX?

    to prevent a flame war i'll keep it simple,

    these are the two major Graphics API's(Application Programming Interface), the large majority of games use one or the other or both.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    thank you no-one very much for your smart reply, which i find real help for me.......hope i get more and more from others too

    >>no-one is declared as my first teacher in game programming class<<

    thanks !!!
    Programming is a high logical enjoyable art for both programer and user !!

  4. #4
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161

    Lightbulb

    just wondering how come ASM may be usefull to game programming.....and could we use ASM within another language(C for example) coding the same program???
    Programming is a high logical enjoyable art for both programer and user !!

  5. #5
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    >>>no-one is declared as my first teacher in game programming class<<

    im honored, but there are many, more informed than i at this subject.

    >just wondering how come ASM may be usefull to game programming

    its not so much used anymore, but in time critical areas it could be helpful...

    >
    and could we use ASM within another language(C for example) coding the same program???
    <

    this depends on the compiler, most suport "inline assembly" which is assembly in c code,
    it usually starts with a keyword telling the compiler its asm such as,

    asm
    _asm
    __asm

    or a block of assembly code.

    asm
    {
    ;code...
    }

    unfortunatly my asmembly skills are very little, im working on it in my spare time.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  6. #6
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    Wink Yup

    Actually, can't remember, but someone also tipped me on it. Gametutorials.com is a really good site. But first, I think you should pick up a little of the windows API (www.winprog.org/Tutorials.html ) , which btw, is a little hectic at first, but once you get into it it's ok. I was however pretty surprised at the comparing simplicity of programming OpenGL under X as in Windows. Yeah, well, on the other hand, i've always been an advocate fro those nice guys at Linux .... No offense here, Windows Lovers...Windows has it's good points too...somewhere... Afterall, DirectX seems to be doing some ravishing neat stuff lately...But i haven't started any DX, so I can't comment on it....

    No-one is right too, when he means that you have to .. ahem.. read a lot... Not that it's so hectic...But after about 2000 lines of OpenGL tutorials, my eyes are now a leetell weary...yeeesss...


    Hve Fun..!!!

  7. #7
    . Driveway's Avatar
    Join Date
    May 2002
    Posts
    469
    in MSVC++ the keyword is __asm

  8. #8
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    thank you friends very much, im sure ur advices will worth so much for me. still hoping to get more and more from others .......


    thanks in advance
    Programming is a high logical enjoyable art for both programer and user !!

  9. #9
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    just wondering how come ASM may be usefull to game programming
    ASM is definetly useful in Game Programming - not 100% nessisary but definatly a good idea to learn some. I have heard of people who have been refused jobs in the games programming area because they dont know ASM. It is ideal for tightly looped sections of code. And yes you can use ASM within other languages such as C, most compilers allow some form of inline assembly i.e. assembly which is inserted between special tags and is simply added at that point in the function. Also it is possible to link the object files of a C and an ASM program so that they work together.
    VC++ 6

  10. #10
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    on the topic of ASM...from the reading I have done for the 3D engine I am working on (probably over 1000 pages just on the math behind it) ASM is something that should be used...of course, most of the stuff I was reading was from the days of 486s or before even (hey, the math is still the same (: ) Anyway, I would be interested in learning enough asm to convert my rotations to ASM and maybe some of the other math that will be called a lot, but I haven't found any good tutorials on it, just some code that other people expected everyone to use. If there are some tutorials on it out there, that would be great, someone should post a link (:

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Programming 2d Array Question
    By jeev2005 in forum C Programming
    Replies: 3
    Last Post: 04-26-2006, 03:18 PM
  2. Game Programmer's AIM Circle: Join Today
    By KingZoolerius66 in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 12-20-2003, 12:12 PM
  3. Game Design Topic #1 - AI Behavior
    By TechWins in forum Game Programming
    Replies: 13
    Last Post: 10-11-2002, 10:35 AM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM
  5. Newbie Game Programmers!
    By Ryce in forum Game Programming
    Replies: 12
    Last Post: 09-07-2001, 10:15 AM