This repository contains simple game made with unity(2020.3.36f1 LTS) and speech recognition API.
The project utilize google's speech recognition API to translate voice of user into text, sent back to game to be used later.
This project use plugin to be the API between unity and google's cloud to use speech recognition from google.
Shout out to oshoham the creator of said plugin.
Simply download the project and then execute SpeechRecognition.exe file and the game will start.
Below refer to the source code for the project itself which is not upload yet
Open this project in Unity editor and you may edit the project or build it into game and try.
This project utilize Google's speech recognition which mean you need to have key file to access said service, Otherwise the game will be unable to recognize sound.
Please refer to doc or plugin repository for more info.
This game has 2 methods of controlling, keyboard control and voice recognizing.
In the gameplay, player will control character to collect box and attempt to earn score.
Player can move by hit keyboard control or use voice command to make character act according to player's word.
When player collide with box, a window that show the word in the middle of screen and timer will show up.
Your objective is to say that word correctly in time.
If you say it either incorrectly or too late, you will miss a score for that box.
After you collect all box a screen that display scores will show up, with option to proceed to next stage, repeat, or go back. Once you finish all stage, you will greet with credit screen and go back to main menu.