destroy ?

Discussion and feedback on Construct 2

Post » Fri Feb 19, 2016 7:13 pm

how do I when the player press 5 times on an object he destroy?
B
4
Posts: 16
Reputation: 236

Post » Fri Feb 19, 2016 9:38 pm

Make an instance variable on the Enemy called "Destroy" or something and when the player taps or touches the Enemy then 1 is added to the Destroy Variable. Once the Destroy variable is 5, then the enemy will be destroyed.
Risk Rocket now available on Google Play
Image
B
35
S
15
G
6
Posts: 337
Reputation: 6,275

Post » Fri Feb 19, 2016 10:05 pm

I could do, but I wish it every tight in item he jumps up 5 time and destroy it, I'm hard to do you can help me?
B
4
Posts: 16
Reputation: 236

Post » Fri Feb 19, 2016 10:52 pm

Can you please provide a Capx of your problem?
Risk Rocket now available on Google Play
Image
B
35
S
15
G
6
Posts: 337
Reputation: 6,275

Post » Sat Feb 20, 2016 3:35 am

I want that when the player hit the bomb she skip, so the pump jump 5 times that destroys.
I do not know WHAT I doing wrong.


dropbox.com/s/1d8luawkkrbyk9e/teste.capx?dl=0
B
4
Posts: 16
Reputation: 236

Post » Sat Feb 20, 2016 9:07 am

@Jansen rosa In future I recommend posting this in the "How Do I?" section of the forums.
There you will get even more help and examples on how to make games with C2. ;)
ImageImageImageImage
B
56
S
20
G
76
Posts: 634
Reputation: 43,357

Post » Sat Feb 20, 2016 12:01 pm

Jansen rosa wrote:I want that when the player hit the bomb she skip, so the pump jump 5 times that destroys.
I do not know WHAT I doing wrong.

If I understood you correctly, the only thing you need to change is not setting the "Morte" variable to 0, but substracting 1 from it. Here's a picture.
B
127
S
33
G
17
Posts: 1,551
Reputation: 20,458

Post » Sat Feb 20, 2016 3:42 pm

Message: Jansen rosa can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I did, but now I can not make the bomb speak when touched,

http://prntscr.com/a5qp14
B
4
Posts: 16
Reputation: 236

Post » Sat Feb 20, 2016 7:47 pm

What are you tring to achieve by using that event? And btw, are you using Google Translate?
B
127
S
33
G
17
Posts: 1,551
Reputation: 20,458

Post » Sat Feb 20, 2016 8:33 pm

I'm using google translator. :(
how do I add jump to an object.
each time the object is touched want him to jump, but in any direction.
B
4
Posts: 16
Reputation: 236

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest