I am still coding the your_adventure audiogame. and with previous releases, of alpha's and the first beta and a rough beta on the 1st of january this year, i got suggestions to include screenreaders. Now i discovered how i can get nvda speaking the stuff. and i amalso thinking to make the game fully speak with nvda, and getting the sapi speech out. Cause nvda is free, and i suppose everyone likes a more quick gameplay. allthough i am almostcontent with my first tests in the main menu of the game.
Almost? yes, cause when i hit the "view the credits" option in the main menu for example, i don't even get half of the information the game provided withsapi, nvda speaks a few words and returns to the main menu.
the same when i create a new game. nvda speaks the title of the input_box that pops up and the title provided with the show_game_window function. i don't mind that actually, cause for this part all required info is given, but don't know if others will.but my main problem is that at step 2 of character creation, sapi mentioned that the system will generate an age between 18 and 25. but nvda doesn't. instead, it moves directly to finalizing the character. and doesn't speak the result. The result where your desired name and received age is spoken. together with the keys you can press to continue, turn back to the main menu or quit the game.
Is there a way i can force nvda to speak certain sentinces completely before moving on. Cause it would be very cool when the complete game will work with nvda... or would others suggest something different, such as keeping the sapi in as second option?
If yes, please explain to me step by step how i can add this option.
I only know by now how to make the game using nvda,but adding an options menu where every player can select their prefered type of speech is complete new knowledge to me.
To speak the sentinces, such as the credits, the sentince wich tells the player an age will be generated and the mentioned result are done with the following line:
screen_reader_speak(NVDA, "the sentinces go here, and some of them are pretty long");
Hope to hear from someone soon.