Splashscreen Problem

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
Valkyrie

Splashscreen Problem

#1 Post by Valkyrie »

Hi,

I have a problem with splashscreen.......how do I show a splashscreen before showing a menu?
So that when I open the game, it will show the splashscreen THEN it goes to the main menu....

I need about 4 splashscreens shown before the main menu....pls help >_<!!!

I looked at the cookbook, and it said something about "Quick Splashscreen while Renpy is Loading"
But that couldn't do 4 splashscreens and you couldn't put transitions on it.

This is an example of what I want::

#when open game#

(splashscreen) "Example 2008......"
(splashscreen) "Created with Renpy Engine..."
(splashscreen) "Example!"

#now goes to main menu#

Thanks guys~

denzil
Veteran
Posts: 293
Joined: Wed Apr 20, 2005 4:01 pm
Contact:

Re: Splashscreen Problem

#2 Post by denzil »

I think what you want is:

Code: Select all

label splashscreen:
    # normal renpy code follows
    # for example:
    scene image
    with Pause(2.0)
    return
Anything after label splashscreen will be shown before entering the main menu. Dream Chasers uses this for example (you can find the code in splash.rpy).
And there is also some documentation in the wiki.
Practice makes purrrfect.
Finished projects: Broken sky .:. colorless day .:. and few more...

chronoluminaire
Eileen-Class Veteran
Posts: 1153
Joined: Mon Jul 07, 2003 4:57 pm
Completed: Elven Relations, Cloud Fairy, When I Rule The World
Tumblr: alextfish
Skype: alextfish
Location: Cambridge, UK
Contact:

Re: Splashscreen Problem

#3 Post by chronoluminaire »

This example from the wiki page denzil linked might be what you want:

Code: Select all

label splashscreen:
    $ renpy.pause(0)
    scene black
    show text "American Bishoujo Presents..."
    with dissolve
    with Pause(1.0)

    hide text
    with dissolve

    return
I released 3 VNs, many moons ago: Elven Relations (IntRenAiMo 2007), When I Rule The World (NaNoRenO 2005), and Cloud Fairy (the Cute Light & Fluffy Project, 2009).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!

Valkyrie

Re: Splashscreen Problem

#4 Post by Valkyrie »

Yay! This is exactly what I need ^_^

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], DewyNebula