[Suggestion] Flash Behavior Duration

Discussion and feedback on Construct 2

Post » Sun Jul 14, 2013 2:23 am

Maybe it's a missing feature, I would like to enter "0" in duration field to make it infinite.
B
96
S
34
G
29
Posts: 3,138
Reputation: 28,234

Post » Sun Jul 14, 2013 2:35 am

Yeah that'd be a nice little feature. In the meantime you can toggle a boolean and set visibility.
Image
B
236
S
28
G
13
Posts: 1,784
Reputation: 18,429

Post » Sun Jul 14, 2013 7:13 am

You should be able to get around this by going "on flash ended" >> Flash
B
21
S
8
G
6
Posts: 346
Reputation: 4,891

Post » Sun Jul 14, 2013 9:34 pm

I think this kind of thing is problematic because sometimes 0 really is intended to mean "don't actually flash". For example if you flash for duration of score / 10, to flash longer the more your score is, you probably would rather it not flash at all when your score is 0 rather than flash forever. I think it would be better to have an infinity system expression.
Scirra Founder
B
382
S
223
G
86
Posts: 23,997
Reputation: 189,771

Post » Sun Jul 14, 2013 9:40 pm

@Ashley maybe I don't know much about javascript but wouldn't having an 'infinity' system expression be sort of... very very dangerous?
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,644

Post » Mon Jul 15, 2013 9:24 am

@sqiddster - infinity is a perfectly valid number state for floats in computing. There's nothing dangerous about it.
Scirra Founder
B
382
S
223
G
86
Posts: 23,997
Reputation: 189,771

Post » Mon Jul 15, 2013 2:32 pm

@Ashley well, there's something I didn't know ;)
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,644

Post » Fri Feb 26, 2016 1:27 am

So did this ever happen because I could use an infinite flash right about now... Thanks guys for all your hard work.
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
24
S
9
G
1
Posts: 326
Reputation: 3,407

Post » Fri Feb 26, 2016 4:02 am

Yes "Infinity" has been an expression for a long time.
Image ImageImage
B
165
S
49
G
147
Posts: 8,048
Reputation: 96,588


Return to Construct 2 General

Who is online

Users browsing this forum: caad8user, Digitalarray, Maurilio Pedro, Proxymity and 2 guests