Multiple Endings in Choose Your Own Adventure?
themasterofceremonies
11 Jun 2020, 10:11I'm making a choose your own adventure game and I was wondering if it was possible to have multiple endings? Sorry for the noob question I'm not used to using this!
mrangel
11 Jun 2020, 10:59Yes.
themasterofceremonies
11 Jun 2020, 13:09Okay thanks...additional question - how do you create an ending? For example, something that takes you back to the beginning?
mrangel
11 Jun 2020, 14:26For example, something that takes you back to the beginning?
There's a finish
command, but that just ends the game so the player will need to hit their 'refresh' button.
If you want a "Start over" link, you can just create a link back to the first page (and possibly have a script which sets any flags or variables you've used back to their initial values)