- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At first i was getting the dreaded white flash on game start up. Fixed that with the forums help by adding:
<platform name="android">
<!-- set Crosswalk default background color -->
<!-- see http://developer.android.com/reference/android/graphics/Color.html -->
<preference name="BackgroundColor" value="0x00000000" />
</platform>
and
<platform name="android">
<!-- following requires the splash screen plugin -->
<!-- see https://github.com/apache/cordova-plugin-splashscreen for details -->
<preference name="SplashScreen" value="screen" />
<preference name="AutoHideSplashScreen" value="false" />
<!-- <preference name="SplashScreenDelay" value="30000" /> -->
<preference name="FadeSplashScreen" value="false"/>
<!-- <preference name="FadeSplashScreenDuration" value="3000"/> -->
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="SplashMaintainAspectRatio" value="false" />
<preference name="SplashShowOnlyFirstTime" value="false" />
</platform>
But now i am noticing that when the game starts there is a black screen, then my games splash screen, then another black screen, then it goes to the main menu.
It's supposed to go from my games splash screen directly to the main menu. Any reason for the added black screen after my games splash screen?
Any way to get rid of it, at least the 2nd black screen, so it does go to the main menu without 1st showing the 2nd black screen?
Thanks for any help with this.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jeffery, is this a Construct2 game? What plugins do you have? The following link points to a similar problem and the user indicated that Cranberry Chartboost plugin caused the problem for him.
https://www.scirra.com/forum/how-do-i-stop-black-screen-after-splash-screen-intel-xdk_t129497
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jeffrey -- as a comparison point, if you have an Android 5.x or 6.x device, try building WITHOUT Crosswalk and see if you get the same behavior on an Android 5+ device (don't try this experiment with an Android 4.x device, the results there are of no value). That will help to isolate if the issue is with Crosswalk.
Given that the Construct2 issue identified by Shahab also indicates the same issue exists in iOS, I do not think Crosswalk is the problem but, rather, a plugin is likely causing the problem. If a plugin requires a long time to initialize it can cause behavior like this.
You might also ask the Construct2 poster what he had to do to fix the problem on iOS, it might provide some clues as to how to fix it on Android.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the replies, it's actually working now. Although i did nothing different, all is well on the black screen front.
Thank you

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page