XDK splash screens, Crosswalk for Android build

0 favourites
From the Asset Store
A collection of 16 amazing sprite sheet animations for your incredible games
  • All you have to do is upload your splash screen image and it and it will spit out all the files. All 9 patch seems to be is a name.9.png file or something like that. I think your image has to be in the new xdk sizes.

    Thanks. I think when the XDL build servers are back online I'll try a build without splash screens, but this is nice to know.

  • even if you untick the spalsh screen option in XDK, sample splash screen files will still be included in the apk which makes no sense

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The only problem with not using a splash screen is you get an extended black screen to look at. I think my products should be better then looking at a black screen while crosswalk loads on your device. Thats the reason I went out of my was to try and solve this.

  • The only problem with not using a splash screen is you get an extended black screen to look at. I think my products should be better then looking at a black screen while crosswalk loads on your device.

    Yes I was worried about that. Can't wait until the XDK builds are back online so I can work on this.

  • xach I tried more ways of building the 9patch including Photoshop, the online utility shown here and another one but my splash is still stretched. Can you share yours please or at least a dummy one to see where are the 1 px border positioned?

  • Mine stretches too just a little is yours completely distorted?

  • xach Yes..looks like 20% distortion. The left is the original one and on the right is a snapshoot from my phone

    So in mine opinion 9patch solution is not working

  • So intel https://software.intel.com/en-us/html5/ ... ld-options recommends you use 9 patch.

    They suggest you use the http://developer.android.com/tools/help/draw9patch.html Android SDK Draw 9-patch.

    I just used that utility because it was quicker but there is still alot we could learn. I'm not saying its perfect but it did display my splashscreen on my device a whole lot better. And if we all want to keep using crosswalk intel just told us we have to understand 9-patch.

  • So intel https://software.intel.com/en-us/html5/ ... ld-options recommends you use 9 patch.

    They suggest you use the http://developer.android.com/tools/help/draw9patch.html Android SDK Draw 9-patch.

    I just used that utility because it was quicker but there is still alot we could learn. I'm not saying its perfect but it did display my splashscreen on my device a whole lot better. And if we all want to keep using crosswalk intel just told us we have to understand 9-patch.

    Thanks this explains a lot. I'll see if I can get it working <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Note: I did try to turn off the splash screen option in the XDK build settings, but I got warnings in the build log like:

    [quote:3a6vw7fx]Warning: ldpi launch icon not found.

    Warning: mdpi launch icon not found.

    Warning: hdpi launch icon not found.

    Warning: xhdpi launch icon not found.

    Installing splash screen "drawable-ldpi/splash.png"

    Warning: Splash screen not found.

    Installing splash screen "drawable-mdpi/splash.png"

    Warning: Splash screen not found.

    Installing splash screen "drawable-hdpi/splash.png"

    Warning: Splash screen not found.

    Installing splash screen "drawable-xhdpi/splash.png"

    Warning: Splash screen not found.

    However I didn't remove the actual splash images from the www folder, and I still got the splash screens <img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked"> So I'm confused, but I will try the 9patch thing now that I understand the concept more <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Edit: ok so the image sizes that the 9patch tool spits out are not as per the XDK..

  • Come back with some update about 9patch support using Intel XDK . From what IntelRobest said, 9patch as a splash screen is not supported, So anyone here made it work it's just placebo.

    We don't currently support 9 patch. There is already a request to add it, but it is queued up behind some other issues so I don't know when it will be there.

    > IntelRobert I read on another topic that placing a 9patch png as a splash image make it avoid distortion. Is this true? because I tried several 9.png images an all of them are distorted on my Samsung galaxy s2 with aspect ratio 16:10

    > The left is the original one and on the right is a snapshoot from my phone

    >

    > I know the 9patch image is properly generated, it has the 1 pixel black border as it should, I did my homework

    >

  • I might be wrong about the 9patch. I am checking with Paul who wrote the article.

  • IntelRobert

    Thanks.

  • So intel https://software.intel.com/en-us/html5/ ... ld-options recommends you use 9 patch.

    They suggest you use the http://developer.android.com/tools/help/draw9patch.html Android SDK Draw 9-patch.

    I just used that utility because it was quicker but there is still alot we could learn. I'm not saying its perfect but it did display my splashscreen on my device a whole lot better. And if we all want to keep using crosswalk intel just told us we have to understand 9-patch.

    IntelRobert

    How are things going on this 9-patch thing? I Think we would all like to know how we are supposed to be handling our splashscreens that were change with no explanation as to how we are to use them.

  • I was told that 9-patch never worked in XDK. They are looking into adding support, and I will know in a few days. Feel free to PM me for an update.

  • I was told that 9-patch never worked in XDK. They are looking into adding support, and I will know in a few days. Feel free to PM me for an update.

    Ok were you told that it does not work in the compiled application or the splashscreens? Because the article that is referenced only targets splashscreens with 9-patch. And if the case is that there is no 9-patch solution then why did we change the aspect ratio on the splashcreens in the first place?

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)