Hello,
I have a problem. This problem destroying my desire to program games about 4-5 months already so it is time to do something . Im experienced enough in c++ programming ( I think ) though i never learned about C++ classes(LOL). The problem is that I cant find any - ANY - human-understandable book or site about WinAPI or DirectX programmin ( Im deeply depressed about that ). So when i find pretendent to be good it just screw up ( usually in Chapter 1 when I get into coding - LOL). So I please you, smart guys for advice. Point me to those human-understandable tutorials, books, sites ( Almost every programmers code was not easily understandable to me because he was trying to be cool and put no-need stuff in there like classes - Constructors, Destructors and more Pragma nonsenses. It is so LAME when you try to be cool in front of begginer who wants just to know the easiest way to do things and after that learn good programming practices )
WinAPI and DirectX tutorials ?
I used theForger's WinAPI Tutorials along side the MSDN's Reference Library (which might take a little bit to learn to navigate but I find it to be pretty awesome). The tutorial is no nonsense meat-and-potatoes tutorial so you don't get any of the lame classes and whatnot It's written in C but it'll work with C++.
Unfortunately I have nothing for you for DirectX because I never learned it myself D:
Unfortunately I have nothing for you for DirectX because I never learned it myself D:
though i never learned about C++ classes(LOL).
You definitely need to learn classes if you want to be anywhere close to a good game programmer or maybe even programmer in general. It took a while for me to understand the idea of classes, but once it clicked, it helped so much. So learn classes, then learn DirectX.
I would say the same thing, DirectX is too much advanced (and WinAPI too ugly) to be learned by a beginner, especially if you don't know the language first. Learning object-oriented programming IS the base stuff you need to learn first nowadays. Learning to do things the bad way (harder) to re-learn the good way afterward? Bad idea.
Drunken Hyena has fantastic tutorials for DX9 with WinAPI:
http://www.drunkenhy.../cgi-bin/dx9.pl
edit: at the risk of starting a flame war, if your looking to break into programming I would highly recommend you start with something like C#, and if your only interested in games you may want to consider Microsoft XNA.
http://www.drunkenhy.../cgi-bin/dx9.pl
edit: at the risk of starting a flame war, if your looking to break into programming I would highly recommend you start with something like C#, and if your only interested in games you may want to consider Microsoft XNA.
Hello,
I have a problem. This problem destroying my desire to program games about 4-5 months already so it is time to do something . Im experienced enough in c++ programming ( I think ) though i never learned about C++ classes(LOL). The problem is that I cant find any - ANY - human-understandable book or site about WinAPI or DirectX programmin ( Im deeply depressed about that ). So when i find pretendent to be good it just screw up ( usually in Chapter 1 when I get into coding - LOL). So I please you, smart guys for advice. Point me to those human-understandable tutorials, books, sites ( Almost every programmers code was not easily understandable to me because he was trying to be cool and put no-need stuff in there like classes - Constructors, Destructors and more Pragma nonsenses. It is so LAME when you try to be cool in front of begginer who wants just to know the easiest way to do things and after that learn good programming practices )
hey!!
I'm starting a blog about directx 11 where I'll be posting step by step video tutorials for learning directx. http://makeagame.tumblr.com
Beginning Directx 9 by Wendy Jones and Beginning Game Programming 3rd edition by Jonathan s. Harbour are some books you can try. Yes they dont like much on the outside and inside by they'll get your foot in the door. The source code in these books (which you can get from the cd or download) is very easy to read. Introduction to 3D Game Programming with DX 9 by frank D. luna is another book that you can use for reference as well. The only problem I had with that book is the source code is little to complicated for me to understand. But it has information that the two books I mentioned dont have. Finding DX books is frustrating. If you go to amazon or barnes & noble DX books are scarce. Ive only seen one book for DX 10 and 11 by the same author.
I suggest you visit this site. From what I've seen of it, it's a good place to start learning DirectX and WinAPI.
www.directxtutorial.com
www.directxtutorial.com
I agree with Aluthreney, the basics are free but then you have to pay, but you learn both windows and DX.
I suggest you visit this site. From what I've seen of it, it's a good place to start learning DirectX and WinAPI.
www.directxtutorial.com
Be warned, that site doesn't check for errors during run-time. If something messes up, you won't know if it's your coding or if DX didn't initialize, etc.
Anyway, I would say first off just learn the basics of WinAPI. If you're planning on programming basic games, you'll only be using the basics (i.e. making a window and message handling).
Also, choose which DirectX you want to learn. There's a subtle difference between DX11 and DX9 (and DX9 has a lot more tutorials). You might want to choose DX9 because it runs on Windows XP, while DX11 only runs on Vista and 7 (there's really no advantage DX10 has over DX11)
As for resources, I'd recommend the Sample Browser that comes with the SDK. You'll need Visual C++ Express for the provided examples (it's free to download and register). Another thing you might want to take a look at is the Documentation for C++ (which also comes with the SDK)
Along with the drunken-hyena site (linked above), there's also two-kings.de and riemers.net. You'll also want to be looking up concepts as you learn about programming, which you can just Google.
And if you don't know classes...well, there goes the point of programming in C++.
Another thing....I'm a sheep.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement