Splashscreen - Presplash and Character Nameplate Zorder?

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
Nio
Regular
Posts: 160
Joined: Mon Jan 03, 2005 4:37 am
Projects: ??????
Location: In his own little world.
Contact:

Splashscreen - Presplash and Character Nameplate Zorder?

#1 Post by Nio »

Three questions:

1) I have a couple images in my "splashscreen" section. I want to force the player to have to click past each one (the logo and notice). As it is right now, they just have to click once and they skip the whole splashscreen section.

Code: Select all

label splashscreen:

     scene black
     with None

     scene logo
     with dissolve
     with Pause(3.0)

     scene notice
     with dissolve
     with Pause(3.0)
         
     scene frame
     with dissolve

     return
2) I have a presplash image, but it just blinks on screen before the game loads. Is there some ways to make that stay up a little longer?

3) I'm using a custom nameplate image for my dialogue window using "show_two_window=True" for each character (found here: http://lemmasoft.renai.us/forums/viewto ... =51&t=9233). The problem is that the nameplate image etc is showing -behind- the dialogue window, how can I move it in front? Something like zorder. I designed it so that it would overlap the dialogue box.

Thanks!

User avatar
Alex
Lemma-Class Veteran
Posts: 3098
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Splashscreen - Presplash and Character Nameplate Zorder?

#2 Post by Alex »

1. That's because you've used "with" statements for pauses, try <$ renpy.pause(3.0)> instead.
2. Presplash is shown only while game is loading - player will see it if your game is super huge or he has an old slow comp. If you need to show an image - put it inside splashscreen.

Nio
Regular
Posts: 160
Joined: Mon Jan 03, 2005 4:37 am
Projects: ??????
Location: In his own little world.
Contact:

Re: Splashscreen - Presplash and Character Nameplate Zorder?

#3 Post by Nio »

Alex wrote:1. That's because you've used "with" statements for pauses, try <$ renpy.pause(3.0)> instead.
2. Presplash is shown only while game is loading - player will see it if your game is super huge or he has an old slow comp. If you need to show an image - put it inside splashscreen.
Thank you much. That seemed to do the trick for that.

And I see, so it's because my computer is fast (i7) and the game is pretty much empty right now. That makes sense.

Now if i can figure out that zorder thing with the nameplate.

MawFour
Newbie
Posts: 5
Joined: Wed Dec 05, 2012 2:54 pm
Contact:

Re: Splashscreen - Presplash and Character Nameplate Zorder?

#4 Post by MawFour »

You have to edit the screen.rpy file.
Find the "# The two window variant." line, and change the code below this way.
This wil first draw the window, then the name frame.

Code: Select all

        vbox:
            style "say_two_window_vbox"
            window:
                id "window"

                has vbox:
                    style "say_vbox"

                text what id "what"

            if who:            
                window:
                    style "say_who_window"

                    text who:
                        id "who"
                        

Post Reply

Who is online

Users browsing this forum: No registered users