Well,
Now that I fixed my last problem, I'm stumped on something new (surprise?)
Anyways, I'm wanting to take a number 40 for instance, and do math magic on it to get seconds and then convert the seconds to a minutes display of minutes:seconds remaining.
The only thing I could get was a readout like 13.6 after multiplying it, but after I get 13.6 I want to take the decimal and get seconds from that.
Any idea?
Sorry to be a pain
Converting Seconds to Minutes
Re: Converting Seconds to Minutes
What are you converting to seconds?
Re: Converting Seconds to Minutes
Something in the game ticks 40 times, 20 seconds apart. I'm wanting to make a conversion to countdown based on how many ticks are left.Denarii wrote:What are you converting to seconds?
Re: Converting Seconds to Minutes
When the ticking starts, do:
To get the remaining time:
On the final tick: