How do I make the Flash Behavoir a half a sec

Get help using Construct 2

Post » Mon Jul 14, 2014 1:41 pm

I am using a Flash behavior for when I hit a enemy they flash. I need it to be a half a second long but I do not know how to set it that way. I figured it would be .05.....but you cant set it like that , it does not like the decimal number.... Any ideas?
B
9
S
2
Posts: 272
Reputation: 1,632

Post » Mon Jul 14, 2014 1:52 pm

It has 3 parameters, so you can set them to 0.1, 0.2, 0.5 etc. Works OK for me.

See attached. Click on object to make flash.

Uses C2 r173 or higher.
You do not have the required permissions to view the files attached to this post.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,422
Reputation: 59,530

Post » Mon Jul 14, 2014 8:53 pm

Set your on and of time to 0.1 and set your duration to 0.5 instead of .05. That will give you a half second flash.
B
48
S
13
Posts: 118
Reputation: 3,326

Post » Mon Jul 14, 2014 9:10 pm

you need to put a '0' in front.. I've noticed C2 does not like .05, instead do 0.05
B
98
S
32
G
16
Posts: 1,204
Reputation: 16,715

Post » Wed Jul 16, 2014 4:57 am

thanks everyone, got it to work now. sometimes I feel like a fool. ha
B
9
S
2
Posts: 272
Reputation: 1,632

Post » Wed Jul 16, 2014 5:07 am

You are not alone ;)
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, dand, tinhofiel and 32 guests