Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: mchammer on Mon 06/02/2006 18:33:01

Title: Is it possible to add time?
Post by: mchammer on Mon 06/02/2006 18:33:01
Is there anykind of ways to add time to your game?
For example some function which counts seconds...
Title: Re: Is it possible to add time?
Post by: DoorKnobHandle on Mon 06/02/2006 18:40:32
Please read the manual before posting. Not only does it save our time and bandwidth, it also saves your time because it's way faster to take a quick look at the manual and reading a paragraph than posting the question here, waiting for an answer and then reading it, trust me.

Your keyword is "Timer". Yeah, I know, impossible to guess. :=

Hit F1 to bring up the help and search for this.
Title: Re: Is it possible to add time?
Post by: Ashen on Mon 06/02/2006 18:45:07
Or, if you want to add a clock to the game and display time, rather than just counting down with the timer: Try a forum search. there're a couple of topics addressing this, some (including this one (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=22745.0), which is quite in-depth) in the Technical Archive.

And, while you're looking in the manual, you might also want to take a look at the DateTime functions and properties (http://www.adventuregamestudio.co.uk/manual/DateTime%20functions%20and%20properties.htm).