Sign in to follow this  
majourab

Its hard but whats next?

Recommended Posts

majourab    124
Hello! So first of all let me just say I am the level design guy and programing is not my best friend. however I have tried to become friends with c++ by grasping the basic knowledge of c++ with pointers arrays classes etc.. Today I started with direct X programming :( not wanting to but at the same time I like to know whats going on in other aspects of game development. After a long 2 hour or so I finally got a simple 800X600 window open with background color to be black ;) lol I was blown away with the complexity of directX. I think programming and DirectX are two totally different things and if you are good programmer it doesnt mean you will be good at directX (my initial reaction)!! As you can tell Im not a genius programmer lol (its clearly obvious) What really bothers me is (1) that (There are no good newbie tutorials out there) please give me a link if you know any :) (2) to go to the next tutorial of inserting a simple triangle with 3 vertices it takes so many lines of code!! And I have no idea what they mean. LIKE NO IDEA lol maybe im just not patient. oh and just thinking that there is a long way to get to actually making inputs for characters and animations it really hurts :( I sat there and read it over and over...I have bought books for it too but it just is too complex. Is it just a phase that you will go through and get better? Any thoughts? Should I just stick with level design? lol How are you all doing with DirectX? Please help this brother out with any website links that are newbie or a better way to approach directX. Message to all DirectX programmer : YOU ARE ALL GENIUSES!!!

Share this post


Link to post
Share on other sites
fladur    136
Direct3D may look overwhelming, and unfortunately, my point of view, you are right its is extremely complex, but it is also extremly powerful and flexible, anyway straigh forward to your questions:

1) The best tutorials for complete beginners: http://www.directxtutorial.com/
2) Loading a charecter or level geometry is not that hard, you can use D3DX libray to help you load meshes (That doesnt means that u can skip vertexbuffers, etc) xD

Quote:
Should I just stick with level design? lol

If you like graphics programming and in general, game programming, go for it, i beat you can.
Quote:
Message to all DirectX programmer : YOU ARE ALL GENIUSES!!!

Thanks we work hard on it.

Share this post


Link to post
Share on other sites
Alatar    303
Hi majourab!

You should check out Evil Steve's tutorials here.

Also, if you come across www.directxtutorial.com, don't use it. It has a lot of errors that can confuse and mess up beginners.

Don't worry that it seems too complex, just stick with it and do your best and eventually it will make sense. If you get stuck, don't give up. There are many very knowledgeable people on these forums who would love to help you out.

Good luck!

Edit:
Quote:
The best tutorials for complete beginners: http://www.directxtutorial.com/

Arguments against directxtutorial.com here. (Especially see Evil Steve's posts)

[Edited by - Alatar on February 22, 2010 10:43:58 PM]

Share this post


Link to post
Share on other sites
fladur    136
Quote:
Original post by Alatar
Hi majourab!

You should check out Evil Steve's tutorials here.

Also, if you come across www.directxtutorial.com, don't use it. It has a lot of errors that can confuse and mess up beginners.

Don't worry that it seems too complex, just stick with it and do your best and eventually it will make sense.

Good luck!

Edit - arguments against directxtutorial.com here.


Wow!!! I started Direct3D with that site, and now i discover its... sheet??? that hurt's funtunately i learned that stuff(like error checking later) anyway, thanks for that Alatar

Share this post


Link to post
Share on other sites
Alatar    303
Quote:
Wow!!! I started Direct3D with that site, and now i discover its... sheet??? that hurt's funtunately i learned that stuff(like error checking later) anyway

The same thing pretty much happened to me. I found the site and I thought it was great (I even printed off every tutorial) and after reading almost all of them I found out how bad they were. What a waste of paper! But after reading Evil Steve's posts I went back and relearned almost everything (with a lot of help from his tutorials). Oh well.

Share this post


Link to post
Share on other sites
miriam3d    100
I started learning Direct3D with the book "Direct3D Programming Kick Start" by Clayton Walnum. It goes through all the basics, starting at the very beginning.

Share this post


Link to post
Share on other sites
majourab    124
Thank you everyone for your replies...I was just really pissed to begin with lol next gen direct x and games shouldnt always be about graphics but making it alittle bit easier to use at least to learn the basics for beginners. Yet the basics are hard too :( Again my opinion lol ;)

I will look at the tutorials for sure cuz I really want to learn directX. Programmers make it happen ;) thats all i can say lol


