Bug Issue: Loading bar between splash screen and first scene.


Pages: 1

JHKeller

  • Subscriber - Stencyl Studio
  • *
February 24, 2018, 06:05:22 pm
When testing on iOS I'm getting a flash of what looks like a loading bar in the corner between the games splash screen and the first scene that I load.

Haven't been able to get a screenshot (it goes by pretty fast), but I attached my artistic rendering of it.

This is build 9751

« Last Edit: February 24, 2018, 07:43:41 pm by JHKeller »


New attachment added by JHKeller - February 24, 2018, 06:05:33 pm


New attachment added by JHKeller - February 24, 2018, 06:06:04 pm


Issue updated by JHKeller - February 24, 2018, 07:43:40 pm
  • Version changed from Stencyl 3.5, 3.5.0 beta 1 to 3.5.0 beta 1


Issue updated by Justin - February 24, 2018, 08:33:05 pm
  • Tags added: 3.5 HP


JHKeller

  • Subscriber - Stencyl Studio
  • *
March 18, 2018, 06:01:29 pm
Checked my game in build 9797 and it looks like this is no longer happening. Thanks!

Edit: Sorry, looks like this is still happening. Just may not be as consistent as I thought.
« Last Edit: March 25, 2018, 10:11:22 am by JHKeller »


RulezTeam

  • Subscriber - Stencyl Studio
  • *
April 08, 2018, 12:04:28 pm
I can see it on 9837 too. If I use 3.4 I haven't any loading bar, but with 3.5 I can see it on iOS, Android and flash, and I don't know how to eliminate it.
« Last Edit: April 08, 2018, 12:04:51 pm by RulezTeam »


rob1221

  • Master Stencyler
  • *
April 09, 2018, 09:01:30 am
The size is fixed in b9851.  I don't think the default preloader is supposed to show up in mobile though.


RulezTeam

  • Subscriber - Stencyl Studio
  • *
April 10, 2018, 12:36:25 am
Hi rob,
now I'll try 9851, but the preloader is showed on mobile.


RulezTeam

  • Subscriber - Stencyl Studio
  • *
April 10, 2018, 12:42:41 pm
Hi rob,
the problem persist. And I have tested that with 3.5 (and this preloader) the loading of game take much time Vs 3.4. Why ?
Another problem that I have seen is that with some smartphone (android 4.2 and android 7.0) the game doesn't start, but it stop at preloader (black screen). Some other smartphone can load the game and play with it, but the time that the preloader take, is about 4/5 seconds O_O


rob1221

  • Master Stencyler
  • *
April 10, 2018, 12:57:03 pm
Maybe some platform-specific code was removed causing the default preloader to be used everywhere.  Is the preloader actually working like it does in web games, or does it just flash on screen after the real loading is done during the splash screen?

About the loading time, that might be because Stencyl mobile games increased in size in 3.5.  I don't know why this is or what can be done about that.


RulezTeam

  • Subscriber - Stencyl Studio
  • *
April 11, 2018, 12:59:33 am
The preloader works as expected in web video. When you launch  the game, you have black screen, after this, you have the loading bar (loader) then you have the first scene of your app. Some device stop at black screen so they cannot load the preloader, that's it's strange because some of it have 4gb of ram and octa-core cpu.

About loading time, can it be that Stencyl load all atlases scale in memory, without use the only (and the correct) scale for that specific device ?


RulezTeam

  • Subscriber - Stencyl Studio
  • *
April 11, 2018, 04:47:42 am
Hi rob,
more test and more information. Now I have found the 'problem'. I have seen that the game can load if you use a Wi-fi connection, while if I try to turn off wifi and use mobile data, the game doesn't load.
Another interesting thing is that I try to disable wifi and mobile data, the game load and no loader bar is showed.
So, there is something with (pre)loader that recognize the connection:  yes with wifi, no with mobile data, don't load itself if there isn't any connection.
In fact I have contacted other friend and when I have asked them if they was using mobile connection when the black screen appended, they told me: yes!

