Destroy Sprite after X time

Get help using Construct 2

Post » Wed Aug 22, 2012 10:55 pm

Hi
I searched about this in the forum, and I didnt find it.

I make that a sprite moves to other object and then I want that it disappear after 5 seconds.

Or simply: I want to count the "life" of an object after an event x

Can you help me?

B
3
Posts: 3
Reputation: 281

Post » Wed Aug 22, 2012 10:58 pm

You could use the "Wait" action, under System. The event would then be
(whatever you're having the sprite do)
Wait 5 seconds
Destroy sprite
B
18
S
5
G
1
Posts: 95
Reputation: 2,666

Post » Thu Aug 23, 2012 10:14 pm

It doesn't work
B
3
Posts: 3
Reputation: 281

Post » Thu Aug 23, 2012 10:18 pm

You could abuse the Fade behaviour. Set Wait time=5, Fade out time = 0.001.
ImageImageImage
B
67
S
19
G
122
Posts: 3,207
Reputation: 73,401

Post » Fri Aug 24, 2012 8:36 pm

Yes, I do that, but I thought that I shoud to do something more "elaborated"

Thanks
B
3
Posts: 3
Reputation: 281


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, anty21ro, Magistross, mallorcaredes, PavleNikolic, Yahoo [Bot] and 26 guests