Timer possible?
nachtmahr
11 Jul 2015, 16:20Hello!
I'm a total newbee when it comes to creating text adventures, but Squiffy really looks like a simple option for people who don't have much of a clue when it comes to programming![Smile :)](/phpbb-smilies/icon_smile.gif)
What I would like to know though: Is it somehow possible to include a timer in Squiffy that triggers a certain event after a certain amount of time (minutes, not counting clicks)? That means that the player cannot do anything until this timer goes off and shows the next text passage.
Thanks in advance for your help!
nachtmahr
I'm a total newbee when it comes to creating text adventures, but Squiffy really looks like a simple option for people who don't have much of a clue when it comes to programming
![Smile :)](/phpbb-smilies/icon_smile.gif)
What I would like to know though: Is it somehow possible to include a timer in Squiffy that triggers a certain event after a certain amount of time (minutes, not counting clicks)? That means that the player cannot do anything until this timer goes off and shows the next text passage.
Thanks in advance for your help!
nachtmahr
Alex
12 Jul 2015, 11:54There's nothing built in. You could write some JavaScript to do it, though it's not straightforward as you would want the timer code to still work if the browser tab was closed and the game was reloaded later.
I'm not particularly inclined to add it as a feature as I don't think timers work well for IF. People read at different speeds. Quest has had timers for ages and I'm not sure I've really seen a good use for them. If you want something to happen after a certain amount of "time", I suggest using turn counting
I'm not particularly inclined to add it as a feature as I don't think timers work well for IF. People read at different speeds. Quest has had timers for ages and I'm not sure I've really seen a good use for them. If you want something to happen after a certain amount of "time", I suggest using turn counting