How do I make an object disappear and reappear?

Get help using Construct 2

Post » Tue Oct 24, 2017 9:59 am

Hi everyone!

I'm having a but of a brain fart right now. I've got a big laser beam that i want to only be active for 2 seconds, and then disappear for 2 seconds, reappear for 2 seconds, disappear for 2 secs, etc etc.

I'm having a bit of trouble with this and I would appreciate any help

Thanks :D
B
2
Posts: 5
Reputation: 160

Post » Tue Oct 24, 2017 10:12 am

+ System: Every 2 seconds

----+ laser: Is visible
-----> laser: Set Invisible

----+ System: Else
-----> laser: Set Visible
Mistakes were made.
B
56
S
28
G
115
Posts: 1,711
Reputation: 65,145

Post » Tue Oct 24, 2017 11:41 am

that did the trick, thanks!
B
2
Posts: 5
Reputation: 160

Post » Tue Oct 24, 2017 9:07 pm

i've got another question kinda relating to this, how do i make audio location based?

I want the player to only hear the sound of the laser beam when they're right by it, and not all the way at the start of the level.

thanks.
B
2
Posts: 5
Reputation: 160

Post » Tue Oct 24, 2017 10:22 pm

Use play at object, or play at position actions. This feature might have limited support depending on the browser.

You can also add an "object is on screen" condition to have it only play when the laser is visible.
Mistakes were made.
B
56
S
28
G
115
Posts: 1,711
Reputation: 65,145


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests