How do I modify this (capx attached)

0 favourites
From the Asset Store
Rotate & Animation for 16 Direction & Mouse Direction
  • Thanks Thanks for taking the time. This is going to help lots of beginners.

    You're welcomed! It just that, there's a lot of question like this before repeatedly, somebody gotta put an end to it .

  • WebStorage Question with the above file:

    I am trying to store and restore the values from the above file. As I use the browser to test, once I refresh, the total collected stars is zero again. I wanted to save the data.

    I have tried using webstorage here. But it is not working properly.

    * I one which used "On start of layout" condition is to restore

    * and on the "Win level" condition, I tried to save the total collected stars.

    But it is not working.

    Help!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • While saving to webstorage you create a string..

    To convert it back to a numerical value use int(webstorage.localvalue())..

    It might also be wise to add a subevent to check if webstorage exists before setting the global value, for else it could give unexpected results when first played..

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