No-Click?

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
Astray
Newbie
Posts: 17
Joined: Thu Sep 07, 2006 4:26 am
Location: USA
Contact:

No-Click?

#1 Post by Astray »

Is there something like a "no-click" command to disable the user from clicking through my splashscreen/ end credits? I've been searching for a while and read through this thread but I didn't really find what I'm looking for...

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#2 Post by monele »

What's so important about your end credits that would justify making it unskippable? o_o... (same question for splashscreen, really)

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

#3 Post by DaFool »

Code: Select all

$ renpy.pause(1.5, hard=True)
Disclaimer: You don't really want to do that...you'll just frustrate yourself when it comes time to test the thing for the thousandth time. That probably means some players may get frustrated also.

The only reason I'm using this is for full animation where click-to-skip will mess up the sequencing.

Astray
Newbie
Posts: 17
Joined: Thu Sep 07, 2006 4:26 am
Location: USA
Contact:

#4 Post by Astray »

DaFool wrote:

Code: Select all

$ renpy.pause(1.5, hard=True)
Disclaimer: You don't really want to do that...you'll just frustrate yourself when it comes time to test the thing for the thousandth time. That probably means some players may get frustrated also.

The only reason I'm using this is for full animation where click-to-skip will mess up the sequencing.
Thanks. But after putting it in I can't seem to get it to work.

Code: Select all

label splashscreen:
    
    
    play music "flove1.mp3"
    
    show white bg 
    with dissolve
    with Pause(6.0)
    
    show DaiLogoBG at truecenter
    with dissolve
    with Pause(2.0)
    
    show DaiLogoText at truecenter
    with dissolve
    with Pause(8.0)
    
    hide DaiLogoText
    with dissolve
    
    hide DaiLogoBG
    with dissolve
    
    $ renpy.pause(20, hard=True) 
    
    return
If I put it before the music starts it stays paused at a black screen for the duration. If I put it at the end it stays at a white screen.

I guess there isn't like some kind of "start no-click" "end no-click" kinda thing?

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

#5 Post by DaFool »

Yep, replace all your with pause with renpy.pause.

Astray
Newbie
Posts: 17
Joined: Thu Sep 07, 2006 4:26 am
Location: USA
Contact:

#6 Post by Astray »

DaFool wrote:Yep, replace all your with pause with renpy.pause.
Ahh ok. I'm stupid xD; Thanks a lot!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], laspis