C# directX how to?
-
I just installed directX 9.0 and it sits in the directory DXSDK, how to do set my C# to talk to the directX components??? Thanks samuel
-
I just installed directX 9.0 and it sits in the directory DXSDK, how to do set my C# to talk to the directX components??? Thanks samuel
You asked a mouthfull. And the SDK is more C++ oriented far as when i last checked it out. In a C# App you can Add Reference..."Microsoft.DirectX" and "Microsoft.DirectX.Direct3DX" (for the version you want to work with) of course DirectSound etc aswell if you need it. However if you are wanting to make 3D games using DX then this might be a better starting point: Microsoft XNA Studio http://msdn.microsoft.com/xna/[^] Comes with a space shooter game and all source code in C# all working. Could be eaiser for you if you are new to DX Other options are less 'clean' for use with C#, but there is alow of code available on the net just google it. Either way good luck
Always more to learn, and i wouldn't have it any other way.