#NEW EXTENSION

43 messages · Page 1 of 1 (latest)

serene ingot
#

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

GitHub

Description Calculation of the time passed (in and out of the game). By LazyPanda(Mahan-ashrafi) and Luckythespacecat How to use the extension for calculating the time between 2 points in time. no ...

cursive ether
#

Lets go!!!!

#

This will make a very easy way to compare the time off and on the game for idle games!

sonic ibex
#

Can this be cheated by changing the time/date on device configuration?

sonic ibex
# serene ingot 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.

sonic ibex
#

It's very rare when someone posts an extensión that I actually need, thank you!

sonic ibex
#

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,

serene ingot
sonic ibex
#

hi, i'm wondering if the timestamp is using the utc or the local time.

sonic ibex
#

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.

serene ingot
#

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

sonic ibex
#

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

serene ingot
#

So maybe i should make that an option to change between online time tracking and local

cursive ether
#

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

serene ingot
#

Let me do some research tomorrow ill change it asap

sonic ibex
#

From what chatGPT is telling me that the timestamp is actually the UTC

sonic ibex
#

So no need for the Javascript block

serene ingot
#

Less gooo

sonic ibex
#

That also means that the user can not mess with this clock

serene ingot
sonic ibex
#

Unless the do some hardcore mod tontheir hardware

serene ingot
sonic ibex
#

Yes, and also this clock is the one that runs when the device is turned off

serene ingot
#

So we reached new levels of technology 😂

sonic ibex
#

Lol

#

Seems like I was making a fuzz for nothing

cursive ether
#

I consider this a win 😎

sonic ibex
#

Indeed

serene ingot
#

A new extension coming soon

sonic ibex
#

What's that gonna be?