I have a question about the text speed.

Posted: 14 Nov 2022 23:50
by booksuny

viewtopic.php?f=8&t=53&p=1449&hilit=text+speed#p1449

The game is being made by applying the code you uploaded in the link above.
By the way, the function of the link above seems to increase or decrease the text speed from the basic speed.
The function I want is to apply the speed I want regardless of the basic speed.
Does Nani Nobel support this function?

And I also ask you about wait:true.
I heard that this function blocks mouse clicks or enter keys, and I wrote the following code.

Code: Select all

@back battle_01.Saturate time:1.5 wait:true

But I was still able to turn it over with a mouse click or an enter key.
Is there a way to block clicks or enter keys during directing?


Re: I have a question about the text speed.

Posted: 15 Nov 2022 09:59
by idaot

You can adjust the default speed in Text Printers configuration. For any other adjustments, override PrintText.cs and/or TextPrinterPanel.cs.

As for wait:true, that's by design and is not necessary if Wait By Default is enabled in the Script Player configuration (which it is by default) You can block input by using @wait and call commands in the meantime with its do parameter (https://naninovel.com/api/#wait) or by using @processInput set:Continue.false (https://naninovel.com/api/#processinput).


Re: I have a question about the text speed.

Posted: 16 Nov 2022 00:22
by booksuny

Thank you for your kind reply.
I still have some questions, so I'm asking you an additional question.

I want to change the text speed freely whenever I want, regardless of the default speed.
Is it possible to adjust the text speed to the speed I want, even if the user did the default speed the fastest or slowest?


Re: I have a question about the text speed.

Posted: 16 Nov 2022 09:48
by idaot

You'll have to modify PrintText.cs and TextPrinterPanel.cs for that as Naninovel's text system is designed with player preferences in mind.