How do I keep track of items using Local Storage?

0 favourites
  • 3 posts
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • Hi,

    In my game I using an in-game currency using an item called gems. These gems can purchase in-game power-ups and new lives etc.

    Anyways I found out how to keep track of a high score using local storage but am really struggling with keeping track of gems. Here are some screenshots of what I've done so far. Please help.

    Thanks.

    [file:///C:/Users/Jason/Desktop/Programs/Jetpack%20Blast%20Off/gem%20screenshot1.jpg]

    [file:///C:/Users/Jason/Desktop/Programs/Jetpack%20Blast%20Off/gem%20screenshot2.jpg]

    [file:///C:/Users/Jason/Desktop/Programs/Jetpack%20Blast%20Off/gem%20screenshot3.jpg]

    [file:///C:/Users/Jason/Desktop/Programs/Jetpack%20Blast%20Off/gem%20screenshot4.jpg]

    [file:///C:/Users/Jason/Desktop/Programs/Jetpack%20Blast%20Off/gem%20screenshot5.jpg]

  • PixelPower recently shared a superb example of an item management system using local storage. PixelPower's example capx file might help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This might help:

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