me @serene ingot and @cursive ether made an extension called Timestamp manager
it helps you create points in time and refrence or compare the time they were created
GO CHECK IT OUT
https://github.com/GDevelopApp/GDevelop-extensions/issues/1092
#NEW EXTENSION
43 messages · Page 1 of 1 (latest)
Lets go!!!!
This will make a very easy way to compare the time off and on the game for idle games!
Can this be cheated by changing the time/date on device configuration?
Nope
Then I'm in, working on a V-Pet. Now, if only there was a way to keep games playing on the background on Android, or building widgets. But your thing is surely a step ahead.
Yup
This is just that
It's very rare when someone posts an extensión that I actually need, thank you!
I'm testing it. It would be nice to have a built in condition that checks the timestamp value without needing to store it on a text, to do events like ' If timestamp value = 10, do something ' , in the context of my game the timestamp is gonna be the age of the creture, al lot of functions could be trigger jusst with the timestamp. other cool feature could be
being able to modify the timestamp with events,
Thx for feedback
I will add conditions in the near future
hi, i'm wondering if the timestamp is using the utc or the local time.
wdym?
I just figured out that this is a question that I should ask to the team. It's about the Time("timestamp") I want to know which of the two datetimes the system is using to get that timestamp, if it's the local then it's a bad practice cause it should be using the UTC.
We also have yday
Maybe its better to use that
But that also can be changed by changing the date
It must be connected to internet to not cause a problem
A lot of games that can run without internet especially the old games have this flaw
Ideas for changing it would be appreciated
I was looking for a call tonget the time from the internet and found two free APIs
But then did more reserch and learnt about the UTC
So maybe i should make that an option to change between online time tracking and local
maybe
you could have that connected to firebase maybe
we could have it check the time at firebase
and so aslong as the user sets up firbase config it should pull the realtime
Let me do some research tomorrow ill change it asap
From what chatGPT is telling me that the timestamp is actually the UTC
So gg
So no need for the Javascript block
Less gooo
That also means that the user can not mess with this clock
Flawless Victory
Unless the do some hardcore mod tontheir hardware
No one does that on a gdev game
Yes, and also this clock is the one that runs when the device is turned off
So we reached new levels of technology 😂
I consider this a win 😎
Indeed
A new extension coming soon
What's that gonna be?