Good morning, afternoon or evening developers!
I have a problem, and it is the only thing I need to finish my game.
For the user to be able to play, it must have energy.
When the user is in the level selection menu, the int is obtained from the database.
If the user plays an scene, he loses energy.
and the change is stored in the bd, to be obtained in the future
I want to do a function that adds energy every 5 minutes.
Previously I did this, but now it doesn’t seem so professional because can be corrupted by advancing the device time
and that’s why I am looking for an option in which it is done with a server, any idea how to start?
It is the only thing I need to enter beta after a year and a half, help me please