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
19
S
5
G
1
Posts: 96
Reputation: 2,710

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
71
S
21
G
230
Posts: 3,688
Reputation: 128,847

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: Rhindon and 22 guests