[Solved] Best way to display a new chapter screen?

Posted: 23 Dec 2021 03:58
by justloveme94

Hello all, I am currently trying to implement a chapter screen. I want to display the chapter screen, Chapter 1, and the player clicks on the screen to continue. Or something similar. I thought I could set it up as a background, but it shows for a second and then instantly goes to the next background.


Re: Best way to display a new chapter screen?

Posted: 23 Dec 2021 12:05
by idaot

Consider using a Custom UI instead (https://naninovel.com/guide/user-interface.html) and add a Play Script to a button in which you can execute a @goto to a specified label. After showing the UI via @ShowUI, be sure to add a @stop, otherwise the naniscript will continue playing.


Re: Best way to display a new chapter screen?

Posted: 27 Dec 2021 03:09
by justloveme94

I'm not sure what I am doing wrong but I created the custom UI but it's completely overriding the start of my game. It is overriding the title screen and the game cannot be started despite @showUI Chapter1Screen, not being shown until later.


Re: Best way to display a new chapter screen?

Posted: 27 Dec 2021 10:45
by idaot

When you create a custom UI, there will be a setting called Visible on Awake that is enabled by default. Disable that and make sure Hide on Load is enabled. You can find information on the Custom UI settings here: https://naninovel.com/guide/user-interf ... tomization


Re: Best way to display a new chapter screen?

Posted: 27 Dec 2021 16:50
by justloveme94

Ah, that fixed it! Thank you!