DirectX 7.0

Learn Computer Game Programming

Page 1 of 1

10 Replies - 4054 Views - Last Post: 23 January 2006 - 10:02 PM Rate Topic: -----

#1 pfristoe  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 15
  • Joined: 01-January 06

DirectX 7.0

Posted 22 January 2006 - 03:26 PM

Has anyone had any experience with this book? I did everything it said to do in chapter one, the tutorial compiled without any errors, but didn't wait for me to press escape to quit the view of a game background. at one point, I got so desperate that I tried running the .exe file that my C++ 5.0 generated. And when I came back into windows, all my Shortcut Icons were squenched up into the upper left corner of the screen.

:blink: As you can see, I am new at this...

Is This A Good Question/Topic? 0
  • +

Replies To: DirectX 7.0

#2 Mrafcho001  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 40
  • View blog
  • Posts: 769
  • Joined: 01-November 05

Re: DirectX 7.0

Posted 22 January 2006 - 04:21 PM

You dont want to learn DirectX 7.0. There was some major changes in DirectX 8.0. DirectDraw and Direct3D got merged and a whole bunch of other stuff. THere was also some not as major changes in DirectX 9.0. So you realy want to learn DirectX 9, not 7.0.
Was This Post Helpful? 0
  • +
  • -

#3 pfristoe  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 15
  • Joined: 01-January 06

Re: DirectX 7.0

Posted 22 January 2006 - 05:37 PM

No, I'm not really learning DirectX 7.0, that's just what is part of the name of the book. I downloaded DirectX 9.0c. I'm using Windows 2000 with Visual C++ 5.0. and have also installed Java. How else can I start learning to program for games? I'm just beginning, and know nothing, give me some pointers here...

This post has been edited by pfristoe: 22 January 2006 - 05:41 PM

Was This Post Helpful? 0
  • +
  • -

#4 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 247
  • View blog
  • Posts: 13,505
  • Joined: 12-July 02

Re: DirectX 7.0

Posted 22 January 2006 - 06:01 PM

You can program for games in any number of languages, although C++ using either DirectX (mentioned by Mrafcho001) or OpenGL are the most common. Each has pros and cons (albeit minor in their real difference from each other), so you can choose what you like. Java is good as well, although there are standardly some performance issues in java apps that run in older versions of the runtime environment.
Was This Post Helpful? 0
  • +
  • -

#5 Mrafcho001  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 40
  • View blog
  • Posts: 769
  • Joined: 01-November 05

Re: DirectX 7.0

Posted 22 January 2006 - 06:16 PM

I see you have a book that teaches you about programming in DirecX 7.0, which is now outdated.

Also, your compiler VC++ 5.0 is quite old, and i recommend that you upgrade to VC++ 6.0 or higher.

You have downloaded DirectX required to play the games. Its just bunch of dlls. You need the DirectX SDK, which has libraries, and header files, that allow you to make games.
Was This Post Helpful? 0
  • +
  • -

#6 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 175
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: DirectX 7.0

Posted 23 January 2006 - 04:32 AM

I think he already has the SDK from the description he's given.
As everyone said, learning DirectX 7 would be useless as DirectX 8 and above have a lot more functions in the API.
Get a Book that Teaches DirectX 9 or at least 8
Was This Post Helpful? 0
  • +
  • -

#7 pfristoe  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 15
  • Joined: 01-January 06

Re: DirectX 7.0

Posted 23 January 2006 - 07:22 AM

Okay thanks all,
I'll have another look at the library, and see what I can find. And I will also try to see if I can update my compiler. That is expensive though...
Was This Post Helpful? 0
  • +
  • -

#8 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 247
  • View blog
  • Posts: 13,505
  • Joined: 12-July 02

Re: DirectX 7.0

Posted 23 January 2006 - 07:25 AM

It is only expensive if you use a compiler like M$ VS or Borland...there are many free C++ compilers available for use.
Was This Post Helpful? 0
  • +
  • -

#9 Mrafcho001  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 40
  • View blog
  • Posts: 769
  • Joined: 01-November 05

Re: DirectX 7.0

Posted 23 January 2006 - 10:09 AM

The best free compiler i recommend is Dev C++.

I am not sure if it is compatible with directX or but there was times when i use to use it, and it was very good for a free compiler.
Was This Post Helpful? 0
  • +
  • -

#10 1lacca  Icon User is offline

  • code.rascal
  • member icon

Reputation: 44
  • View blog
  • Posts: 3,822
  • Joined: 11-August 05

Re: DirectX 7.0

Posted 23 January 2006 - 02:22 PM

I would suggest checking out the pinned thread in game programming that has a couple of resources about, well: game programming. There are dozens of tutorials on those sites for free using both DX or OpenGL.
Was This Post Helpful? 0
  • +
  • -

#11 WolfCoder  Icon User is offline

  • Isn't a volcano just an angry hill?
  • member icon


Reputation: 753
  • View blog
  • Posts: 7,549
  • Joined: 05-May 05

Re: DirectX 7.0

Post icon  Posted 23 January 2006 - 10:02 PM

Watch out! The versions for independant parts of DirectX are all out of sync. I've been programming for DirectX 8 and all of the variables have different generations. A version 7 surface requires a version 2 surface description struct. I know it's crazy but be careful.

PS, wasn't this supposed to be in the Game Programming forum?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1