How can I change the way the text appears on the screen?
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
-
- Newbie
- Posts: 6
- Joined: Fri Mar 07, 2014 9:56 pm
- Contact:
How can I change the way the text appears on the screen?
https://www.youtube.com/watch?v=zArP9fK ... 497C85855F
The text in this visual novel (Higuruashi) appears to "fade in" on the screen, rather than appear bluntly. Is there anyway to code the text to appear in a similar manner in Ren'py?
The text in this visual novel (Higuruashi) appears to "fade in" on the screen, rather than appear bluntly. Is there anyway to code the text to appear in a similar manner in Ren'py?
Re: How can I change the way the text appears on the screen?
## The default text speed in characters per second. 0 is infinite.
config.default_text_cps = 1
you can use this to change how fast or slow it shows the text 0 is that it all instant appear on the screen at once
config.default_text_cps = 1
you can use this to change how fast or slow it shows the text 0 is that it all instant appear on the screen at once
-
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: How can I change the way the text appears on the screen?
I think OP meant that the characters alpha fade in, rather than appearing instantly. I don't know how to make ren'py do this without a heap of custom coding.
-
- Newbie
- Posts: 6
- Joined: Fri Mar 07, 2014 9:56 pm
- Contact:
Re: How can I change the way the text appears on the screen?
Is the alpha fade exceptionally hard work?
-
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: How can I change the way the text appears on the screen?
It's not so much hard work as something Ren'Py simply doesn't do. It would be easy to make, for example, all the text fade in at once (just use ATL on the text in the 'say' screen) but making it appear character by character would be more difficult.
Maybe using an ImageDissolve transition as a displayable with a control image like this:
shaped around your textbox (assuming a 4 line textbox) is a possible hack to enable this, but it's not quite the same.
Maybe using an ImageDissolve transition as a displayable with a control image like this:
shaped around your textbox (assuming a 4 line textbox) is a possible hack to enable this, but it's not quite the same.
-
- Newbie
- Posts: 6
- Joined: Fri Mar 07, 2014 9:56 pm
- Contact:
Re: How can I change the way the text appears on the screen?
"It's not so much hard work as something Ren'Py simply doesn't do. It would be easy to make, for example, all the text fade in at once (just use ATL on the text in the 'say' screen) but making it appear character by character would be more difficult."
OK. Then how could I make all the text fade in, if you don't mind explaining?
OK. Then how could I make all the text fade in, if you don't mind explaining?
-
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: How can I change the way the text appears on the screen?
Edit screens.rpy and find the first 'text what' line. Add 'at text_transform' to the end of it.GrisGrisGriotGirl wrote:"It's not so much hard work as something Ren'Py simply doesn't do. It would be easy to make, for example, all the text fade in at once (just use ATL on the text in the 'say' screen) but making it appear character by character would be more difficult."
OK. Then how could I make all the text fade in, if you don't mind explaining?
Somewhere else, add this:
Code: Select all
transform text_transform:
alpha 0.0
linear 1.0 alpha 1.0
-
- Newbie
- Posts: 6
- Joined: Fri Mar 07, 2014 9:56 pm
- Contact:
Re: How can I change the way the text appears on the screen?
Thank you so much. sir! ^_^
Who is online
Users browsing this forum: No registered users