hexgear:
Yes, u can do a game in C++ without the need of any SDK. It was made like that b4 MS invented DirectX. There're much more obstacles if u choose to do so. U will need to code all the libraries yourself, which is painful. (like, readers files like d3d.h which makes like so much easier
).
Also, you will need a really good hardware understanding. Who here does not remember old DOS games, where u needed to set up, for exemple, ur sound card :S. Yeah, go into "Run", type "command", type "set" into DOS prompt and see which IRQ and other stuff ur sound card was
Then, use those values during the instalation of a game, including wav and mid files ports. Most of the times, you played without any sort of sound or worse... PC Beeps...ghehehe.
DirectX controls all those painfuls understanding of hardware config for you, including network, graphics and sounds. A easy thing to do with DirectX is to create a mp3 player ^_^. DirectSound is easy to understand ^_^, as is DirectShow.
Some peoples ( ain't many doing it
) uses Visual Basic and DirectX to also create games. That's good and bad for some reasons.
Cons:
It's said that it's MUCH slower then code in primitive C/C++ DirectX. However, running the demos which comes bundled with MS DirectX SDK ( like the Dolphin demo, for exemple ) were not slower then the demos made with Visual C++ ( if u downloaded the SDK, u may test it and see the fps results ).
It's easier to hack ur game, Visual Basic is pretty easy to decompile with the right toolz
.
Collisions detection is not possible... U will need to code it externaly using Visual C++, for exemple.
Pros:
It's much more simplified then Visual C++. Visual Basic's editor works greatly, antecipating every probable syntax for you ( if anyone tried, they know what I mean by that ).
U have a better flux control of what you are doing with your code... the syntax is pretty simple, compared to C++ pure.
As always, I will recomend one site about Visual Basic/DirectX programming. I love that site ^_^:
http://www.vbexplorer.com/directx4vb/index.asp
Those guys have been playing around with Visual Basic and DirectX since DirectX 7.0 ( which was the first DirectX with support to Visual Basic, if I'm not mistaken ). I think they already started somes DirectX9 tutorials there...
This is also a good site about tutorials and general links, they are recommending DarkBASIC in there too ^_^:
[url]www.gamecoding.co.uk[/url]
Well, I think those are about all sites I know ^_^
"A true warrior fights with skill, not anger..."
Gif edited by Kangaroo2