How to apply effects as behaviours?

Get help using Construct 2

Post » Sun Jan 26, 2014 7:39 am

Hi all,

I know Scirra has effects you can apply to the sprites, but how about when a particular event has occurred?

Say for example if bullet collides with enemy, enemy loses 1 healthpoint and sprite is set to grayscale for 0.4 seconds then effect removed. I've used this in Stencyl and it's a great effect to show an enemy has been hit.

Thanks!
B
5
S
1
Posts: 44
Reputation: 465

Post » Sun Jan 26, 2014 8:30 am

Yes - there should be something like set effect active/inactive and you can also alter the effect amounts (depending on the effect)
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,832

Post » Sun Jan 26, 2014 9:38 am

capx example

example
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,832

Post » Sun Jan 26, 2014 1:17 pm

Awesome thanks for that. Great help!
B
5
S
1
Posts: 44
Reputation: 465


Return to How do I....?

Who is online

Users browsing this forum: marcinkowski, senecaa, unicornspitfire and 9 guests