How do I make game with "Time"?

Get help using Construct 2

Post » Wed Mar 15, 2017 1:26 am

I'm making a little game, which include if an object touches another object then the 'time' will increase...

Did anyone ever make a game like this or other tutorials?

I stucked :lol:
B
8
S
2
G
1
Posts: 18
Reputation: 1,038

Post » Wed Mar 15, 2017 9:12 am

You have the Wait command or On Every Seconds command. You will need a couple of global variables. DoSomething is a trigger and Timer holds the time.

On Object1 Collides with Object2: Set DoSomething= 1

Every 1 Second: Add 1 to Timer
DoSomething=1
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,825

Post » Wed Mar 15, 2017 7:10 pm

on touch another object
add seconds to time
time should global variable
Image
B
68
S
40
G
48
Posts: 680
Reputation: 34,066


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests