I want to integrate a multiple choice quiz into my TA. One question, with four possible answers. I also want it to restart if you get a question wrong. I'm using the browser based version. THis is my first project so sorry if it's a little nooby. Thanks1
the browser/online version's GUI~Editor is a bit more limited and annoying to use, so if you can, downloading the desktop/offline version is recommended. As it also let's you get into your game code, which you can post, allowing us to help fix it up for you, if you got any issues as you try to make your game.
look into using:
here's an example:
<function name="q1_function">
show menu ("How many eyes does a human have?", split ("zero;one;two;three;four", ";"), false) {
// quest hidden from you, does this for you: result = YOUR_SELECTED_MENU_CHOICE
// (also for the 'get input' Script/Function, quest does the same: result = YOUR_TYPED_IN_INPUT)
if (result = "two") {
msg "(Correct, good job!")
wait {
ClearScreen
}
} else {
msg ("Incorrect, try again.")
wait {
ClearScreen
q1_function
}
}
}
</function>
some useful links/resources:
http://docs.textadventures.co.uk/quest/
http://docs.textadventures.co.uk/quest/guides/
http://docs.textadventures.co.uk/quest/guides/character_creation.html
http://docs.textadventures.co.uk/quest/tutorial/