DirectX tutorials?

Started by
13 comments, last by plebon 15 years, 3 months ago
I mainly just want to know where I can get my hands on some DirectX tutorials for 2D game development? I am thinking of buying the Advanced 2D Game Development book since it was written with DirectX. Also will it be better for me to learn the basics of DirectX9 or focus more on learning version 10? Thx in advance!
Advertisement
What is your main reason for using dx instead of something like sdl?
Check out my new blog: http://beefmachinegames.wordpress.com
http://www.vbgamedev.com/newc/DirectXGraphicsArt.zip
http://www.vbgamedev.com/
Reason? Well I want to get into DirectX so instead of limiting myself to a basic wrapper like SDL even tho it would be wasy to use I want to teach my self in using more oop and since DIrectX is oop related with it COM stuff I chose it. Using SDL would just keep me on making simple 2D stuff, using DirectX would allow me in using effects and other things and give me a start on moving up to 3D with DirectX.
http://www.directxtutorial.com/

A really nice site that got me up and started pretty quickly. NOTE: For some of the later topics specificly about game programming you need a premium membership.

After doing these tutorials I wrote my first 2d game - space invaders :P
Quote:Original post by Wizecoder
What is your main reason for using dx instead of something like sdl?


Are you serious ?!
SDL is not hardware accelerated.
SDL is not used on the market
SDL is for <=15 years old kids.
Quote:Original post by george135
SDL is not hardware accelerated.
SDL is not used on the market
SDL is for <=15 years old kids.


SDL is fine at what it does. It doesn't matter that(/if) it "isn't used on the market" and it certainly isn't solely for 15 year olds.

If you are working on a 2D project, SDL is often the quickest and easiest option, and therefore often the correct one.

Edit: And now, to contribute something of value to this thread. There's some decent info for D3D and graphics programming in general on toymaker.
I would advise against visiting the toymaker site above without a heavily secured browser. I should definitely get NoScript for Firefox. Anyway, it decided to disable my firewall and install some malware which I'm removing right now.
I'm learning, just like the best of us...Ok, now assume a spherical cow... :)
Quote:Original post by plebon
http://www.directxtutorial.com/

A really nice site that got me up and started pretty quickly. NOTE: For some of the later topics specificly about game programming you need a premium membership.

After doing these tutorials I wrote my first 2d game - space invaders :P
I'd strongly recommend against that site - it teaches very bad habits, and doesn't teach a lot of very important things that'll cause your apps to just crash with no warning on a lot of hardware. The fact you have to pay for some of the (awful) tutorials there is just terrible.

There was a Recent Discussion about it over on the DirectX forum.
Thx for the replys!! Now I need to memorize too some decree the full main method used with the windows header. LOTS more coding than the int main(...) one.

This topic is closed to new replies.

Advertisement