Note: You must be registered in order to post a reply.
|
calvinCoder |
Posted - Apr 08 2006 : 11:02:39 PM Hi ya, I hope I am posting this to the correct forum, if not, I apologize. I am a blind game developer, working on a racing game for the blind. Everything is coming along nicely, but I am having an impossible time finding decent documentation for implementing force feedback with vb.net 2003 and directX9. Everything I have found is in C+ or C#. Does anyone have any advice for where I might find docs or tutorials for doing this in vb.net? I have a basic joystick class working for the game, but nothing for FF yet. You can check the game out at: http://www.blindAdrenaline.com if you are interested. Much thanks for any advice. |
Eric Coleman |
Posted - Apr 10 2006 : 07:49:12 AM Calvin is right, VB is the bastard of Microsoft's programming languages. They have dropped support for VB in DirecteX. The SDK no longer has any VB.net sample applications, only C#. As for the force feedback, I don't have any joysticks that support it. After looking at the C# example, force feedback is more difficult than I thought because you can control the vibration in many different ways. |
Spodi |
Posted - Apr 09 2006 : 11:30:49 PM C/C++ has been around for much longer then VB, so it has become a regular with programming company. That, and the ability to cross platforms. That doesn't mean that Visual Basic is any worse, though. It is ALL about preference - speed isn't even an issue anymore for the indy gamer. If you have speed problems, it is your code, not the language. :) |
calvinCoder |
Posted - Apr 09 2006 : 10:40:22 PM Heh, nah man, debugging for the blind is hardcore.
Ok, so could I have a .dll written in C++ or something that can call the FF stuff? I really feel like I am using the bastard child of Microsoft's programming languages. What is the deal with all the C documentation without vb.net counterparts?
quote: Originally posted by Spodi
Racing for the blind!?
Dude, that is hardcore.
|
Spodi |
Posted - Apr 09 2006 : 9:42:34 PM Racing for the blind!?
Dude, that is hardcore. |
Aztecgames |
Posted - Apr 09 2006 : 1:46:33 PM Actually I don't believe it is possible to get force feedback working in managed languages yet. In the sdk the samples are there but do not work. The only sample which works is the c++ sample which is called ffconst? I tried quite a few ways to get it working, but it always reports that no force feedback device was found, and it exits. I search the msdn site about this and there was a post of someone asking about the managed support of this feature, and microsoft replied back that it was indeed broken and they would look into it. I am trying to get it working for a logitech rumblepad 2 controller. If anyone does know of a way to get this working please do post it here.
|
|
|
VBGamer |
© |
 |
|
|
|