Clicking when multiple "show text" lines are used

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
Kida
Newbie
Posts: 4
Joined: Mon Jul 28, 2014 8:06 am
Contact:

Clicking when multiple "show text" lines are used

#1 Post by Kida »

Hi all :)

So at the beginning of my game I want to fade in and out multiple lines of text in the center of the screen to set up the story.

I use:

Code: Select all

    show text "First line of text" with dissolve
    with Pause(3)

    hide text with dissolve
    with Pause(1)
    
    show text "Second line of text." with dissolve
    with Pause(3)

    hide text with dissolve
    with Pause(1)
However if clicking at any time it jumps all the way to the first actual scene, skipping all subsequent "show text" lines.

Is there a way to prevent this behavior or a better way to display the text like this?

User avatar
akemicchi
Veteran
Posts: 465
Joined: Mon Dec 31, 2007 11:22 pm
Projects: Magicians of Delphine, Panaderia: Ensaimada, SweetTooth!, XOXO Droplets
Deviantart: littlebabyshoes
Contact:

Re: Clicking when multiple "show text" lines are used

#2 Post by akemicchi »

$ renpy.pause(seconds) instead of with Pause(seconds) will make it so the user doesn't skip through those other lines.

Kida
Newbie
Posts: 4
Joined: Mon Jul 28, 2014 8:06 am
Contact:

Re: Clicking when multiple "show text" lines are used

#3 Post by Kida »

Thanks, works perfectly :)

Post Reply

Who is online

Users browsing this forum: BBN_VN