Is presplash useful?
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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:
Is presplash useful?
Is presplash still a useful feature?
At least on my system, Ren'Py games tend to load fast enough that the presplash appears and disappears instantly. So it's not really conveying any sort of useful information to me. I'm kind of curious as to if that's the case for other people - does the presplash stay up for a useful amount of time for you?
Note that I mostly care about the non-developer case here. Compilation of a changed script can take a while - but on the second and later runs, the ones a player would see, does the presplash last long enough to matter?
I ask because the code that implements presplash is really ugly, and shares very little with the rest of Ren'Py. What's more, presplash is slow - it actually has to run a second copy of Ren'Py to do its thing, slowing down Ren'Py start. So all things being equal, I'd like to remove the feature, if it's not something that does useful things.
(Note that I'm only talking about the PC presplash - the android one is staying, since android devices tend to be slower than modern computers.)
At least on my system, Ren'Py games tend to load fast enough that the presplash appears and disappears instantly. So it's not really conveying any sort of useful information to me. I'm kind of curious as to if that's the case for other people - does the presplash stay up for a useful amount of time for you?
Note that I mostly care about the non-developer case here. Compilation of a changed script can take a while - but on the second and later runs, the ones a player would see, does the presplash last long enough to matter?
I ask because the code that implements presplash is really ugly, and shares very little with the rest of Ren'Py. What's more, presplash is slow - it actually has to run a second copy of Ren'Py to do its thing, slowing down Ren'Py start. So all things being equal, I'd like to remove the feature, if it's not something that does useful things.
(Note that I'm only talking about the PC presplash - the android one is staying, since android devices tend to be slower than modern computers.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Is presplash useful?
Whenever I open a Ren'Py game it goes straight to title menu. What is this presplash of which you speak?
- Samu-kun
- King of Moé
- Posts: 2262
- Joined: Mon Sep 03, 2007 3:49 pm
- Organization: Love in Space Inc
- Location: United States
- Contact:
Re: Is presplash useful?
Not important at all. The game loads pretty much instantaneously from click.
-
- Regular
- Posts: 36
- Joined: Tue Jul 03, 2012 10:31 pm
- Location: UWF Pensacola, Florida
- Contact:
Re: Is presplash useful?
A presplash lasts less than a second on my computer, but it looks damn good while it's there. Too bad.
-
- King of Lolies
- Posts: 4538
- Joined: Mon Nov 26, 2007 9:57 pm
- Completed: R.S.P
- Location: Bandung, West Java, Indonesia
- Contact:
Re: Is presplash useful?
If you can make RenPy much faster by eliminating presplash feature, then yeah, do it. Why do we need presplash if RenPy can start up less than 5 seconds?
"Double the princesses, quadruple the fun!" - Haken Browning (SRW-OG Endless Frontier)
DeviantArt Account
MoeToMecha Blog (under construction)
Lolicondria Blog (under construction) <- NSFW
DeviantArt Account
MoeToMecha Blog (under construction)
Lolicondria Blog (under construction) <- NSFW
- jack_norton
- Lemma-Class Veteran
- Posts: 4085
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: Is presplash useful?
Agreed, it loads so fast even on a netbook that really is not needed anymore!
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: Is presplash useful?
Doomfest made the point (on IRC) that Katawa Shoujo benefits from it. So I'll keep it around for now - the code works, and if there's no presplash file, the only burden is a couple of extra syscalls that hit the disk.
I recommend against using presplash unless you expect your game to take more than a couple of seconds to load. (Basically, unless you have one of the biggest games.)
I recommend against using presplash unless you expect your game to take more than a couple of seconds to load. (Basically, unless you have one of the biggest games.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- jack_norton
- Lemma-Class Veteran
- Posts: 4085
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: Is presplash useful?
Hmm maybe they're also using cache_pin ? Because Loren is quite big too (100mb of assets+lots of python code to initialize) and takes just 2s to load on my computer which is quite low-end now Anyway if the only downside is what you said and doesn't prevent you from updating yes, you can keep it!
Re: Is presplash useful?
I'm agree with jack_norton. Also, in Android the games take a while for loading, so it's very usefull from my point of view.
Re: Is presplash useful?
I've been thinking about this...
It's possible to add music to a presplash screen?
It's possible to add music to a presplash screen?
Re: Is presplash useful?
I don't really understand that presplash thing. Is it the "label splashscreen" or presplash.png (or android-presplash.jpg)?
Maybe it would be better to rewrite the "really ugly" code
One other possible thing: code a new version of presplash screen and keep the old for compatibility (so, old games will still work, and new games wouldn't have a second copy of renpy working, witch is not really great on android devices)
I'm using the label splashscreen in my game to display the logo of the team with a fade and BGM, and a warning for the beta version. On desktop PC and on my netbook, it seems OK. On the android version I've made, the game takes quite a long time to start on my nexus4. (but game is not optimized for now, BGM are 320Kbps ogg and the sprites aren't optimized for now)
Maybe it would be better to rewrite the "really ugly" code
One other possible thing: code a new version of presplash screen and keep the old for compatibility (so, old games will still work, and new games wouldn't have a second copy of renpy working, witch is not really great on android devices)
I'm using the label splashscreen in my game to display the logo of the team with a fade and BGM, and a warning for the beta version. On desktop PC and on my netbook, it seems OK. On the android version I've made, the game takes quite a long time to start on my nexus4. (but game is not optimized for now, BGM are 320Kbps ogg and the sprites aren't optimized for now)
Last edited by Keul on Mon Feb 18, 2013 10:30 am, edited 1 time in total.
- Kato
- Miko-Class Veteran
- Posts: 649
- Joined: Tue Jan 15, 2013 4:45 am
- Projects: Memories of Summer Winds
- Organization: Blue Sphere Group
- Location: Perth, Western Australia
- Contact:
Re: Is presplash useful?
Presplash or splash? The presplash is only there for a second at most, hardly enough time for any kind of sound effect imoParkey wrote:I've been thinking about this...
It's possible to add music to a presplash screen?
Re: Is presplash useful?
I'm using that and it lasts ~ 16secKato wrote:Presplash or splash? The presplash is only there for a second at most, hardly enough time for any kind of sound effect imoParkey wrote:I've been thinking about this...
It's possible to add music to a presplash screen?
Code: Select all
label splashscreen:
scene bg white
play sound "xxxxxxx.ogg"
show bg logo with Dissolve(6)
$ renpy.pause(2.5)
scene black
show text "{size=+6}Text.................{/size}"
with fade
$ renpy.pause(8)
stop sound
scene black
return
- Kato
- Miko-Class Veteran
- Posts: 649
- Joined: Tue Jan 15, 2013 4:45 am
- Projects: Memories of Summer Winds
- Organization: Blue Sphere Group
- Location: Perth, Western Australia
- Contact:
Re: Is presplash useful?
Ah yep, that's the splash screen, of which you can add video/audio to (at least from what I've seen, haven't tried it myself). The presplash is a screen you have before that which show's up as the game loads. Unless you have a monster game it only lasts a second.Keul wrote:I'm using that and it lasts ~ 16secKato wrote:Presplash or splash? The presplash is only there for a second at most, hardly enough time for any kind of sound effect imoParkey wrote:I've been thinking about this...
It's possible to add music to a presplash screen?
Code: Select all
label splashscreen: scene bg white play sound "xxxxxxx.ogg" show bg logo with Dissolve(6) $ renpy.pause(2.5) scene black show text "{size=+6}Text.................{/size}" with fade $ renpy.pause(8) stop sound scene black return
Who is online
Users browsing this forum: No registered users