Skip to main content
GameDev.net gamedev.net
🔒 Locked

Alternative Controls

Started by Dr_Zoom May 2, 2012 at 8:09 PM 0 replies 1k views
Original Post
Dr_Zoom
Dr_Zoom
Hi folks, currently in the making some controlls for my game.

I planning to have some cind of small tube the player has to blow in to.

I whas wondering if some one had any ide how i can read if the player is blowing into the tube. only need to know if he/she is blowing into it , not how hard or anything like that.

thx
TheResolute
TheResolute
You would need to have some type of hardware device capable of that in the first place, which is by far the most challenging aspect of your design
If you are unable to find such a device you might be able to substitute a microphone, which has been done to detect the player blowing on something
It would probably be supported by DirectX if it did exist, in which case you could check out the documentation as to how to collect input from it
The process is not terribly complicated, as you can see here: http://msdn.microsoft.com/en-us/library/windows/desktop/ee416842(v=vs.85).aspx

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.