Good DirectX/Windows Tutorial

I really can't find any good ones, and I'm trying to make a game, and I really need the help.
directxtutorial.com - First lesson won't compile
drunkenhyena.com - Doesn't tell me variable types and needs common code to compile
two-kings.de - overly complex for starting out in directx and windows.

So, can anyone help me?
Last edited on
There is the tutorial in the DirectX SDK but you must already know how to create a basic window (it has an example in there).
It would be better to learn the basics of Windows API and then move to DirectX.
Before you can write a game, you need to be very proficient at C++ and Object Orientated Development. Are you?
Last edited on
I've run through the directXtutorial.com stuff with no problem. Have you downloaded the SDK? Which compiler IDE are you using?
Mitaskos: Looked at that, can't navigate it.
Zaita: Not helping.

bnbertha: Yes, and Visual C++ Express Edition '08. It says that it can't change some variable type (I think something with chars) to some other variable type.
VenomousNinja: Not helping?

Game development is the elite-ist software development. It is MUCH harder than traditional software development. You must be VERY proficient in your language of choice before you have much of a chance at producing any sort of game that isn't going to be riddled with bugs and horrible code.

If you are unable to navigate through the DirectX SDK folders to the one with "Samples" or "Tutorials" (I can't remember, been years since I worked with DX) then you should spend some more time learning how your OS works.

It says that it can't change some variable type (I think something with chars) to some other variable type.


Again, this most likely a simple C++ language issue.


I am not trying to discourage you from trying to build games (I myself code in OpenGL). But I am telling you right now, it's extremely difficult. If you do not have a firm grasp of C++ you will spend many hundreds of hours writing code that just won't work correctly.

The tutorials at DirectxTutorial look fine,and should compile without issue. As long as you have the SDK installed, and linked to your IDE correctly.
Hmm...
Odd...
And, still, not helping. I know what game programming is. The reason I became a programmer is to make games.
What you mean
Looked at that, can't navigate it.

You can't find the sample files and the tutorial?
After the default installation it created the following folder:
C:\Program Files\Microsoft DirectX SDK (June 2008)\
From that folder you can go to the Samples folder. Then you can either go through the samples in the "C++" folder ot go to the "SampleBrowser" folder and run "SampleBrowser.exe". It is an application that shows you all the samples, tutorials, difficulty lvl and more information about everything. It is very easy to follow the tutorial in there if you know C++ and Windows API.
No, I can't navigate msdn.com.


It's very confusing.
It seems like you know what you want to do but don't have the patience to learn how to do it. You still haven't answered if you know C++ well or not. And you say:

The reason I became a programmer is to make games.


If all you want to do is make games, then you're not up for this challenge.

Zaita said:

Game development is the elite-ist software development.


Meaning to be a game programmer, you need to learn everything a software developer would need to learn and more. You seem to think it is very easy, and boy, it is not. I know another person like you. I show him my console blackjack and console mastermind and he says, why don't you give it some visuals like an actual game. There's no explaining to him that it is not easy and you cannot just jump right into that stuff.

And I'm sorry, but it seems to me like your giving everybody on here attitude because they're not giving you the answers you want to hear. These people are telling you facts, and if you're not getting the answers you want, try rewording your question or answering some of these guys' so we can actually help you.

Like:

Before you can write a game, you need to be very proficient at C++ and Object Orientated Development. Are you?


Yes or no?

Again, you guys aren't helping.

Like I said, I know what game programming is, I understand the caliber of it. I asked for a good DirectX tutorial because I couldn't find one. I didn't ask to have my coding skills questioned.
Hey guys, don't exaggerate on the difficulty of game development. Game development isn't *that* much harder than writing an operating system.

What I don't understand is why you want a tutorial. Read the SDK documentation, everything is described there, and correctly (in my excerience, the authors of most tutorials are not really understanding what they want to explain - they write it in the process of understanding it themselves. Therefore, errors are made, which is unacceptable in the context of realtime 3d graphics). BTW, I actually would use OpenGL. The shading language allows for a compilation step which is done before linking - DX doesn't allow that. Quite nasty when you write extensive shaders. Plus, for OpenGL the famous book-series is ingenious (Red Book, Blue Book, Orange Book, Extensions Guide). Nothing alike exists for DX.
Last edited on
exception: Thanks. I've already got a good tutorial(the help file that came with the SDK). I'm just angry at the other guys for questioning my coding skills.
Angry because we're trying to help? A bit cocky don't ya think?

You could just say professionally:

I am well versed in C++, though I am completely self taught I've been using it for about two years now.


Too much pride to say something like that or what?

A) You weren't trying to help. And if you were, you were doing horrible. Instead of helping, you questioned my coding skills, and instead of reliasing that you weren't helping, you tried to tell me what I could say if I wasn't too 'cocky'.

B) If you already know it, then why do you ask?
Read my first reply...
There is the tutorial in the DirectX SDK


You said:
Mitaskos: Looked at that, can't navigate it.


And now you posted:
I've already got a good tutorial(the help file that came with the SDK)


Does this make any sense to you? Because it doesn't make any sense to me...
You say that we don't try to help you but we already gave you the answer 14 days ago... And you were saing that nobody tries to help you... And then....... "Magic" you found the SDK tutorial...
Those people are trying to tell you what it needs to become a profesional game developer... As you read in the tutorial (at the first page second paragraph):
The intended audience is those familiar with programming, but relatively new to 3D graphics programming.

As I know English it means that you have to know c++ first before trying it...
Then if you read "Tutorial 0: Win32 Basics" it just have a code with 2-3 comments... It is not a detailed explanation of win32 to get started...

Last edited on
http://www.programmingforums.org/
http://forum.codecall.net/
http://www.go4expert.com/
http://www.codeguru.com/
http://www.daniweb.com/forums/forum8.html
http://www.dreamincode.net/forums/showforum15.htm
http://www.freeprogrammingresources.com/cforum.html

Pick another one will ya?

I'm predicting you will either:

A.)Leave this site and never come back

B.)Not leave because you're too cool to conform and you will stay here to spite me. (If this I'm predicting some snobby comments in topics I post)

Also, maybe if you told us the extent of your coding skills nobody would 'question' them. (It's strange how you get offended by being asked a question, seems almost...childish..)

PS This was my closing argument as I'm no longer looking at this topic so good luck finding a tutorial.

Sorry to everyone for having to read this nonsense.



Last edited on
closed account (z05DSL3A)

VenomousNinja Wrote:
I'm just angry at the other guys for questioning my coding skills.


VenomousNinja,

The people here don't know you from Adam. If anyone questions you coding skills is is probably because they don't want to suggest a Janet and John answer to your question. There are a lot of posts on this site from people, just starting out, who want to jump headlong into code that the would not understand. You may or may not fall into this category, I can't tell from your posts so far, all I can tell is that you are not giving the information required to help you.

Out of interest is this you?
http://en.wikipedia.org/wiki/Wikipedia:Editor_review/VenomousNinja
Last edited on
Mitsakos: A) I meant msdn. I'm using the tutorial that in the SDK. B) I'm saying that these guys who keep questioning my coding skills don't help me, and they're the only ones posting. Thanks for helping me out, however.

MikeB: Maybe, instead of questioning my coding skills, you simply could've helped me and not tell me that I probably don't know what game programming is and that I'm not good enough. That's really what it sounded like.

Grey Wolf: I've been here for a good while now. My coding skills shouldn't need to be questioned.

And, the incident they were referring to happened a few years ago.
Topic archived. No new replies allowed.