Page 1 of 1

Splashscreen - Presplash and Character Nameplate Zorder?

Posted: Sat Dec 01, 2012 6:48 pm
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!

Re: Splashscreen - Presplash and Character Nameplate Zorder?

Posted: Sat Dec 01, 2012 7:09 pm
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.

Re: Splashscreen - Presplash and Character Nameplate Zorder?

Posted: Sat Dec 01, 2012 7:27 pm
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.

Re: Splashscreen - Presplash and Character Nameplate Zorder?

Posted: Wed Dec 05, 2012 3:00 pm
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"