Mayfly's Forum Posts

  • rekjl

    I get the same issues with al my XDK builds. Put the phone in portrait and open the app. Turn to landscape and you get a half black and white screen for a moment while it loads. I have also noticed that sometimes a splashscreen will display if you have loaded in images, even if you choose not to have one displayed. Happens on stable and beta builds for me everytime.

  • Hi guangzhen

    Many thanks for taking the time to look into this. I will update my apk this afternoon and retest. If there are any files missing then they are not being generated by either C2 or XDK build as everything should be made automatically?

    Ashley is there a chance that some clay.io files are not being exported properly for XDK? I remember there was something similar with clay and CJS were you had to implement some files into the exported zip file before cloud compiling it.

    THanks

  • Making the canon not a solid will make it look the same. It just stops it physically reacting with the canon and making the balls come out funny.

    'Minus Gravity' I meant the canons follow a path to the mouse but will not quite hit it 100% at the cursor as gravity makes the balls arc slightly.

  • Your canon balls are colliding with the canon itself. If you remove the solid behavior from the canon then the balls will goto the mouse cursor directly, minus the gravity difference.

  • I did a mock Xbox style case to help promote my app =)

  • I've updated my game to version 4 with enhanced animated menus, live background and online play between android phones / desktops =)

  • hmin

    Ashley

    I've attached some links to a much simpler reproduction. I have also put links to the XDK apk and CJS apk.

    If you open and run either the C2 or CJS versions, the loading layout comes first, very quickly loads and takes you to the title screen.

    If you try the XDK version then it gets stuck at the loading screen. You can get past this by pressing your phone home button to minimoise out. Then select the app icon again to load it back up. It will get past the stuck stage but will not trigger the 'physics gravity = 0' command.

    I have left some extra lines in my titlescreen sheet for PeerJS pluggin and CLAY.io

    They are not needed for the title screen but they are needed in my app. I need to clear all PeerJS connections at the title screen and also I force close the clay.io login screen as for some reason XDK exports make it appear even when it is not called?

    Construct 2 file:

    https://dl.dropboxusercontent.com/u/631 ... rTest.capx

    XDK apk:

    https://dl.dropboxusercontent.com/u/631 ... ffline.apk

    CJS apk:

    https://dl.dropboxusercontent.com/u/631 ... Signed.apk

  • I managed to sort my issue with regards to signing my apk and updating an older CJS google play store listing.

    I also get the blurry image issue even on small images. I have to set the high DPI to yes to make smooth graphics for my app. I believe this will give a performance issue on most phones though In CJS all my graphics were fine with that turned off.

    hmin

    I also get the half black and white screen on startup. Sometimes I also have my splash screen displayed even though when I build it I request it is not shown.

    I've also have some strange issues that my app will sometimes load incorrectly.

    If you have wifi enabled then the app displays a black screen for a few seconds and then will load fine.

    If you have no internet connection then the app will freeze on the startup screen. You can get around this by pressing the phone home button and then the app icon again. But doing this it jumps to the main menu and the physics gravity set to 0 does not trigger, Very odd!

    It seems it may be related to having teh clay.io plugin for my app but I will have to experiment to check and see if I can get some simpler capx as examples.

  • I've changed my app from CocoonJS to XDK for online reasons. My app has a paid and a lite versions and now I have changed to XDk the webstorage data is lost. Does anyone know how this data is stored and how I can keep it. My app had unlockable extras and a profile EXP score which was all saved by the webstorage plugin.

    Thanks

  • Was there a solution to getting stuck in the 'browser'? I have the same issue I have a link to my full app version on google play but it means the user gets stuck =(

  • IntelRobert

    is there no way around keeping old signed keys. ive had my app on the store for a while now so I really would prefer to keep my store listing if possible!?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've made the jump from CocoonJS to XDK due to multiplayer support.

    I've just exported ready to upload to the google play store but when I test the .apk file from the email it does not let me update the older CJS app on my phone. It says a package with an existing name exists. Conflicting signature.

    If I jarsigner and zipalign the files I get the same issues.

    When trying to upload to google play both versions do not work.

    I am getting

    "Upload failed

    Your APK has been signed with multiple certificates. Please only sign it with one certificate and upload it again.

    You uploaded an APK that is signed with a different certificate to your previous APKs. You must use the same certificate. Your existing APKs are signed with the certificate(s) with fingerprint(s):"

  • robert420 austin

    I have not been able to find this 'when modals open' on my C2 events. Am I missing something?

    Also does anyone know if there is a way to stop Clay.io automatically opening the login page?

    On my latest builds as soon as you open the app it prompts a login rather than letting you goto options and sign in?

    Cheers

  • Problem Description

    When turning on High DPI and or High Quality scaling, tile backgrounds no longer scale properly to fit the screen if they have an effect property. This happens when exporting to XDK or opening a html5 export on a mobile browser. It works fine on a desktop browser.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/631 ... Issue.capx

    https://dl.dropboxusercontent.com/u/631 ... index.html

    Description of Capx

    Tiled background with inverse effect enabled.

    Steps to Reproduce Bug

      Run the capx on a mobile browser / export to XDK and run on android. Delete the effect from the tile properties to display it full screen Add any effect to the properties and it reduces the tile size on the display

    Observed Result

    Tile size no longer fits the layout. It is reduced in size

    Expected Result

    Tile should be full screen

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    169

  • I have recently made the switch to XDK to have online features on my bowls app. One issue I cannot seem to resolve in XDK is the size of a tile I am using. With CJS it works fine.

    But in XDK I have to turn on either High DPI or High quality scaling. (If these are off the graphics are really blocky)

    When doing this however my tile no longer fits the screen as it does in XDK preview or C2. It shrinks. Making the tile say 5X bigger than the layout size increases it in the game but even that doesn't cover the whole screen when playing. Has anyone encountered this or got a fix? It seems to happen on newer phones, I guess with higher res displays?

    On device:

    In C2: