Saving on android devices (IntelXdk Cookies)

0 favourites
  • 1 posts
From the Asset Store
Match the similar cards with each other and free all animals!
  • How do i save the games progress on an android device using intelXDK?

    I have tried the following:

    1. Systems Save & load: it froze the device, worked well on the preview aswell as the intelxdk emulator.

    2. Webstorage again worked on the preview and emulator, but not on the device.

    3. Then lastly intelxdk.Cookies couldnt get them to work on anything.

    Now i would like to know how to do it correctly with the cookies.

    Or if anyone knows of an alternative way of saving please do tell me.

    The way i tested the cookies:

    [EVENT:OnTouched "Sprite1" - ACTION: Set Cookie: "Test" To "1" (Exp. -1 Days)]

    [EVENT::IntelXDK.Cookie("Test")=1 - ACTION: Destroy "Sprite2"]

    Sprite2 was never destroyed.

  • 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)