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: 23
Reputation: 267

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:

http://www13.0zz0.com/2017/09/21/22/153342775.png
B
52
S
17
G
4
Posts: 30
Reputation: 4,783


Return to How do I....?

Who is online

Users browsing this forum: blue visionary, OBLIVION, tarek2 and 11 guests