behroz-khan Registered User |
Quote
|
2018-08-27 18:09:26 |
|
I want to create an upgrade system. So when we click the update button a timer will start ticking. So the problem here is that when we close or change the scene the timer will stop and the upgrade will not take place...
Can it be done without scripting??? If no please give me the script.
Any help will be appreciated
|
behroz-khan Registered User |
Quote
|
2018-08-28 15:35:38 |
|
No answer...
|
just_in_case Moderator |
Quote
|
2018-08-28 18:18:12 |
|
Use save and load variable action... When changing scene... This may not work after closing the game completely...
Before changing the scene save your time as variable and after loading the another scene simply... Load the tine variable and use it to start ticking again...
|
behroz-khan Registered User |
Quote
|
2018-08-29 22:10:04 |
|
That wouldn't be ideal because when the game is closed, no timer running.
|
just_in_case Moderator |
Quote
|
2018-08-30 09:09:08 |
|
if you are using the real world clock then only it can be possible but if you want to use your own timer then sorry it is not possible to do this with current version of coppercube.
|
behroz-khan Registered User |
Quote
|
2018-08-30 11:25:23 |
|
Oh! Thanks for the answer.
|