Blank frame in the beginning of the game?

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
User avatar
asatiir
Regular
Posts: 86
Joined: Tue Oct 01, 2013 6:04 pm
Completed: Within the Walls (Twine)
Projects: Roses Will Rise
Organization: Asatiir's Tales
Skype: asatiir
itch: asatiir
Location: Dubai, UAE
Contact:

Blank frame in the beginning of the game?

#1 Post by asatiir » Fri Oct 25, 2013 7:37 am

For a while now, something has been bothering me about the project I'm working on that I don't know how to remove. Whenever I boot up the game there's always a checkered gray screen that Ren'Py usually uses as a blank screen, it appears for less the second before the game boots up, is there a way to remove it?
Image
Image

Ispheria
Regular
Posts: 26
Joined: Wed Oct 09, 2013 11:01 am
Projects: TruEndings
Location: San Francisco - California
Contact:

Re: Blank frame in the beginning of the game?

#2 Post by Ispheria » Fri Oct 25, 2013 1:03 pm

the same thing happened to me when i had a screen thingy pop up before the main menu, what i did to solve this was make make it come in with a dissolve. made the menu image come in with a dissolve too just in case

User avatar
asatiir
Regular
Posts: 86
Joined: Tue Oct 01, 2013 6:04 pm
Completed: Within the Walls (Twine)
Projects: Roses Will Rise
Organization: Asatiir's Tales
Skype: asatiir
itch: asatiir
Location: Dubai, UAE
Contact:

Re: Blank frame in the beginning of the game?

#3 Post by asatiir » Fri Oct 25, 2013 1:43 pm

That didn't work with me.
Image
Image

User avatar
Stapper
Regular
Posts: 96
Joined: Wed Feb 27, 2013 9:54 pm
Contact:

Re: Blank frame in the beginning of the game?

#4 Post by Stapper » Fri Oct 25, 2013 10:00 pm

I added a splash screen, like they explained here: http://lemmasoft.renai.us/forums/viewto ... =8&t=21346
And with this the game starts very smoothly. Worth giving a try :)

User avatar
asatiir
Regular
Posts: 86
Joined: Tue Oct 01, 2013 6:04 pm
Completed: Within the Walls (Twine)
Projects: Roses Will Rise
Organization: Asatiir's Tales
Skype: asatiir
itch: asatiir
Location: Dubai, UAE
Contact:

Re: Blank frame in the beginning of the game?

#5 Post by asatiir » Sat Oct 26, 2013 4:36 am

This is pretty weird, I already had a splashscreen, but I figured out what was the problem.

See, I had the splashscreen as the following:

Code: Select all

label splashscreen:
    $ renpy.music.play("music.mp3")
    $ renpy.pause(0)
    scene black
It turned out that Ren'Py loaded the music before the black screen which caused the blank frame to appear.

This is how it should look like:

Code: Select all

label splashscreen:
    scene black
    $ renpy.music.play("music.mp3")
    $ renpy.pause(0)
Image
Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]