Page 1 of 1

How do I make a "Choice" System?

Posted: Tue Mar 15, 2022 4:49 pm
by Algumber
So I'm making a dialogue based game, but without being able to say anything it would become just a reading simulator. How do I make a "Choice" system kinda like those in RPGs?

Re: How do I make a "Choice" System?

Posted: Tue Mar 15, 2022 5:52 pm
by darkfrei
Maybe some buttons, where the button runs some function to change some value.

Re: How do I make a "Choice" System?

Posted: Tue Mar 15, 2022 10:47 pm
by dusoft
Algumber wrote: Tue Mar 15, 2022 4:49 pm So I'm making a dialogue based game, but without being able to say anything it would become just a reading simulator. How do I make a "Choice" system kinda like those in RPGs?
Connect choices to callbacks (functions) that do whatever is needed (i.e. change variables).