Hi everyone,
I need someone for a very specific task.
If I'm correct, Construct 2 loads the whole code of the project BEFORE the default loading screen (HTML5 default bar) that is quickly shown BEFORE the customized loading screen shows up.
To show that, I did a simple CAPX ( drive.google.com/file/d/1tdF6ZSUOWY-8JPNaZyrvb7bgqYdYFLnT/view ) of a simple project with no images and just a lot of events which are never played. It takes a while to show up the loading screen when exported as an APK ( drive.google.com/file/d/1HgzW6djmUUiCZwzBLHJB21MNLis6UQog/view ).
During that first initial load time, when exported to a mobile device, the screen stays black. While for small project that time is very short, for big projects it could be really long. My game, Healer's Quest, is actually 45K events, and the black screen time is actually of 15 seconds on a quite good smartphone... While Apple and Google guidelines says this time could be of maximum 2 seconds.
When I asked Ashley about it, he suggested the following: "I think your best bet is to write a snippet of JavaScript that can float a loading image over the canvas until the game reaches 'On start of layout'."
Reference thread: construct.net/en/forum/construct-2/how-do-i-18/how-to-reduce-the-black-screen-138455
So basically I want to show an image I'll make specifically for that loading time instead of the black screen.
If there could be a small rotating image to show activity is going on, it would be even better, but I can live without it.
Can anyone write this snippet of Javascript and help me implement it into the code of my game?
Please tell me how much you would charge for it. If you prefer to discuss it by email, my address is rablogamesmis@gmail.com
Thanks!