((SOLVED!) the timer from increasing at set score?

Get help using Construct 2

Post » Mon Feb 24, 2014 3:05 am

Okay.

I want to reward the player after they've reached X points (Say, 100) by giving them more time on the clock (say an extra 30 sec). My problem is that if I set it to 100, then the score has to be EXACTLY 100 for it to work, so I set it to "Equal to or greater than" but then it just KEPT ADDING TIME. I just want it to ad +30 sec and be done with it. (Also, when it was set to 100 only, it would keep adding time for as long as the score was at 100).

What I'm trying to achieve:
WHEN score = >100, +30 sec to time

But right now it's more like:
IF score = >100, +30 sec to time.

Thank you.
Last edited by ZetaCron on Tue Feb 25, 2014 6:22 am, edited 1 time in total.
B
8
S
1
Posts: 11
Reputation: 472

Post » Mon Feb 24, 2014 3:12 am

Just add an extra variable that records that the 'extra' time has been added, and add that to your condition.
B
71
S
22
G
249
Posts: 3,763
Reputation: 138,577

Post » Tue Feb 25, 2014 6:25 am

Created variable "ExtraTime" and set it to 1.

System Score => 100*ExtraTime, System add 60 to Timer
System add 1 to ExtraTime
B
8
S
1
Posts: 11
Reputation: 472

Post » Sat May 31, 2014 5:15 am

@ZetaCron

How would you rework this to just add bonus points either to the score or High Score if you didn't hit anything that would make you loose points. So if my PENALTY VAR stays at 0 you get bonus points added to the score.

Everything I've tried so far just make the points KEEP adding real fast none stop.

Thanks
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
40
S
19
G
6
Posts: 367
Reputation: 7,411


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests