Thread: How do I start?

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    6

    How do I start?

    I don't have any previous programming experience, but I want to learn to program games with DirectX. How/where would I start to do this? A link to a tut would be great! I appreciate it.

    Strike_Steel

    BTW Garfield rules!!!!

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    You are aiming to high, dont worry about directX right now, just concentrate on programming something.

    Im sure some of the stuff at this site will get you started programming.

  3. #3
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    What language(s) do you suggest Steel to learn? C? That seems like the logical thing to learn before the DirectX API. Isn't it built off of that?

    --Garfield
    1978 Silver Anniversary Corvette

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    6
    ya my friend garfield says its good to get into game programming..id love to..plz help!

  5. #5
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Eber Kain: Do you agree that Steel should start with C? That would be the best thing to do, in my opinion, to get him started, then he can go off into DirectX.

    Strike_Steel: I have a "Practical C Programming" book that I can lend you. It is pretty good. It is what I learned off of. I'll give that to you, you read it, and if you don't understand something, then I can explain it.

    --Garfield
    1978 Silver Anniversary Corvette

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    Almost all serious game programming is done with C/C++, so yes he should start there. C is not the easiest launguage to learn.

    I learned the synax from makeing a tribes mod, and i learned the launguage from the first few chapters of "Teach yourself Borland C++ Builder". The rest of what i know came from online tutorials.

    I have links to the best stuff on my links page
    home.earthlink.net/~eberkain/

  7. #7
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    I don't think Steel will have too much of a problem with C. He's pretty smart and we are great friends so if he's not understanding something, I'll be more than happy to help him out. So, he'll have to start with C.

    So, Eber, your website is this:

    http://home.earthlink.net/~eberkain/

    I'll check it out. And Steel, goto www.sunlightd.com, then have a DirectX tutorial for you to take a look at. Also go to Eber's site and check out his links.

    --Garfield
    1978 Silver Anniversary Corvette

  8. #8
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    If you're going to go with DirectX, I'd suggest learning C++.
    While it is possible just to use C, there are many "helpful" things that you can only use with C++. (Just makes the job a little easier).
    Programming DirectX (more specifically DirectGraphics) is a little confusing at first but its really not that bad once you get going.
    However, if you have no programming experience, then I must also agree that you are shooting VERY high.
    I remember buying a "game programming starter kit" when I first started programming. It had "everything you need to become a game programmer". (except the ability to actually program)
    Before you start trying to make games, learn the language first. It's going to make it a lot easier. Plus, you'll be needing to learn some of the Windows API. So this isn't a small task.

  9. #9
    Registered User
    Join Date
    Dec 2001
    Posts
    6
    ok thx guys..can u list some links or places where i can leanr...garfield ill go there...!

  10. #10
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Do DirectX and the Win32 API work together? So, you actually have a Win API programming base for the program, and then you use the DirectX API inside of that? That's slightly confusing to me.

    --Garfield
    1978 Silver Anniversary Corvette

  11. #11
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    Win32 is needed to interface with the windows OS. to create windows and stuff.

    DirectX can be used to get user input from keyboard, mouse, joysticks etc....

    Direct3D is used to draw 3d Graphics to the screen, alternitaves to D3D are Allegro and OpenGL.

  12. #12
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    So, is Direct3D part of DirectX? I understand what you mean by the input, etc. Where would you get the API?

    --Garfield
    1978 Silver Anniversary Corvette

  13. #13
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    either buy a msdn membership and have the SDK's sent to you or go to msdn site and download the SDK's that you need.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  14. #14
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    for DirecX (DirectInput, DirectSound, DirectDraw, Direct3D, etc....) you need to download an SDK over 100 megs I believe. If you wanted to do OpenGL then you already have what you need.

  15. #15
    Registered User Kuplex's Avatar
    Join Date
    Dec 2001
    Posts
    18

    Wink Just take it one step at a time

    Don't get too excited about programming a game just yet. Take a deep breath and get ready for work before fun. I'm not trying to discourage you or anything, but you're going to have to work at a language before you try something like DirectX or OpenGL. Hell, I've been learning C/C++ for about 20 months, and i still don't think I have enough experiance to go into that. But don't give up! It may be difficult at first, but once you learn a language, you'll never forget it

    I know HTML, Java, JavaScript, XML, C/C++, some Assembly, Z80 basic, and some VB. Want to know what got me started on programming about 4 years ago? The TI-83! Yep, the little (but expensive) calculators. With their compilers and language (Z80 Basic), I slowly learned how to make things. I advanced from plain text-based games, to full, graphical, in-depth, multiplayer RPGs and games. I was able to utilize the link port and make multiplayer options and games that looked as if they were programmed by a professional in Assembly.

    All it takes is a little time and a little pratice here and there to make it possible. there is just one thing: DONT GIVE UP!

    *You cannot fail--it is only a delay to your success.
    Kuplex
    "The only thing you can count on is uncertainty."

    Must I explain myself futher?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 09:35 AM
  2. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 01:30 PM
  3. C++ gui for windows where to start
    By prixone in forum Windows Programming
    Replies: 2
    Last Post: 12-16-2006, 11:48 PM
  4. GNOME Desktop won't start (Mandriva)
    By psychopath in forum Tech Board
    Replies: 10
    Last Post: 07-19-2006, 01:21 PM
  5. Start bar color in WinXP
    By confuted in forum Tech Board
    Replies: 4
    Last Post: 05-03-2003, 06:18 AM