You can use labels to organize your story in chapters. With these, you can create a menu that jumps to the chapter the player chooses:
Code:
label chapter1:
"..."
label chapter2:
"..."
label chapter3:
"..."
label epilogue:
"..."
return #go back to the main menu
label toc:
#to do: add a nice background with "show"
hide window
menu:
"Chapter 1 - Beginning":
jump chapter1
"Chapter 2 - Middle":
jump chapter2
"Chapter 3 - End":
jump chapter3
"Epilogue":
jump epilogue
return
Then you have to edit your screens.rpy to add a new button to the main menu. Find the following lines:
Code:
textbutton _("Start Game") action Start()
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Help") action Help()
textbutton _("Quit") action Quit(confirm=False)
And add the following:
Code:
textbutton _("Chapters") action Start("toc")