global oscillating

1 favourites
  • 3 posts
From the Asset Store
Globals 2.0
$3.99 USD
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • Hi guys, I need some help. I'm making a game and I must be forgetting some code, because when I use a global and I ask the system to set the value it is oscillating between the previous value and the new set, it goes back and forth in the value after reading the code when I ask for the system compares the global variable.

    What could I do for it to read and not read again the value of the previous set, I've already tried the trigger once, but if I put it, it doesn't even do the action.

  • I took a screenshot to illustrate what is happening, the global goes back and forth after the number 1 and the actions are flashing on the screen (the dialog boxes). The texts are inside functions that if created separately do not flash, but when I use the global to continue the dialogs, the global goes back and forth and not only this one, there are other globals in the game that are making the same error.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • link do vídeo youtu.be/V4mFk6VSdiA

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