Qroft Posted April 4, 2017 Share Posted April 4, 2017 I bought Construct 2 to see how good i am in drag-and-drop game development. It's not that i sucked, but with a programmer background i hate it. So i tried out Phaser and loved it from the beginning. But now after working for 5 days on my game i had to find out that there is no microphone input for phaser. Am i correct? I need it to work on my mobile device. At the moment i thought that i build the game via phoengap, but how do i activate a microphone input? Anyone of you had any chance in making this possible? Greetings from this croner of the planet and thanks for your time. Link to comment Share on other sites More sharing options...
rich Posted April 4, 2017 Share Posted April 4, 2017 Sure, it can be done. Look at navigator.getUserMedia - there are lots of tutorials out there, here's one I found: https://patdunn.net/2015/04/27/how-to-request-a-webcam-and-microphone-using-javascript/ It's just basic JavaScript, so pull in what you need to your game, and use it however your game requires. Link to comment Share on other sites More sharing options...
Recommended Posts