BarthSoftware's Recent Forum Activity

  • Does this only happen after export to Ios?

    Could you share your events?

    You are talking about arrays, variables and localstorage..

    I guess you are saving the array AsJson, which should include the size of the array, if I remember correctly..

    Are you retrieving the variables from the Array in the right way?

    Thank you for your quick response

    Yes, only on IOS. On Android it works perfectly.

    https://www.dropbox.com/s/1t6irzjeysck1z1/1.png?dl=0

    https://www.dropbox.com/s/7og0e3k655a20sr/2.png?dl=0

    Here is my code (saving & loading).

    Yes i'm using the AsJson array, but i don't know if it includes the size of the array. I set the array manually.

    Yeah, on Android all variables retrieves correctly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey guys,

    i've got a problem with my Localstorage under IOS.

    I want to save some variables in an Array. If i set the Array width to 5 and save 3 Variables in it, it works perfectly.

    Otherwise if i set the Array width to 5+ and save 5+ Variables, the localstorage is cleared when i restart the app.

    I'm compiling with XDK. I tried with phonegap and Cocoon... same problem.

    IOS Target version 8+.

    Has anyone experience with this problem?

    About an answer I would be delighted.

    greetings

    Domenic

  • Hello Ashley,

    thanks for your reply.

    I added the Plugin in XDK and now it finally works.

    Thank you very much !

    Sincerely

    Domenic Barth

    Barth-Software

  • Hello,

    my name is Domenic and I'm developing an platformer game for Andoird and IOS.

    I've got an huge perfomance issu on my IOS devices built with XDK, Phonegap...

    When I Export the Project via HTML and upload it to my Website, it runs on my iPhone 6+ with 60 fps and 30% CPU usage, but if I export with Cordova and built an IPA it runs with 60 fps and 90%+ CPU usage. It heats up very fast...

    I've made a Test game with just the tilemap and the Character. The same issue.

    On my Samsung S3 the Test game runs with 52FPS and 25% CPU Usage (Crosswalk)

    My Project settings:

    • Sampling Point
    • Physisc engine Box2D web (I dont use Physics)
    • Preload Sounds Yes
    • Clear background NO

    My XDK settings:

    Cordova CLI 5.1.1

    Fullscreen

    Landscape

    IOS target 8

    Here is an capx from my Test Project.

    https://www.dropbox.com/s/t2zowqlmeoxm2 ... .capx?dl=0

    A response would be appreciated.

    Sincerely

    Domenic Barth

    Barth-Software

BarthSoftware's avatar

BarthSoftware

Member since 8 Jun, 2015

None one is following BarthSoftware yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies