1
$\begingroup$

I am a student from Malaysia studying animation. This is my final year and I decided to make a 3D game using blender. In my game, I want the object in the BGE to end after taking two or more hits. Because it's too easy to make it die after taking one hit, is there any way to solve this ?

$\endgroup$
  • 3
    $\begingroup$ Please you add more information of what you did already and a screenshot, so people can help you. $\endgroup$ – Denis Jul 12 '17 at 5:05
  • 3
    $\begingroup$ The question title should be much more specific. Such generic questions are not helpful. Please rephrase the question $\endgroup$ – Monster Jul 12 '17 at 5:35
  • $\begingroup$ I am a Malaysian too.Where did you study? $\endgroup$ – mr car Mar 2 at 1:57
1
$\begingroup$

Make a new Game Property called lives. Use a collision sensor set to tap, and make a new Property actuator, set mode to add, property to lives, and value to -1. Then add a Property sensor, set property to lives, and value to 0. Connect it to an Edit_Object, end_Object actuator. Set lives to however many lives you want. Hopes this helps

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.