Creating a voice-command system


(John Andersson) #1

I want to make a system where I can talk to the enemies and give them instructions. I know it’s gonna be hella hard, and I don’t really want source code so I can copy paste (altough some hints would be nice).

I am just wondering where to start. I’ve checked most of the commands from FP and I have even googled this, but it’s very vague…

Any ideas? :slight_smile:


(David Williams) #2

https://forums.adobe.com/thread/1197146

Speech recognition does not sound like something that would be practical for an AS3 game.


(Jacob Albano) #3

FYI, that second link is for an android native extension. It won’t work on PC or in a browser. The first link just doesn’t load for me, but it’s the Adobe forums so that’s pretty par for the course.

There’s nothing built into Flashpunk that pertains to speech recognition, and for that reason this question really doesn’t belong on these forums. Any library that dealt with such things would be completely separate from rendering, the world-entity structure, etc, and would therefore run in parallel with your game. I don’t even know if such a thing is capable in Flash, and even if it is there’s no way to run it fast enough to keep a steady framerate.

Frankly John, this is way beyond your skill level at this time. It’s way beyond my skill level, and I’ve been programming for years. Try to keep the scope of your project small and avoid adding more pieces before you finish what you’ve already started.