Limited time

Get help using Construct 2

Post » Thu Sep 13, 2012 7:12 pm

I want my character collect all items in a given time, but not everyone collects, does not end the game and continue.

if you do not collect all the items in a limited time the game is over.

Anyone know how to do this?
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Thu Sep 13, 2012 7:20 pm

You could use this plugin to create a countdown timer:

plugin-time-manager

It's very easy to implement, you could even add time to the counter on specific collected objects..
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 » Thu Sep 13, 2012 7:32 pm

Create variable ie. called timer

Every tick -> Subtract dt from timer
ImageImageImageImage
B
155
S
63
G
41
Posts: 2,587
Reputation: 34,464

Post » Thu Sep 13, 2012 8:18 pm

is not what I'm looking ...
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Thu Sep 13, 2012 8:58 pm

Shinkan is correct, you just need a variable which you subtract from (or add) dt each tick. What do you mean by 'is not what I'm looking'?
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,644

Post » Fri Sep 14, 2012 1:00 pm

Do not work me, I am too newbie
B
11
S
4
G
1
Posts: 410
Reputation: 2,752

Post » Fri Sep 14, 2012 1:30 pm

Here's the practical example

Timer.capx
ImageImageImageImage
B
155
S
63
G
41
Posts: 2,587
Reputation: 34,464


Return to How do I....?

Who is online

Users browsing this forum: ilyaTyl and 12 guests