How do I add speech recognition as third option for movement

Get help using Construct 2

Post » Tue Mar 18, 2014 10:21 pm

Hello all,

I am new in this amazing forum and platform and i can say it's outstanding.
I opened a demo project from Construct2 (8 direction 1 (simple movement).capx) and i was wondering how can i use the speech recognition engine as a third option , so my object goes up when i am say up?

Regards
George!
B
3
Posts: 2
Reputation: 179

Post » Tue Mar 18, 2014 10:41 pm

First add the userMedia plugin to your project.
Then call: Request speech recognition:
Language: "en" for english.
Mode: single phrase
Result: final

Now add another event:

system compare two values
if UserMedia.FinalTranscript = "up"
player simulate platform pressing up
Image
B
79
S
29
G
12
Posts: 515
Reputation: 12,584

Post » Wed Mar 19, 2014 12:09 am

in the second step.. at the new event when i am choose system i have to fill First Value, must select Comparsion type and fill the Second Value..
I can't make sense Sir Lof..
Is it possible please for you to give me more details? or a screenshot please?

Check my screenshot..

Regards
George
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: 25games, jatin1726, kiki4construct, Username05 and 32 guests