Let’s say in theory you wanted to make a feature that refreshes every 24 hours at a certain time, like Monster Train, what would people do to ensure an automatic time update? AFAIK GDevelop doesn’t have any global time functions?
I’m just brainstorming for future projects.
1 Like
dosent the leaderboard automaticly refresh every few seconds?
What I mean is like, I would want it to refresh at 12AM every day and remove all data
The data is less important. What I’m asking is if there is a way for the game to pull time off the web and reset itself universally for all players
1 Like
ohh that makes more sense, but wont the different time zones get mixed up?
1 Like
Usually, games use a set time zone, such as EST for the leaderboard. So yes, it might reset part way through the day for some people, but that way the leaderboard won’t break.
1 Like
true, i never thought this through lol.
1 Like
There’s an action in Gdevelop to stop the earth rotating EarthTimescaleSetTo
Which might help here!
2 Likes