Sorry, the Forum is closed :(

Unfortunately, the forum is now closed.

Please read the following post for further details.

We apologize for the inconvenience.
The SharpDX team.
Welcome, Guest
Username: Password: Remember me
Welcome to the general discussions!
  • Page:
  • 1

TOPIC: What should I do?

What should I do? 1 year 10 months ago #1207


  • Posts:15
  • Xanather's Avatar
  • Xanather
  • Fresh Boarder
  • OFFLINE
I am willing to have a go at SharpDX's Toolkit and make a game out of it, problem is obvious though, sound/input is not yet added to the toolkit. Is it safe to assume that these wont get added within the next two weeks and I should just program up a temporary one using the existing SharpDX toolkit examples (RawInput)?

I appreciate your work Alexandre.
Thanks,
Xanather.
The administrator has disabled public write access.

Re: What should I do? 1 year 10 months ago #1208


  • Posts:32
  • ChaosDev's Avatar
  • ChaosDev
  • Junior Boarder
  • OFFLINE
Me too have the same question - When new version realised ? Maybe better idea is stay away from paradox engine and workaround sharpdx ? At least, I think this engine will cost >1000$ and not all can use it, and sharpdx will improve and fill many other engines and games for free. The idea for public updates via github is doubtful, because people usually dont want bother yourself hard and have such experience for real improvements.
The administrator has disabled public write access.

Re: What should I do? 1 year 10 months ago #1211


  • Posts:16
  • lwm's Avatar
  • lwm
  • Fresh Boarder
  • OFFLINE
I haven't tinkered with sound yet, but DirectInput is pretty easy to use.
var di = new DirectInput();
var keyboard = new Keyboard(di);
keyboard.Acquire();
var keyboardState = new KeyboardState();
mouse.GetCurrentState(ref keyboardState);

I don't think it is possible to get the absolute mouse position via DirectInput, so you will have to use another (platform specific?) API to do that. System.Windows.Forms.Cursor.Position on the desktop, for example.
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.185 seconds