My Splashscreen does not appear

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
Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

My Splashscreen does not appear

#1 Post by Nonohell »

Hello !
I have a problem with my splashscreen label, it does not start when I start the project ... No error message, nothing, it just goes to the main menu
I recently added other game files in my current game file (with another splashscreen label, which created conflict) but I deleted them and from that moment I never saw my splashscreen again ...
Can you help me please ?

kivik
Miko-Class Veteran
Posts: 786
Joined: Fri Jun 24, 2016 5:58 pm
Contact:

Re: My Splashscreen does not appear

#2 Post by kivik »

Can you share the code to your splashscreen? Also can you check if you've got a before_main_menu label and share the code here if there is one?

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: My Splashscreen does not appear

#3 Post by Nonohell »

Code: Select all

label splashscreen:
        scene warning with fade
        "Ce jeu convient aux enfants et aux personnes sensibles."
        "Les personnes souffrant d'angoisse ou de dépression se sentiront plus en sécurité devant ce jeu que l'original"
        "Cepandant il est conseillé d'y avoir avant de jouer a celui-ci"
menu:
    "Je le reconnais":
        scene warning2 with dissolve
        $renpy.pause(2.0, hard='True')
        jump avantmenu
    
label before_main_menu:
    
    play music "1.ogg"
    
    scene white
    
    with Pause(1)
    
    show logo_hell with fade
    
    $ renpy.pause(1.5, hard='True')
    
    hide logo_hell with dissolve
    
    show splash with dissolve
        
    $ renpy.pause (1.5, hard='True')
    
    hide splash with fade
    
    show text "Ce jeux convient aux enfants et aux personnes sensibles" with dissolve
    $ renpy.pause(2.0, hard='True')

    hide text with dissolve
    
    $ renpy.pause(1.0, hard='True')

    return
    


The before_main_menu label work correctly

kivik
Miko-Class Veteran
Posts: 786
Joined: Fri Jun 24, 2016 5:58 pm
Contact:

Re: My Splashscreen does not appear

#4 Post by kivik »

That looks fine to me, can you fix the indentation and see if it works? You've got double indentations and the menu:'s not indented. It works for me but I don't know if it causes problems on certain versions?

I can't find any hits on google for skipping splashscreen so I'm stumped.


Have you been able to delete the other game's files and see if it works again?

Can you share the other game's files that you imported?

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: My Splashscreen does not appear

#5 Post by Nonohell »

Yes, I deleted the game files of the other game but nothing changed.
I corrected the indentations fault but nothing changed

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: My Splashscreen does not appear

#6 Post by Nonohell »

I tried to make a mod of DDLC so I add this files in my game
Attachments
splash.rpy
(14.21 KiB) Downloaded 72 times
definitions.rpy
(100.41 KiB) Downloaded 68 times
Last edited by Nonohell on Wed Apr 18, 2018 4:04 pm, edited 1 time in total.

kivik
Miko-Class Veteran
Posts: 786
Joined: Fri Jun 24, 2016 5:58 pm
Contact:

Re: My Splashscreen does not appear

#7 Post by kivik »

You said you've deleted the splashscreen label, can you show us the splash.rpy as it is now that you've deleted it?

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: My Splashscreen does not appear

#8 Post by Nonohell »

I don't delete the splashscreen label, I delete the splash.rpy file. The splashscreen label is actually in the script file

kivik
Miko-Class Veteran
Posts: 786
Joined: Fri Jun 24, 2016 5:58 pm
Contact:

Re: My Splashscreen does not appear

#9 Post by kivik »

Oh right! Does that mean the only addition to your game is the definitions.rpy file?

Have you tried deleting it (restoring your code to the original state) to see if your splashscreen comes back? It's a way of isolating the problem - if splashscreen comes back after deleting all the new .rpy files, then the problem is in the new files; otherwise something else has changed in your code.

I don't see any code in definitions.rpy that would conflict with anything as it's all declarations of media assets, variables and some functions.


I've just seen that I've missed one of your replies - didn't realise you made a reply before attaching the files.

How big is your game? It sounds like the problem's outside of your splashscreen label but it's hard to debug without more information.

Can you think of any code changes after adding the game files?

Another possibility is that there's an old compiled file (.rpyc) that's not been removed and it's causing problems - but it should trigger a crash instead of just bypassing your splash screen. Try and delete all .rpyc files in your game folder to see if that helps.

User avatar
gas
Miko-Class Veteran
Posts: 842
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: My Splashscreen does not appear

#10 Post by gas »

I've analized the code of DDLC quite a bit, if you keep some of DDLC original script it mess everything.
On a code sense, dokidoki sucks.
Like some persistent...
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.

10 ? "RENPY"
20 GOTO 10

RUN

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: My Splashscreen does not appear

#11 Post by Nonohell »

Okay ! I think I can correct it.
I tried to delete all the backups, the common files, create another project and add a splashscreen (but it did not work either)!
But if I add a splashscreen in my before_main_menu label, it starts! (but it starts in a loop ...)
Can I start it only one time?

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: My Splashscreen does not appear

#12 Post by Nonohell »

ok i finnaly found a solution:

Code: Select all

    scene white
    
    with Pause(1)
    
    show logo_hell with fade
    
    $ renpy.pause(1.5, hard='True')
    
    hide logo_hell with dissolve
    
    show splash with dissolve
        
    $ renpy.pause (1.5, hard='True')
    
    hide splash with fade
    
    show text "Ce jeux convient aux enfants et aux personnes sensibles" with dissolve
    $ renpy.pause(2.0, hard='True')

    hide text with dissolve
    
    $ renpy.pause(1.0, hard='True')

    return
That work correctly. (for the time being) Thank you for help !

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: My Splashscreen does not appear

#13 Post by Nonohell »

Is there a command to make the splash screen appear once?

Post Reply

Who is online

Users browsing this forum: Google [Bot]