DirectX or Random

ThePentiumGuy

Senior Contributor
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
_____________
 
If you're writing a game that you want others to play, I assume you'll have a setup (if it's more than just a simple game that you post here, for instance). In that case, installing DirectX (or whatever extra libraries you need) shouldn't be that big of a deal.

As for you using DirectX JUST for DirectInput, I wouldn't 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, I'd stick with GetAsyncKeyState or the basic windows events.

-Ner
 
Back
Top