How do I get the time on how long the app was off?

Get help using Construct 2

Post » Wed May 20, 2015 7:41 pm

Hi,
Im trying to build a capitalism simulator and I'm trying to get the time on how long the app was off. After that, it should be able to give the player the credits that he should have earned in that time.
I really don't know how I can do these 2 things. :/
Can anyone help? :)
Thanks!! :D
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Wed May 20, 2015 10:15 pm

Take a look at my answer to this forum post:

viewtopic.php?f=147&t=126335&p=895222&hilit=current+time#p895222
B
40
S
12
G
11
Posts: 331
Reputation: 7,752

Post » Fri May 22, 2015 1:05 pm

@FragFather
Thanks for your help! :)
I tried rex elapsed time plugin now because the other things don't help to save time and get the time on how long my game was offline. But the plugin doesn't save the time and calculate the elapsed time after I turned it off. I want to make a game like AdventureCapitalist :) and I don't know how to give the player the money he earned in the time while he was offline. Do you know another way on how to do it? Or do you know how the plugins work?
Thanks!! :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 5 guests