how do I when the player press 5 times on an object he destroy?
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.
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?
Can you please provide a Capx of your problem?
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
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.
Develop games in your browser. Powerful, performant & highly capable.
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.
I did, but now I can not make the bomb speak when touched,
prntscr.com/a5qp14
What are you tring to achieve by using that event? And btw, are you using Google Translate?
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.
I set up a basic system for you, hope this will be useful:
https://dl.dropboxusercontent.com/u/166 ... teste.capx