CPS fade in effect?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
kappamomo
Newbie
Posts: 5
Joined: Mon Jul 03, 2023 5:42 am
Projects: the date
itch: bonsaisolo.itch.io
Contact:

CPS fade in effect?

#1 Post by kappamomo »

question for y'all, is there a way to change cps from the usual typewriter effect to like a fade in one? or is that impossible at the moment? Some visual novels used that approach, but it seems like Ren'Py, even with Python, can't do it.

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2406
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: CPS fade in effect?

#2 Post by Ocelot »

Step 1: set cps to max, so all text appears at once.
Step 2: add a transform to your game:

Code: Select all

transform text_appear:
    alpha 0.
    linear 0.8 alpha 1.
Step 3: find say screen in screens.rpy and add at text_appear at the end of text what id "what" line.

(you can change fade duration by replacing 0.8 in transform with something else)

https://drive.google.com/file/d/1mIvZ30 ... p=drivesdk
< < insert Rick Cook quote here > >

kappamomo
Newbie
Posts: 5
Joined: Mon Jul 03, 2023 5:42 am
Projects: the date
itch: bonsaisolo.itch.io
Contact:

Re: CPS fade in effect?

#3 Post by kappamomo »

Ocelot wrote: Wed Jan 10, 2024 3:35 pm Step 1: set cps to max, so all text appears at once.
Step 2: add a transform to your game:

Code: Select all

transform text_appear:
    alpha 0.
    linear 0.8 alpha 1.
Step 3: find say screen in screens.rpy and add at text_appear at the end of text what id "what" line.

(you can change fade duration by replacing 0.8 in transform with something else)

https://drive.google.com/file/d/1mIvZ30 ... p=drivesdk

aw thanks ^^

Post Reply

Who is online

Users browsing this forum: Google [Bot]