[HELP] Energy system

0 favourites
  • 6 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • hello guys,

    I created an energy system but when I update the page it does not save. the energy system returns to the defoult. I created a localstorage but I don't understand the problem. you can help me?

  • There is no mention of local storage in the screenshot you posted.

    Do post your project (as single .c3p file) and provide exact steps to reproduce the issue, indicate what you would want your code to do exactly, and describe precisely what you experience it doing instead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok, I added the missing screen

  • I still don't see the 'get', do you have the Get in an Action?

    also line #9: I have to say I've never seen a: NOT >= it's not very intuitive, I would change it to < 4

  • There is no mention of local storage in the screenshot you posted.

    Do post your project (as single .c3p file) and provide exact steps to reproduce the issue, indicate what you would want your code to do exactly, and describe precisely what you experience it doing instead.

    I solved. you can close the discussion

  • Event 2 - On Start of Layout you check if energia EXISTS

    but event 1 - On energia GET you read the value

    both should be EXISTS, or GET. The way you have it, the GET will never get called.

    I don't see where you SET energia, so that could be a problem as well...

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