...make text blink using a while

Get help using Construct 2

Post » Fri Jan 18, 2013 2:45 am

I'm trying to get some text to blink in a slow, steady blink without actually disappearing. I tried the while loop, and said that if the players health is greater than 0, keep the text blinking, but all I get is an error as the while loop never closes. I'm not sure how to do this and have already searched the manual. Any thoughts on how to go about this? Maybe a Boolean? Not sure.
B
6
S
1
Posts: 90
Reputation: 840

Post » Fri Jan 18, 2013 3:30 am

New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
271
S
99
G
70
Posts: 7,267
Reputation: 75,769

Post » Mon Jan 21, 2013 3:05 am

[QUOTE=Kyatric] https://dl.dropbox.com/u/36472942/construct/forumhelp/Blinking_Text.capx.[/QUOTE] Is there anyway to get it to dim, but never fully go out and keep "blinking" like that? I was thinking a constant change in opacity but that would be a lot of code. So it would dim, then it would turn fully back on again and dim and just keep doing that until the player died? Thanks man.
B
6
S
1
Posts: 90
Reputation: 840

Post » Mon Jan 21, 2013 3:32 am

Same logic, different behavior
Sine movement Opacity.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
271
S
99
G
70
Posts: 7,267
Reputation: 75,769

Post » Mon Jan 21, 2013 8:04 pm

Thanks man, that did the trick.
B
6
S
1
Posts: 90
Reputation: 840


Return to How do I....?

Who is online

Users browsing this forum: buzzfrog, dokthor, imhotep22, matrixreal, wowsoundsg and 9 guests