Every Tick conflict?

  • Does having multiple every tick events conflict with anything? if i want things to fire in a certain order, and have 2 every tick events will that cause problems? I am having weird things happen in my game =/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The way I understand it, is code on a sub-branch will fire at the same time. At least that is how it happens in my experience.

    Every Tic

    Do X

    Do Y

    Do Z

    XYZ fire at the same frame.

    Every Tic

    Do X

    Do Y

    Do Z

    XZ fire at the same time, then Y goes after X is done.

  • "Does having multiple every tick events conflict with anything?"

    No, they are just run in the order they are placed in the event sheet.

  • Wait, explain sub events again plz, because i have an event, it changes a variable, in that same event i have sub events depending on the if of the variable. am I doing it wrong?

    The reason being is, in my game you die and respawn, and have ai that respawn as well, but it is saying '''respawning''' when I am already respawned, when ai allies are respawning.

  • If you have it like this:

    Top Event

    Variable = 0 => Set Variable =1

    Variable = 1 => Set Variable =0

    The final result is that Variable=0

    Because the second event is true since it follows the first. They all occur in the same frame, but the order is preserved so the first event fires and set Variable to 1 followed by the next.

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