ZeroX4
April 13, 2025, 6:55am
3
What you ask for is not unified
And is different from game to game
That is why you have very slim chances to get exact answer to your question
And when you say please don’t paste some 4 years old blog or wiki
You cut yourself from getting any answer at all
So how about this for answer?
TimeStamp Extension to Calcuate Time When Game is Closed
opened 07:00PM - 17 Nov 23 UTC
closed 07:04PM - 17 Nov 23 UTC
✨ New extension
### Description
Calculation of the time passed (in and out of the game).
By … LazyPanda(Mahan-ashrafi)
### How to use the extension
for calculating the time between 2 points in time.
no matter the game/app is open or closed , if you have a timestamp saved when the game/app is open it will keep track of the time passed
### Checklist
- [X] I've followed all of [the best practices](http://wiki.compilgames.net/doku.php/gdevelop5/extensions/best-practices).
- [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
- [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.
### What tier of review do you aim for your extension?
Reviewed
### Example file
[ExampleProject.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/14731017/ExampleProject.zip)
### Extension file
[OfflineTimeTrackerExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/14731020/OfflineTimeTrackerExtension.zip)
Offline Rewards
Basically i wanna implement offline rewards into my game, lets say the player went away for a day or 30 min they receive when they are back. Like if they went away for a day they get 50 coins and for 30min 15 coins.