Thread: Tutorials on Programming Games In Visual C++

  1. #1
    Unregistered
    Guest

    Tutorials on Programming Games In Visual C++

    What are some of the best sites explaining how to program games in visual c++ [6.0]... I'm a n00b so can u give me links to good beginners sites? I'm probably gonna make an RPG [not like you care] once I figure this thing out [which will probably take a lllloooonnnnngggg time but oh well it's worth it]. I've created some textures and all to use with it already.

    -thx

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    I suggest picking up DirectX unless you have strong feelings of hostility towards it. It's pretty easy to pick up and run with. Get some online tutorials, or pick up SAMS Teach yourself DirectX7 in 24hrs. If you're doing a 2D game don't with DirectX8, because they've all but eliminated the 2D component, DirectDraw. Just my .02 though.

  3. #3
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    If your looking to make text based games, then theyr'es a good tutorial at http://www.gametutorials.com on making a ttext RPG. If your looking for graphics, then learn OpenGL or DirectX, which you can find info for each at gametutorials.com, nehe.gamedev.net for OpenGL, and nexe.gamedev.net for DirectX.

  4. #4
    Unregistered
    Guest
    Actually I was looking more for how to program a 2D game because this will be my first real program... or do you think that 3D shouldn't be THAT much harder than 2d? (even though it probably will)

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Okay, in that case I recommend picking up a copy of DirectX7 SDK. You'll want to use DirectDraw the 2D component of DirectX. You can find some pretty good online tutorials and some very good books. It's not that hard and once you learn how to do DirectDraw, all the other components (DirectSound, DirectInput, etc) all work very similiarily. I would get comftorable with 2D before trying 3D, don't run before you can walk If you have any DirectX questions just ask and maybe I can help.

  6. #6
    Unregistered
    Guest
    lol i think i might as well register a member of this board right now but thx mr wizard. And... uh... the directx sdk is worth it... right? I've got a 56k modem that really sucks and its a 128MB d/l or something like that... oh well here goes nothing... oh, wait, and uh, wizard. What good direct x links do you have?

  7. #7
    Unregistered
    Guest
    and... um, should i get the direct x 8.1 c++ sdk or the direct x 8.1 sdk (where it doesn't say c++)

  8. #8
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    I haven't seen a DX 8.1 C++ SDK, just the standard DX 8.1 SDK. The only difference I can imagine (since I have the standard DX 8.1 SDK) is that it has the help files, samples and *.dll's for writing in VB.

  9. #9
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Um, I recommend getting the one with some help files if at all possible. The c++ one should be fine. I recommend picking up

    SAMS Teach Yourself DirectX 7 in 24hrs.

    The book is very thorough and gives you a solid foundation for DirectX. If you want , just go to the local bookstore and read for a few hours and if you don't like it, don't buy it. As for online links, try out this one.

    http://www.gamedev.net/reference/art...article608.asp

    Again, if you have any questions, just ask.

  10. #10
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    Originally posted by MrWizard
    Um, I recommend getting the one with some help files if at all possible. The c++ one should be fine. I recommend picking up
    I've never seen an SDK that didn't have help files.

    Like I said, the only likely difference is that one has the VB lib, etc. in addition to the C++ ones.

  11. #11
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Originally posted by jdinger


    I've never seen an SDK that didn't have help files.

    Like I said, the only likely difference is that one has the VB lib, etc. in addition to the C++ ones.
    At one point I did see an SDK without help files. Now this wasn't on Micro$oft's site so someone may have removed them and re-zipped. It's of little to no importance anyway. There is always MSDN

  12. #12
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    Originally posted by MrWizard
    There is always MSDN :)
    I hear you! As much as I hate to admit my dependancy to M$ sometimes. MSDN is the first bookmark in my Favorites.

  13. #13
    Bobish
    Guest
    VC++ comes with DX 6 i belive, also most books on DX come with it on the CD. YOu could use opengl/sdl if DX is to big for you, those have become fairly popular to these days and are easyier to port to other operating systems and a much smaller download.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  4. question about .net to 6.0 change causing errors
    By jverkoey in forum C++ Programming
    Replies: 17
    Last Post: 03-23-2004, 10:45 AM
  5. Anybody know of any good visual C++ tutorials
    By geekfrog in forum C++ Programming
    Replies: 1
    Last Post: 04-04-2002, 08:04 AM