Different behavior between web/exported version

0 favourites
  • 4 posts
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • I'm attempting to export my game for android using a variety of methods.

    The HTML 5 and desktop NW.JS versions work no problem.

    Cocoon developer app works too when previewing the game locally or from dropbox.

    But when i build an APK either via cocoon.io or adobe phonegap build. The game starts, then gets stuck a short way into the game. When I'm trying to load my level map.

    Not sure how to debug this other then starting to delete parts of the game till it works.....

    thanks

  • Tricky without more information.

    At a guess, with any other apk I would say it's trying to load a non local resource and failing as the android_manifest.xml doesn't have internet permission set correctly.

    Does it finish loading, then stalls a little after that, or does it fail during loading?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So it appears that the ajax object doesn't like uppercase letters or spaces.... But would still work fine on a PC browser or cocoon Dev app. But breaks everything once it's compiled to an app. Renaming my tmx maps I was loading fixed the apk issue I was having.

  • Glad to hear you fixed it. Maybe the uppercase. spaces is to do with Android being based on linux, and Windows being less fussy...

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