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
53
S
16
G
8
Posts: 6,157
Reputation: 19,744

Post » Thu Sep 13, 2012 7:32 pm

Create variable ie. called timer

Every tick -> Subtract dt from timer
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

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
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

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
140
S
58
G
36
Posts: 2,547
Reputation: 31,170


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 16 guests