DirectX or Random

ThePentiumGuy

Well-known member
Joined
May 21, 2003
Messages
1,113
Location
Boston, Massachusetts
I dont know if this should be in "DirectX" or "Random Thoughts":

Does WindowsXP come with DirectX? - If so, what version

the same for windows Me, and 2000 and 98

Reasons:

Im just wondering because im thinkin weather my game should use DirectInput or using the API GetASyncKeyState

If i was gonna do DirectInput, the problem is, i would have to install the DX Run time on all the computers the game is gonna run on.


_____________
Thanks,
The Pentium Guy
_____________
 
None of them come with DX9, which is what you should be using if youre using .NET.
 
If youre writing a game that you want others to play, I assume youll have a setup (if its more than just a simple game that you post here, for instance). In that case, installing DirectX (or whatever extra libraries you need) shouldnt be that big of a deal.

As for you using DirectX JUST for DirectInput, I wouldnt bother. DirectInput is nice and has some great features, but most of the advanced stuff is for obtaining exclusive control over the mouse and/or keyboard (or joysticks, etc.) when doing a full screen app. If you just plan on having basic mouse/keyboard input, Id stick with GetAsyncKeyState or the basic windows events.

-Ner
 
Back
Top