How to position the Splash Screen and remove skip? [SOLVED]

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
[Admin-C]
Newbie
Posts: 12
Joined: Sat Nov 04, 2017 2:07 pm
Completed: [Confidential]
Projects: [Confidential]
Organization: Black Sakura Studio
IRC Nick: C
Skype: Admin-C.
Location: Philippines
Contact:

How to position the Splash Screen and remove skip? [SOLVED]

#1 Post by [Admin-C] » Fri Dec 08, 2017 9:48 am

Hello everyone,

I know that this might be an obvious question to ask on this forums but is there any way that I can adjust the position of the Splash Screens in Ren'Py?

Basically, I want to put this image at the center so currently, the logo's position has been like this ever since I applied it.

Image

Here are the codes that I've written for this logo.

Code: Select all

label splashscreen:
            scene black
            with Pause(1)
            $ renpy.pause(1, hard=True)

            show splash with dissolve
            with Pause(3)
            $ renpy.pause(1, hard=True)

            scene black with fade
            with Pause(1)
            $ renpy.pause(1, hard=True)
            show white with fade

            return
Not only that I wanted the image to be centered but also I noticed that the splash screens can be skipped when the transition [dissolve] has occurred.

Any help would be greatly appreciated.

User avatar
PyTom
Ren'Py Creator
Posts: 15060
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: How to position the Splash Screen and remove skip? [SOLVED]

#2 Post by PyTom » Sat Dec 09, 2017 11:38 am

To answer your first question, you probably want to do:

Code: Select all

show splash at truecenter with dissolve
The truecenter transform centers things vertically and horizontally.

I don't understand what the second question is. When the player clicks to skip the splashscreen, that's probably because they've seen it and want to skip it. Abusing hard pause like that to prevent skipping is the real problem here.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
[Admin-C]
Newbie
Posts: 12
Joined: Sat Nov 04, 2017 2:07 pm
Completed: [Confidential]
Projects: [Confidential]
Organization: Black Sakura Studio
IRC Nick: C
Skype: Admin-C.
Location: Philippines
Contact:

Re: How to position the Splash Screen and remove skip? [SOLVED]

#3 Post by [Admin-C] » Sun Dec 10, 2017 11:44 am

PyTom wrote:
Sat Dec 09, 2017 11:38 am
To answer your first question, you probably want to do:

Code: Select all

show splash at truecenter with dissolve
The truecenter transform centers things vertically and horizontally.

I don't understand what the second question is. When the player clicks to skip the splashscreen, that's probably because they've seen it and want to skip it. Abusing hard pause like that to prevent skipping is the real problem here.
Greetings PyTom,

Thank you so much for your reply. As I have tried what you have suggested by adding "at truecenter", the logo is adjusted and I don't need to add any various codes to make it placed in the center. It basically saves some spaces and I am finally able to save some lines.

I understand that some players just really wanted to head to the game already although I think it would be best if they particularly know who created it by enough exposure. However, judging from what it is, I am agreeing that it would ruin their fun by waiting for six (6) seconds just to show the two (2) logos.

I am satisfied with this answer and allow me to say thank you once again.

Post Reply

Who is online

Users browsing this forum: No registered users