My Splashscreen does not appear
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.
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.
My Splashscreen does not appear
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 ?
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 ?
Re: My Splashscreen does not appear
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?
Re: My Splashscreen does not appear
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
Re: My Splashscreen does not appear
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?
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?
Re: My Splashscreen does not appear
Yes, I deleted the game files of the other game but nothing changed.
I corrected the indentations fault but nothing changed
I corrected the indentations fault but nothing changed
Re: My Splashscreen does not appear
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.
Re: My Splashscreen does not appear
You said you've deleted the splashscreen label, can you show us the splash.rpy as it is now that you've deleted it?
Re: My Splashscreen does not appear
I don't delete the splashscreen label, I delete the splash.rpy file. The splashscreen label is actually in the script file
Re: My Splashscreen does not appear
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.
Re: My Splashscreen does not appear
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...
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
10 ? "RENPY"
20 GOTO 10
RUN
Re: My Splashscreen does not appear
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?
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?
Re: My Splashscreen does not appear
ok i finnaly found a solution:
That work correctly. (for the time being) Thank you for help !
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
Re: My Splashscreen does not appear
Is there a command to make the splash screen appear once?
Who is online
Users browsing this forum: Google [Bot]