Android has https://developer.android.com/reference ... dRealtime(), which returns the time since boot for the device, including idle time. Is there a way to utilize this through Construct? I'm guessing there is a similar feature for ios but accessed differently, and I'm not sure if desktop/html5 has any equivalent?
This is used for the purpose of keeping track of idle time while offline, and preventing system clock changing shenanigans.
Whats wrong with using epoch time?
Develop games in your browser. Powerful, performant & highly capable.
I'm currently using that, but it is subject to the user changing the system clock.
Workaround is to use multiplayer plugin to connect to a time server, but that only works when online.