- Edited
Hello, I'm making an idle clicker game for cell phones, I have everything ready except the AFK production.
My idea is to take the current system time every 2 seconds automatically to have the information when the game closes, I also take the time when starting the game, comparing the last closing time with the current one (opening), subtract both to obtain the difference in seconds and thus multiply it by the production per second.
I've been using: Time.get_unix_time_from_system() for my tests, but I feel like it's wrong
How can I print the separate time?
example: 00:00:00 Hour, minute and seconds
And how do I get the system time and transform it into seconds?