snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.59k stars 291 forks source link

[Feature] Timer System WIP #1045

Open CG-Tespy opened 2 years ago

CG-Tespy commented 2 years ago

Description

This adds an easy-to-use Timer system to Fungus

Why would Fungus need this?

It's pretty common to set time limits in games or check how long things took. It's even more common to track the player's playtime, yet as all official releases of Fungus (at the time of this writing) lack that, that forces devs to look to other things to implement those features.

With this, we save devs the trouble. Plus, the new save system really needs this one; it has to be able to show playtime in the UI, after all. Heck, that's the reason I even went through all this effort xD

Important Notes

Other information

While I think the system is production-ready as-is, I would very much like to get feedback on it before it gets approved for an official release.

CG-Tespy commented 2 years ago

I think things are looking pretty good now ^^ Thoughts, @chrisgregan and @stevehalliwell ?