I got book from clayton Walnum (21 day teach yourself to directx...)his tutorials are amazing although he is talking about direct X 8.1 but even the first tutorial when i create one myself it doesnt work :(


Again I will have to work at it ;) it wont come easy by the looks of things lol

Big thank you everyone :)

Share this post


Link to post
Share on other sites
marius1930    119
Quote:
Original post by majourab
Thank you everyone for your replies...I was just really pissed to begin with lol next gen direct x and games shouldnt always be about graphics but making it alittle bit easier to use at least to learn the basics for beginners. Yet the basics are hard too :( Again my opinion lol ;)


The basics of DirectX isnt hard, it's just rather extensive.
If you keep using it, it'll come pretty easy :)

Share this post


Link to post
Share on other sites
Atrix256    539
This is a great tutorial on directx for beginners.

http://www.drunkenhyena.com/cgi-bin/dx9.pl

That set of tutorials is GREAT for setting things up the right way to catch all the directx errors that could possibly happen etc.

he also has some game programming tutorials on his site. I'd stay away from those, they are not good at all, but the directx tutorials are really good.

Share this post


Link to post
Share on other sites
lightbringer    1070
I'll go by my experiences with learning OpenGL (which is probably a somewhat simpler API to work with, especially now that 60% of it was deprecated) to give you some advice.

Quote:
Original post by majourab
(2) to go to the next tutorial of inserting a simple triangle with 3 vertices it takes so many lines of code!! And I have no idea what they mean. LIKE NO IDEA lol maybe im just not patient. oh and just thinking that there is a long way to get to actually making inputs for characters and animations it really hurts :(

A certain amount of glue code is required to get going, but once it's in place you can modify little bits to see how things work. The good news is that for now, you can just copy/paste some parts and/or just write them once. You don't need to know about how Windows does messaging in order to copy that code. Eventually you will want to rewrite that stuff to make it more robust, but for learning it won't matter. But for functions related to the API itself, you better look up and read up on each and every one that you copy so that you know exactly what's going on, or else it's not very useful to you. This takes time. This is where you will feel the difference between the low quality tutorials on the net that just show a bit of code (that they took from somewhere else, mostly) and and a good book that expains things properly.

Quote:
Original post by majourab
I sat there and read it over and over...I have bought books for it too but it just is too complex.
Is it just a phase that you will go through and get better?

You will get better, provided you spend time doing it. If you want a much easier route language-wise but want to stick with DirectX, why not check out C# and the XNA Game Studio?


Share this post


Link to post
Share on other sites
NightCabbage    100
Quote:
Original post by Alatar
You should check out Evil Steve's tutorials here.


I'm just starting out, too :)

And I have had a look at a lot of tutorials... heaps...

This one is the best.

I only just found Steve's site the other day, but I wish I had found it sooner.

Basically, I had constructed my code using things I had learnt from various tutorials. Many of them do things the wrong way. So looking through about 5 tutorials, I had this piece of code that was fairly good - had the best parts of all the tutorials combined.

Then I found Steve's site. It was extremely similar to my other code (with some improvements)... but the point is that it took me many hours to find the "correct" way of doing things using the other tutorials, and posing questions here - and then Steve's site just has it all there from the start.

I wish I'd found it earlier... lol

Share this post


Link to post
Share on other sites
majourab    124
Thanks for the links again :) I bookmart whatever I can get my hands on to learn :) lol

I was thinki of using XNA game studio. ITs great step from microsoft to make things simpler but DirectX is still what is dominating game programming (I think lol) so I might as well just take the time and learn it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this