View topic - Time in Seconds?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Time in Seconds?
PostPosted: 29 Jun 2011, 10:44 

Joined: 10 Feb 2011, 03:00
Hey!

Anyone know how I can the game time in seconds?

Say if it is 10minutes it will display 600 seconds?

I know os.date can give time in Hours:Mins:Seconds, however looking for all in seconds.

Thanks!


Top
 Offline Profile  
 
 Post subject: Re: Time in Seconds?
PostPosted: 29 Jun 2011, 10:57 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
1 second of gametime = 30 game frames iirc

assuming that there is no lag: gametime == realtime


Top
 Offline Profile  
 
 Post subject: Re: Time in Seconds?
PostPosted: 29 Jun 2011, 11:50 
User avatar

Joined: 07 Dec 2008, 02:35
Spring.GetGameSeconds


Top
 Offline Profile  
 
 Post subject: Re: Time in Seconds?
PostPosted: 01 Jul 2011, 12:57 

Joined: 10 Feb 2011, 03:00
Thanks lots!


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.