How do I timer

Get help using Construct 2

Post » Sat Aug 15, 2015 5:27 pm

Hi, I want to do this, if I get
spend the game:
Between 1 and 10 sec = 100 points
Between 11 and 20 sec = 200 points

In "comparable variable" as I can put between 1 and 10 sec? I tested (1-10) and 1-10 does not work ... I forgot to make this as simple :(
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Sat Aug 15, 2015 5:40 pm

If you want to do it that way, you could use the system is between values condition..

You could also use ceil(variable/10)*100 if you use the variable to portray the seconds and you want the points to go up 100 every 10 seconds..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Aug 16, 2015 9:55 am

I want that against less time you are late in the level spends more score... Something in proportion...
Since I put it of (1-10) does not it work, since doing it?
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Tue Aug 18, 2015 1:13 pm

help
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Tue Aug 18, 2015 3:06 pm

you really only need to test (in compare variable) if it is Greater Than or Equal to 11 seconds, then give them 200 points, then add an ELSE give them 100 points.
B
95
S
33
G
20
Posts: 438
Reputation: 17,640

Post » Sat Aug 22, 2015 5:25 pm

It does not work, an image to see it? The second 1 to 10 example
B
13
S
2
Posts: 297
Reputation: 1,717


Return to How do I....?

Who is online

Users browsing this forum: David181, jorgmaquoi, SignalOne and 21 guests