Event executing SOME actions (Sine Inactive not working)

  • Hi, i'm relatively new to C3 and i'm having a weird problem.

    Some actions of my events get ignored.

    My game has birds falling from the sky (bullet), moving side to side (sine) and shaking rapidly (sine2) when hit by a lightning.

    In my event sheet, i have:

    When bird is hit by thunder, set bird's:

    -bullet inactive (stop coming downwards)

    -sine inactive (stop flying side to side)

    -sine 2 active (get electrocuted)

    I preview my project and the first bird i hit with a lightning plays perfectly.

    But the second (& onwards) ONLY obey to stop their bullet behaviour.

    In other words. first bird i hit, behaves like this, like i should:

    When bird is hit by thunder, set bird's:

    -bullet inactive (stop coming downwards)

    -sine inactive (stop flying side to side)

    -sine 2 active (get electrocuted)

    Every bird after the first one, behaves like this:

    When bird is hit by thunder, set bird's:

    -bullet inactive (stop coming downwards)

    Any idea of what this could be?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm using C2 and I think it is the same in C3:

    first, add 2 variables (xx and yy) to your bird sprite and then do the following:

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