This is a big problem.  Can you take a look at this ?
Thank you
« Last Edit: April 11, 2018, 04:50:01 am by RulezTeam »


RulezTeam

  • Subscriber - Stencyl Studio
  • *
April 11, 2018, 04:49:12 am
I'm trying 9853 but the preloader is still un-sized. It is created from top-left and its dimensions aren't scaled how the screen size is.
« Last Edit: April 11, 2018, 05:57:35 am by RulezTeam »


RulezTeam

  • Subscriber - Stencyl Studio
  • *
April 11, 2018, 11:12:57 am
Hi rob,
new info for your debugging. I have tested all games with an older version of 3.5, exactly beta 9742 and it works both with wifi and mobile data.
It always remain that if I disable all data (wifi and mobile) the loader bar isn't showed.

I hope that this can help you to find and resolve this problem.


Justin

  • Master Stencyler
  • *
April 11, 2018, 11:39:33 am
Nothing seems to have happened around b9742 that would have the expected effect.

However, when you mention disabling all internet connections, that seems like it could be related to the "Game Controller." It's the connection between the Stencyl toolset and engine, which allows interaction, debugging, live reloading, and other new features. It seems to make opening games slower, which I hope can be looked into and fixed. However, everything related to the Game Controller is removed from your game when you publish it, so if that's really the cause, then this problem won't show up except when you're testing the game.

Here are some things that need to be done:

1) If possible, make initial load time faster with Game Controller. Maybe even show some "connecting to Stencyl" message if we can't.
2) The preloader probably shouldn't be shown at all on mobile, at least on iOS. I don't know about Android. I think in 3.4, the preloader was only visible for Flash and HTML5.
3) "if I try to turn off wifi and use mobile data, the game doesn't load" -- look into this. I'd assume it has something to do with the Game Controller trying to connect to Stencyl using your computer's local IP address, which it can only access if connected to your router (using wi-fi).
« Last Edit: April 11, 2018, 11:41:19 am by Justin »


ChristianEs

  • Subscriber - Stencyl Studio
  • *
April 11, 2018, 04:38:36 pm
just trying to help:
i also have this preloading showing on mobile problem, the preloading bar is supposed to be on flash but i can see it on mobile, on an ipod touch 5 it shows like half of the screen, and on an ipad 4 it shows on the left corner like the original post says.
wifi enabled or disabled is the same on this devices.
my Stencyl 3.5 build is 9479
Also mobile games consume huge ram memory on this Stencyl build.


RulezTeam

  • Subscriber - Stencyl Studio
  • *
April 12, 2018, 01:29:19 am
Hi Justin,
yes, I have found these problems with debug games. I haven't tried to test if  with a publish app these problems are gone.
1 ) I'll try to use a message, but ... (look at 3)
2) I can seen preloader bar in Android too, and with 3.4 this isn't showed
3) I don't understand how this "game controller" works... (sorry)

Thank you
« Last Edit: April 12, 2018, 01:34:54 am by RulezTeam »


Justin

  • Master Stencyler
  • *
April 12, 2018, 01:35:28 am
Oh, sorry, I meant those three are actions for the dev team to fix in Stencyl. 2 is the most directly related to this specific issue, but you brought up some points related to 1 and 3 as well.
« Last Edit: April 12, 2018, 01:35:41 am by Justin »


rob1221

  • Master Stencyler
  • *
April 12, 2018, 07:58:10 am
Preloader scaling in full screen and mobile should be fixed in b9855.


Pages: 1

Details

  • Reported
    February 24, 2018, 06:05:22 pm
  • Updated
    April 12, 2018, 07:58:10 am

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags


Attachments


* LoadBarBug.png (4.38 kB, 640x1136 - viewed 73 times.)
* log-2018-02-24.zip (4422.09 kB - downloaded 18 times.)