How do I make a "Choice" System?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Algumber
Prole
Posts: 5
Joined: Tue Mar 08, 2022 10:39 pm

How do I make a "Choice" System?

Post 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?
this post is about stuff

(Itch.io account: https://exotic-toast.itch.io/)
User avatar
darkfrei
Party member
Posts: 1197
Joined: Sat Feb 08, 2020 11:09 pm

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

Post by darkfrei »

Maybe some buttons, where the button runs some function to change some value.
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
dusoft
Party member
Posts: 634
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

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

Post 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).
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 6 guests