How to make multiple questions that the player can select?

ITSLEO
17 Nov 2017, 20:56

I need at a point in my game where the player can make different questions to a character, but not using verbs or commands, but where the game prints multiple choises and the player can click what they want and then the different answers of course.

I'm not good at Java, may you please send me examples screenshot please? Thank you

-ITSLEO (Using Quest)


Doctor Agon
17 Nov 2017, 21:58

Hi Leo, take a look at Pixie's excellent 'Conversation Library'
https://github.com/ThePix/quest/wiki/Conversations:-Library
I think it should provide what your looking for, the questions are listed in a menu form.
Also: http://docs.textadventures.co.uk/quest/libraries/dynamic_menus_for_conversations.html
http://docs.textadventures.co.uk/quest/ask_about.html
There is also this link I found very informative on the differing styles adopted:
https://emshort.blog/how-to-play/writing-if/my-articles/conversation/


DarkLizerd
18 Nov 2017, 04:20

For a different twist...
Check out how the player selects the options for my Wumpus game...
Each "control" is like a rotary switch, advancing 1 step with each selection.
Altho, Menu, would be the easiest for selecting a controlled input...
http://textadventures.co.uk/games/view/g4jaujz2ceipk6vi3cfx0a/wumpus-3-0