Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Force Feedback for blind game
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

calvinCoder
Neophyte

USA
3 Posts

Posted - Apr 08 2006 :  11:02:39 PM  Show Profile  Click to see calvinCoder's MSN Messenger address  Reply with Quote
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.

Aztecgames
Neophyte

USA
2 Posts

Posted - Apr 09 2006 :  1:46:33 PM  Show Profile  Visit Aztecgames's Homepage  Reply with Quote
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.


Go to Top of Page

Spodi
Warrior

USA
142 Posts

Posted - Apr 09 2006 :  9:42:34 PM  Show Profile  Visit Spodi's Homepage  Send Spodi an AOL message  Click to see Spodi's MSN Messenger address  Send Spodi a Yahoo! Message  Reply with Quote
Racing for the blind!?

Dude, that is hardcore.

vbGORE
Go to Top of Page

calvinCoder
Neophyte

USA
3 Posts

Posted - Apr 09 2006 :  10:40:22 PM  Show Profile  Click to see calvinCoder's MSN Messenger address  Reply with Quote

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.

Go to Top of Page

Spodi
Warrior

USA
142 Posts

Posted - Apr 09 2006 :  11:30:49 PM  Show Profile  Visit Spodi's Homepage  Send Spodi an AOL message  Click to see Spodi's MSN Messenger address  Send Spodi a Yahoo! Message  Reply with Quote
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. :)

vbGORE
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Apr 10 2006 :  07:49:12 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.09 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.