[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
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

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
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

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
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

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,699

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
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

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,699

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
41
S
20
G
6
Posts: 367
Reputation: 7,541

Post » Fri Feb 26, 2016 4:02 am

Yes "Infinity" has been an expression for a long time.
Image ImageImage
B
172
S
50
G
183
Posts: 8,443
Reputation: 115,605


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests