Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
How do i convert a string like 4:00 into time like 240 secs and back.
I'm trying to set a par time for the a course and delete the total time spent completing the course and then displaying the difference.
depends on whether you have always the same format or if your system has to work with different formats
if its always mm:ss, you could for example just calculate
int(tokenat("4:00", 0, ":"))*60+int(tokenat("4:00", 1, ":"))
Develop games in your browser. Powerful, performant & highly capable.
Sry for the late responce I figured it out another way and for got about the post.
thx again though.