[Solved] How do I show the play time of user?

Get help using Construct 2

Post » Sun Jun 14, 2015 11:18 pm

I'm using the TimeManager plugin, and i want to know how made this referred system with TimeManager plugin or other resource. Please, anyone help me for working in my game today.
Last edited by DaniellMesquito on Tue Jun 23, 2015 8:49 am, edited 1 time in total.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Mon Jun 15, 2015 4:30 am

Set:
Save every x seconds, x to Storage totalTime.

Edit: Save every x seconds, totalTime + x to Storage totalTime. (missed)

Get:
hours <- int( totalTime / 3600 )
minutes <- int( ( totalTime % 3600 ) / 60 )
seconds <- int( totalTime % 3600 % 60 )

Primitive but effective.
Last edited by deathangel1479 on Mon Jun 15, 2015 6:43 am, edited 3 times in total.
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
10
S
4
G
1
Posts: 158
Reputation: 1,303

Post » Mon Jun 15, 2015 6:36 am

Is using TimeManager or System plugin? Thank you very much for the idea.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Mon Jun 15, 2015 6:38 am

Web/LocalStorage and System.

May be there are other possibilities.
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
10
S
4
G
1
Posts: 158
Reputation: 1,303

Post » Mon Jun 15, 2015 6:48 am

I'll give credit for you in my game. Thank you very much!
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Mon Jun 15, 2015 6:49 am

No need, not for that. :lol:
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
10
S
4
G
1
Posts: 158
Reputation: 1,303

Post » Tue Jun 16, 2015 2:46 am

deathangel1479 wrote:No need, not for that. :lol:

Sorry, but i can't understand your code language. In details, which conditions and actions and his values i'll need do?
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Tue Jun 16, 2015 2:52 am

deathangel1479 wrote:Set:
Save every x seconds, x to Storage totalTime.

Edit: Save every x seconds, totalTime + x to Storage totalTime. (missed)

Get:
hours <- int( totalTime / 3600 )
minutes <- int( ( totalTime % 3600 ) / 60 )
seconds <- int( totalTime % 3600 % 60 )

Primitive but effective.

deathangel1479 wrote:No need, not for that. :lol:

Sorry, but i can't understand your code language. In details, which conditions and actions and his values i'll need do?
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Tue Jun 16, 2015 2:58 am

I can't understand these simbols you've choosen.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Tue Jun 16, 2015 3:31 am

That were just indications.
I know, you want complete projects...

https://dl.dropboxusercontent.com/u/95601836/totaltime.capx
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
10
S
4
G
1
Posts: 158
Reputation: 1,303

Next

Return to How do I....?

Who is online

Users browsing this forum: wizdigitech, Zamargo and 13 guests