iOS : launchimage only displayed a few secunds
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.
iOS : launchimage only displayed a few secunds
I have feedbacks from users whom seems confused by the fact that when they launch the application, the launchimage (set in Media.xcassets) is only displayed a few secunds then blackscreen within 4-5 secunds then the main menu appears.
I tryed to use config.minimum_presplash_time. It seems to work but on the "black screen" part.
Is a file missing ?
I tryed to use config.minimum_presplash_time. It seems to work but on the "black screen" part.
Is a file missing ?
- 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: iOS : launchimage only displayed a few secunds
What version of Ren'Py are you using. This changed a bit between versions of iOS, and you'll need the newest Ren'Py to be sure it works.
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: iOS : launchimage only displayed a few secunds
Latest version : 6.99.6.738.
I recreated the xcode project, and force recompile all the files.
Launchimage (part of xcode) and splashscreen are not the same ?
I recreated the xcode project, and force recompile all the files.
Launchimage (part of xcode) and splashscreen are not the same ?
- 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: iOS : launchimage only displayed a few secunds
We should be displaying the launchimage until the game is ready to go. I need to look into this.
You don't have a presplash.png hanging about, do you? Maybe try removing it, although it shouldn't matter for iOS. Which version of iOS are you using?
You don't have a presplash.png hanging about, do you? Maybe try removing it, although it shouldn't matter for iOS. Which version of iOS are you using?
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: iOS : launchimage only displayed a few secunds
I tryed with it, then i removed it.
I tryed on an iphone 5 / ios 9 and an iphone 4s / ios 8
I tryed on an iphone 5 / ios 9 and an iphone 4s / ios 8
Re: iOS : launchimage only displayed a few secunds
Any news on this matter ?
- 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: iOS : launchimage only displayed a few secunds
Is there any chance I can get the files for the game that's having problems, so I can try it? At least with my test games, things appear to work. It's possible that something game-specific is going on that's causing this problem to happen.
That doesn't mean there's a bug in the game, it just means that you might be triggering some part of Ren'Py I'm too tired to think of.
That doesn't mean there's a bug in the game, it just means that you might be triggering some part of Ren'Py I'm too tired to think of.
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: iOS : launchimage only displayed a few secunds
Sorry for the delay.
I have noticed that the problem doesn't occur on ipad. Then on the iphone version, in Xcode, I checked "Portrait" in Device Orientation ("Landscape" box are also checked). Now it's working, but the game is in portrait (it is designed for landscape, but the launchimage in landscape mode doesn't exist for iphone < 6, maybe that's why we have the black screen).
I have noticed that the problem doesn't occur on ipad. Then on the iphone version, in Xcode, I checked "Portrait" in Device Orientation ("Landscape" box are also checked). Now it's working, but the game is in portrait (it is designed for landscape, but the launchimage in landscape mode doesn't exist for iphone < 6, maybe that's why we have the black screen).
- 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: iOS : launchimage only displayed a few secunds
Hm... Can you put a portrait image in, even on a landscape game? I think that's what you have to do for old iphones. (Actually, isn't iOS 6 or 7 the minimum supported version anyway?)
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: iOS : launchimage only displayed a few secunds
Sorry i wasn't clear, the only iphone (for now) which use landscape image is iPhone 6S.
All images are set in portrait (except for iPad and iPhone 6/6S Plus).
On iPhone (except 6/6S Plus which support landscape launchimage), the launchimage is display the time according to config.minimum_presplash_time if the application is set to "Portrait" and "Landscape". If "landscape" only is set, the launchimage only appears 1 secund
All images are set in portrait (except for iPad and iPhone 6/6S Plus).
On iPhone (except 6/6S Plus which support landscape launchimage), the launchimage is display the time according to config.minimum_presplash_time if the application is set to "Portrait" and "Landscape". If "landscape" only is set, the launchimage only appears 1 secund
Re: iOS : launchimage only displayed a few secunds
Bump
I have still the issue on the latest version of Renpy and Renios.
The game is in landscape mode. When I launched it, the splashscreen (set in xcode assets) only appears 1 or 2 secunds, then a black a screen is show during the loading of the game (3-4 seconds) then the menu is displayed.
I saw this problem also on another renpy game (not mine) available on the app store. The problem is not present on Anroid.
According to this thread : http://stackoverflow.com/questions/5618 ... lt-seconds
The splashscreen is shown only during startup. A new view has to be added after.
I have still the issue on the latest version of Renpy and Renios.
The game is in landscape mode. When I launched it, the splashscreen (set in xcode assets) only appears 1 or 2 secunds, then a black a screen is show during the loading of the game (3-4 seconds) then the menu is displayed.
I saw this problem also on another renpy game (not mine) available on the app store. The problem is not present on Anroid.
According to this thread : http://stackoverflow.com/questions/5618 ... lt-seconds
The splashscreen is shown only during startup. A new view has to be added after.
- 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: iOS : launchimage only displayed a few secunds
I haven't been able to repeat this on my end. Check that you're not doing something to cause pygame to start up early (like doing any calls to pygame in init code).
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: iOS : launchimage only displayed a few secunds
Something like this ?
Code: Select all
init python:
import pygame
info = pygame.display.init()
info = pygame.display.Info()
- 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: iOS : launchimage only displayed a few secunds
Yes, the call to init would cause the problem you're dealing with.
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: iOS : launchimage only displayed a few secunds
I tried to remove the call to pygame but the result stays the same.
Then i build the question in xcode without making any modification (latest version of xcode, iphone 5 simulator with iOS 10). It has the same problem : we see the launchscreen about 0.5/1 secund then the game load (black screen) then the menu appears.
The only way to keep the launchscreen stays is to add portrait orientation to the game. Then, the launchscreen stays until the game is ready.
Then i build the question in xcode without making any modification (latest version of xcode, iphone 5 simulator with iOS 10). It has the same problem : we see the launchscreen about 0.5/1 secund then the game load (black screen) then the menu appears.
The only way to keep the launchscreen stays is to add portrait orientation to the game. Then, the launchscreen stays until the game is ready.