Timer start on Keypress

Get help using Construct 2

Post » Wed Apr 04, 2012 10:52 am

I have my timer starting on an "up" key press, but I can't figure out how to make it only work once...I need to continuously be able to press the up key afterwards for the game control, and it just keeps resetting the timer on every "up" key press. Which it shouldn't. I just want the timer to continue.

Currently using:

Keyboard --> On Up arrow pressed | TimeManager | "CountingUp" is counting up and set to started.

(Using TimeManager Plugin)Pixiefingers2012-04-04 10:53:27
B
11
S
2
Posts: 127
Reputation: 1,532

Post » Wed Apr 04, 2012 10:59 am

Add a condition (if it exists) to check if the TimeManager is NOT set to started (an inverted condition).
This way the action will only happen if the TimeManager is not already running.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Wed Apr 04, 2012 11:20 am

[QUOTE=Kyatric] Add a condition (if it exists) to check if the TimeManager is NOT set to started (an inverted condition).
This way the action will only happen if the TimeManager is not already running.[/QUOTE]

There is an option for "Is Counter Running"

Thx. It worked Pixiefingers2012-04-04 11:26:22
B
11
S
2
Posts: 127
Reputation: 1,532


Return to How do I....?

Who is online

Users browsing this forum: Pandadoor, Zebbi and 20 guests