How can I make a flashing circle?
			4 posts			 • Page 1 of 1		
	
How can I make a flashing circle?
I want to spawn a circle that you can see for a very short time and after that short moment it disappears.
I spawned a circle with density := 0 but then it gets deleted too fast and you can't see the circle. so is there a method to let it flash up a moment before it disappears?
			I spawned a circle with density := 0 but then it gets deleted too fast and you can't see the circle. so is there a method to let it flash up a moment before it disappears?

- 
				 
 KarateBrot
- Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: How can I make a flashing circle?
After a quick search on the phunb... doob... algobox I found this
A search... that was all that was needed
			A search... that was all that was needed

 <-- Made with GIMP
<-- Made with GIMP- 
				 
 blahblah200
- Posts: 61
- Joined: Tue Sep 01, 2009 11:33 am
- Location: Somewhere over the rainbow...
Re: How can I make a flashing circle?
KarateBrot wrote:I want to spawn a circle that you can see for a very short time and after that short moment it disappears.
I spawned a circle with density := 0 but then it gets deleted too fast and you can't see the circle. so is there a method to let it flash up a moment before it disappears?
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: How can I make a flashing circle?
i know of your fading circles scene but a problem is that it doesn't work anymore if there is more than 1 circle because of a weird bug.
[edit]
ok i solved the problem. it was caused because i used OnHitByLaser to spawn the circle. with OnHitByLaser and OnLaserHit the circle gets deleted too fast. with onCollide it lasts 1 simulation step before it gets deleted. that was the problem.
			[edit]
ok i solved the problem. it was caused because i used OnHitByLaser to spawn the circle. with OnHitByLaser and OnLaserHit the circle gets deleted too fast. with onCollide it lasts 1 simulation step before it gets deleted. that was the problem.

- 
				 
 KarateBrot
- Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
			4 posts			 • Page 1 of 1		
	Who is online
Users browsing this forum: No registered users and 10 guests


 
			

 
			


