Click to See Complete Forum and Search --> : DirectX7 in C++
Jotaf98
Jun 3rd, 2002, 05:46 PM
Hi all. I've been coding DirectX games in VB for a while (*hint*: check the VB Games and Graphics forums :p ) , and since I recently learned C++ I'd like to know where do I start coding it in C++... there isn't a really big difference right? Maybe if I look at a few samples it would be enough? But a small tutorial would be nice if you know one :) so I get used to it (without all the common mistakes I'm probably gonna do).
HarryW
Jun 3rd, 2002, 06:00 PM
There are loads of tutorials (or at least there were last time I looked) over at www.gamedev.net .
The general architecture of DirectX is the same in C++ but VB is a slightly simplified version in many ways. There are plenty of pointers to deal with, and pointers to pointers :) Overall it's not much more difficult though.
CornedBee
Jun 4th, 2002, 05:54 AM
Once you get the idea of pointers and pointers to pointers and such weird C things you'll be okay. While not you're gonna have a lot of problems. I recommend using Win2k/XP, not 9x/ME for stability reasons. This way you'll also avoid games that don't run on Win2k pcs. Happy pc crashing :)
Jotaf98
Jun 4th, 2002, 06:06 PM
Yeah thanks :)
I have Win98, and I'm going to format my HD in a few days anyway... WinXP doesn't work with a lot of games and Win2k uses too much resources. Yeah I think I'll just install Win98SE again.
CornedBee
Jun 5th, 2002, 04:33 AM
As you wish. But I warn you, I had to restart about twice an hour back when I used Win98. Now I never restart (Win2k). Think about it.
Jotaf98
Jun 7th, 2002, 09:37 AM
Well I never had any serious problems with it. It always depends a lot on your computer.
Anyway... all the DirectX tutorials at gamedev are for DX1.0... weird huh? :p
CornedBee
Jun 7th, 2002, 10:43 AM
In that case I wouldn't use them. I think DX has changed quite a lot.
Jotaf98
Jun 8th, 2002, 04:48 PM
Yeah I know. Any other great idea as to where should I learn it? :)
Vecna
Jun 8th, 2002, 05:01 PM
all the DirectX tutorials at gamedev are for DX1.0...
Ummmm, I don't know where you looked but gamedev.net has plenty of articles just on DirectX 8. In fact, I don't remember seeing any tutorials or articles on DirectX 1.0... Gohere (http://www.gamedev.net/reference/list.asp?categoryid=24)
parksie
Jun 8th, 2002, 06:54 PM
Originally posted by Jotaf98
Yeah thanks :)
I have Win98, and I'm going to format my HD in a few days anyway... WinXP doesn't work with a lot of games and Win2k uses too much resources. Yeah I think I'll just install Win98SE again. That's because they weren't coded properly.
Anything that uses DirectX properly should have no difficulties. Max Payne plays perfectly on my 2K system, without using too many resources on the OS :)
Jotaf98
Jun 8th, 2002, 07:24 PM
Hmm yeah ok :)
Maybe I'll install Win2k. Vecna, I was talking about DirectDraw. The problem with most sites is that they're all about 3D :(
If you look for DDraw you won't find anything.
Zaei
Jun 8th, 2002, 10:25 PM
Try this one...
http://www.gamedev.net/reference/articles/article1077.asp
Z.
Jotaf98
Jun 16th, 2002, 02:41 PM
Hmm... ok thanks, I guess that's enough :)
:p
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.