Hi,
I have posted this to blastbay too, but I'm posting here to get help quicker. Can you please help with my Dynamic_menu? It says "welcome!" and the program shuts down.
I talked enough, here's my code:
#include"dynamic_menu.bgt"
void main() {
show_game_window("testmenu");
tts_voice speech;
speech.speak_wait("Welcome!");
dynamic_menu mainmenu;
mainmenu.wrap=false;
mainmenu.allow_escape=true;
int playerchoice=mainmenu.run("Please select an option and press enter to activate it.",true);
mainmenu.add_item_tts("Start the test.");
mainmenu.add_item("exit");
if(playerchoice==1) {
alert("This is a test!","This is a test!");
}
if(playerchoice==2) {
alert("Cheepscape","Exiting...");
exit();
}
}
I usually post game recordings to anyaudio. Click here to visit my anyaudio page