How do I make flash a sprite with frames

Get help using Construct 2

Post » Sat May 31, 2014 4:17 pm

Hi
I have a sprite with frames , with animation disables and I want to make it flash when I set a new frame visible. I've tried with no success so I'm asking if it is possible !

thanks
B
7
Posts: 20
Reputation: 329

Post » Sat May 31, 2014 4:51 pm

Add the flash behaviour to the sprite.

Set "On Frame Changed" as the condition, and activate the sprites flash behaviour as the action.
B
7
S
2
G
1
Posts: 37
Reputation: 1,278

Post » Sat May 31, 2014 10:02 pm

thanks, that was the idea, but does not work to me !
B
7
Posts: 20
Reputation: 329

Post » Sun Jun 01, 2014 3:09 am

Maybe toggle a Boolean variable that determines if the sprite is visible or not every time an "on frame changed" condition happens?
B
44
S
12
G
1
Posts: 231
Reputation: 3,875

Post » Sun Jun 01, 2014 9:55 am

I got it !
It was I had a make visible action before the flash action. Just removing the make visible (that was not required anyhow) I got the sprites flashing :)
thanks
B
7
Posts: 20
Reputation: 329


Return to How do I....?

Who is online

Users browsing this forum: JarkeyBacon and 8 guests