Is there something wrong?

Get help using Construct 2

Post » Tue Apr 07, 2015 1:20 am

:) glad to help
B
6
S
2
G
1
Posts: 31
Reputation: 1,095

Post » Tue Apr 07, 2015 5:22 pm

heromedel wrote::) glad to help


How do I stop them when I click on an object?
B
5
Posts: 31
Reputation: 295

Post » Thu Apr 16, 2015 11:06 pm

kaleu50 wrote: How do I stop them when I click on an object?


I'm a little tired right now so sorry if this answer is wrong, also sorry for replying late.

Do you want them to stay popped up or not pop back up. I'll assume stay down.

I think you would need a local variable like onHit and set it to zero or false to begin with.

So it could be like: Every random(0,1) seconds
onHit = false set visible

now when you hit the mole set onHit to True and it shouldn't pop up anymore. Then you could also play like an animation or sound effect or explosion to mark that you got a hit and set the moles invisible and it should stop popping up.


Edit: Another possibly easier option would be to just destroy the mole.

On hit mole destroy
B
6
S
2
G
1
Posts: 31
Reputation: 1,095

Previous

Return to How do I....?

Who is online

Users browsing this forum: adventurist, Blendi1223, dop2000, PROxMTswatTR, ST314, Yahoo [Bot] and 25 guests