Hello everyone, I'm an ex game developer from Italy who chose Renpy to come back to make games
Great engine so far!
My question:
with text flow letter by letter, is there a way to slow the text flow when there is a comma, a dot, like, for example, Phoenix Wright serie do?
I think it'is more natural to read
Thank you!
Text speed question
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: Text speed question
Easiest is to just do it inline...
e "Hello World! {cps=1.0}W{/cps}elcome to Ren'Py."
The W of Welcome would take 1 second to appear (1.0 characters per second)
Alternatively, you could just use
e "Hello World! {w=1.0}Welcome to Ren'Py."
The text would pause/wait at the {w} bit and continue after either a user click or 1.0 seconds had passed.
{w=[float delay]} is a bit more user friendly
e "Hello World! {cps=1.0}W{/cps}elcome to Ren'Py."
The W of Welcome would take 1 second to appear (1.0 characters per second)
Alternatively, you could just use
e "Hello World! {w=1.0}Welcome to Ren'Py."
The text would pause/wait at the {w} bit and continue after either a user click or 1.0 seconds had passed.
{w=[float delay]} is a bit more user friendly
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
Re: Text speed question
Thank you, I know this tag but I can't use it for every single , or : in my texts.
In Pw games if you have a , : . Etc the text pauses a bit accordingly to the natural reading flow:
https://youtu.be/YqmrJl9G4Zo
You see at 4.30
It can be a useful feature for the feature if it isn't in the engine
In Pw games if you have a , : . Etc the text pauses a bit accordingly to the natural reading flow:
https://youtu.be/YqmrJl9G4Zo
You see at 4.30
It can be a useful feature for the feature if it isn't in the engine
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: Text speed question
Easy to add your own...
Code: Select all
init python:
pause_symbols = ['.', ',', ';', ':']
def add_pauses( str_to_test ):
for symbol in pause_symbols:
str_to_test = str_to_test.replace(
symbol,
"{symbol}{{w=1.0}}".format( symbol=symbol )
)
return str_to_test
config.say_menu_text_filter = add_pauses
label start:
"This. Should. Pause, at; each: symbol ... "
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
Re: Text speed question
Perfect, thank you
Who is online
Users browsing this forum: Majestic-12 [Bot], piinkpuddiin, snotwurm