rafa25's Forum Posts

  • 6 posts
  • And I still have the same doubt.

    Help us, please!

  • I exported a game to Android with Crosswalk and the Webstorage works perfectly.

  • That's it! Thank you!

  • Hi!!

    My name is Rafael, I live in Brazil and I love doing games with Construct 2! It'll be certainly my future hobby!

  • Thanks!! It works perfectly! But I don't understand why it only works when you toggle the static box in the Local Variable. What it do?

    EDITED: Already found my answer : https://www.scirra.com/manual/55/event-variable

    "The Static checkbox only applies to local variables. By default, local variables reset their value to the initial value every tick. However, if Static is checked, the local variable's value will persist permanently, like a global variable. Static local variables differ from global variables in that they can still only be used within their scope. Global variables always hold their values permanently so the Static option does not apply to them. For more information about local variables, see Event Variables." <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How I make an alternate event. (In my case I want my event to do an action every 1.5 seconds but this action will alternated to action 1 and action 2. So it will be like:

    action 1--> Wait 1.5 seconds --> action 2 --> Wait 1.5 seconds (And then make a infinite loop)

    I tried to make that way, but when I test it the local number doesn't change I think. Just the first action is playing...

    So it's like: action 1--> Wait 1.5 seconds --> action1 --> Wait 1.5 seconds.... (infinite loop)

    PS: In my case Action 1 is the top event and action 2 is the bottom event.

  • 6 posts