Event executing SOME actions (Sine Inactive not working)

Get help using Construct 2

Post » Fri Aug 18, 2017 6:14 pm

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?
B
5
Posts: 25
Reputation: 271

Post » Thu Sep 21, 2017 7:58 pm

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:

Image
B
60
S
19
G
5
Posts: 32
Reputation: 5,692


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 53 guests