Splash screen with the correct sizes

0 favourites
  • 1 posts
From the Asset Store
A collection of 16 amazing sprite sheet animations for your incredible games
  • Long ago I report a bug, not very common but very annoying.

    https://github.com/Scirra/Construct-3-bugs/issues/2728

    It hasn't been fixed yet. On another issue, a provisional solution is given.

    https://github.com/Scirra/Construct-3-bugs/issues/2364

    I've tried, but I can't get it to work.

    there is a very simple solution to this. Splash screen with the correct sizes and the plugin has to be used.

    Put Splash Screens into www folder with the following sizes:

    LDPI:

    ◦ Portrait: 200x320px

    ◦ Landscape: 320x200px

    • MDPI:

    ◦ Portrait: 320x480px

    ◦ Landscape: 480x320px

    • HDPI:

    ◦ Portrait: 480x800px

    ◦ Landscape: 800x480px

    • XHDPI:

    ◦ Portrait: 720px1280px

    ◦ Landscape: 1280x720px

    • XXHDPI:

    ◦ Portrait: 960px1600px

    ◦ Landscape: 1600x960px

    • XXXHDPI:

    ◦ Portrait: 1280px1920px

    ◦ Landscape: 1920x1280px

    Add the following to config.xml:

    <plugin name="cordova-plugin-splashscreen" />

    Reference the splash screen in the config file.

    This fixed it. Here is how my config file looks.

    <plugin name="cordova-plugin-splashscreen" />

    <platform name="android">

    <splash src="www/splash-land-hdpi.png" density="land-hdpi"/>

    <splash src="www/splash-land-ldpi.png" density="land-ldpi"/>

    <splash src="www/splash-land-mdpi.png" density="land-mdpi"/>

    <splash src="www/splash-land-xhdpi.png" density="land-xhdpi"/>

    <splash src="www/splash-land-xxhdpi.png" density="land-xxhdpi"/>

    <splash src="www/splash-land-xxxhdpi.png" density="land-xxxhdpi"/>

    <splash src="www/splash-port-hdpi.png" density="port-hdpi"/>

    <splash src="www/splash-port-ldpi.png" density="port-ldpi"/>

    <splash src="www/splash-port-mdpi.png" density="port-mdpi"/>

    <splash src="www/splash-port-xhdpi.png" density="port-xhdpi"/>

    <splash src="www/splash-port-xxhdpi.png" density="port-xxhdpi"/>

    <splash src="www/splash-port-xxxhdpi.png" density="port-xxxhdpi"/>

    </platform>

    My English is very bad...

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)