The black screen after Splash Screen

Guzzz

  • *
  • Posts: 471
I have a black screen for about 5 second right after my Splash Screen and before the 1st scene in my game. Is it possible to get rid of this black screen? I though the whole point of Splash Screen is to show something before the game fully loaded. In my case a player might even think that the game crashed.
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Luyren

  • *
  • Posts: 1754
Sanity check: are you 100% sure the 5 second-screen is the splash screen, and not your first scene loading something? You can check the log viewer to see if the scene change happens or not.

You should also check if it happens if you test on HMTL5 or on Flash (Browser). That's all I got, I haven't done work on Flash in a long time.
Working.

Guzzz

  • *
  • Posts: 471
Its loading atlases and it seems its loading the biggest atlas (atlas ID 0) during these few seconds. Im testing primarily on my iPhone, since the target audience is on mobile devices. 
Is there any way to load this huge atlas during the first scene? Because my first scene is just a logo.
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Luyren

  • *
  • Posts: 1754
There are blocks to load/unload atlases, and the main atlas is always loaded. You can distribute your resources among the atlases to manage it better, and use the blocks to load pre-load them as needed, I guess.
Working.

Guzzz

  • *
  • Posts: 471
I've done a new atlas for the first scene which is only 7Mb and now the black screen appears only for a blink of an eye (really about a few milliseconds). I guess it's fine. I still want to make a seamless transition from Splash Screen to the main scene in my game.
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Guzzz

  • *
  • Posts: 471
What Im having right now is actually a blink of an eye of a black screen when the game loads the 1st scene with very small atlas (7Mb for 2x scale). Also when the game goes to the main scene of the game it loads a really huge atlas and it freezes  for a few seconds when it starts to transition (crossfade). This moment is noticeable because all the animation stop like the game is having a freeze. I tried to use block such as "load atlas ID" with block "if atlas ID loaded" but they simply don't work. The game doesn't load atlases on command. Its loading atlases only based on the setting of the project in Stencyl. It seems that I cannot preload atlases, let alone to use any status bar animation to show the progression of the loadings.
 
p.s. My game is for mobiles only
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Luyren

  • *
  • Posts: 1754
Is there no way to break down that huge atlas of yours? Does changing the device you are testing on changes the load times (like tetsing on a tablet instead of a phone, for instance)? I just checked and the load/unload atlas blocks only determine what will be loaded on the next scene. There might be a code way to load them mid-game, but then your game would freeze then instead of during the transitions, I think. I'm not well versed on atlases and whatnot, so I don't have much else to suggest.
Working.

Guzzz

  • *
  • Posts: 471
Load time is changing only when I include or remove other scales of the game before making the build. Right now Main Atlas takes from the memory (according to Stencyl) in 1x scale 82.9 Mb and in 2x scale 315 Mb. I assume it has both atlases for all devices by default. On my very old iPad the game won't event start with 2x scale atlases. This iPad could start the game only when I removed 2x scale from the game, so it had to scale up 1x scale to it's natural resolution.
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

merrak

  • *
  • Posts: 2494
One thing to keep in mind when an image is read is that it not only takes time for the image to be stored in memory, but also to be converted to a bitmap. I wouldn't expect RAM speed to be an issue for such low numbers, but processing time could be.