Hi, I really would like to understand how I could create some simple counter.
What I want to do is show the user a countdown from e.g. 5 minutes.
You might know such a thing from CoC or other games. It shows how long until
a unite is produces, gems earned or such kind of things.
How could I start with this? maybe setup an external database
and write the time into a db-field? But I would have to check and query the database again and again
to display the remaining time?
Or am I thinking too complicated??
The remaining time should be displayed above an object, just as a healthbar would.
But counting down the seconds until 0...
What I want to do is show the user a countdown from e.g. 5 minutes.
You might know such a thing from CoC or other games. It shows how long until
a unite is produces, gems earned or such kind of things.
How could I start with this? maybe setup an external database
and write the time into a db-field? But I would have to check and query the database again and again
to display the remaining time?
Or am I thinking too complicated??
The remaining time should be displayed above an object, just as a healthbar would.
But counting down the seconds until 0...