How do I add timer count in game

Get help using Construct 2

Post » Sat Dec 19, 2015 11:11 pm

I am planning make game with time counting, so if player begin the game, the timer is counting up, it's mean more player playing game, the more time will display, this mean how much time the player play game, the result is the most player shorting play game, there are the winner
B
4
Posts: 10
Reputation: 222

Post » Sat Dec 19, 2015 11:36 pm

So what is the question?
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 » Sun Dec 20, 2015 2:57 am

try something like

create a variable named 'time'
create a vairible named 'players'
____for every player add one to players variable
every second event and do 1 divided by players
____add 1 to time variable action

create text object and place somewhere visible on layout
do every tick event
set text of object to time variable
B
27
S
12
G
5
Posts: 79
Reputation: 5,223

Post » Sun Dec 20, 2015 5:03 am

B
47
S
17
G
81
Posts: 2,221
Reputation: 48,089


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests