I need a timer.
			5 posts			 • Page 1 of 1		
	
I need a timer.
Like something that starts when a certain key is pressed and stops when something hits it?
			
(/)(°,,,°)(/)
- 
				 
 pnvv
- Posts: 670
- Joined: Tue Aug 26, 2014 11:46 pm
- Location: Disunited States of America
Re: I need a timer.
Why you need it? From your description - you don't understand what timer is.
If you need to do some script after x seconds, just create geom with timeToLive =x and onDie=(x)=>{do some}
			If you need to do some script after x seconds, just create geom with timeToLive =x and onDie=(x)=>{do some}
Dream of Algodoo as game development engine...
		- 
				 
 Kilinich
- [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: I need a timer.
Kilinich wrote:Why you need it? From your description - you don't understand what timer is.
If you need to do some script after x seconds, just create geom with timeToLive =x and onDie=(x)=>{do some}
No, I need something that measures the time between two events. Like the timer in your drag race scene.

(/)(°,,,°)(/)
- 
				 
 pnvv
- Posts: 670
- Joined: Tue Aug 26, 2014 11:46 pm
- Location: Disunited States of America
Re: I need a timer.
pnvv wrote:Kilinich wrote:Why you need it? From your description - you don't understand what timer is.
If you need to do some script after x seconds, just create geom with timeToLive =x and onDie=(x)=>{do some}
No, I need something that measures the time between two events. Like the timer in your drag race scene.
It's not a timer, its stopwatch. So why don't you look into my scene's code?
Dream of Algodoo as game development engine...
		- 
				 
 Kilinich
- [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: I need a timer.
Kilinich wrote:It's not a timer, its stopwatch. So why don't you look into my scene's code?
*facepalm*
Will do that...

(/)(°,,,°)(/)
- 
				 
 pnvv
- Posts: 670
- Joined: Tue Aug 26, 2014 11:46 pm
- Location: Disunited States of America
			5 posts			 • Page 1 of 1		
	Who is online
Users browsing this forum: No registered users and 5 guests




