Need 3 Life System (hack)

Discussion in 'How Can I...?' started by Arsmen Studio, Oct 10, 2016.

  1. Arsmen Studio

    Arsmen Studio Avid Boxer

    Joined:
    Dec 6, 2015
    Messages:
    454
    Likes Received:
    170
    We actually need to know how to do a life system where the player have 3 lifes , once he touch the enemy 3 time he die. HOW CAN WE DO THIS? thank you very much!
    -Already done the part when he touch enemies die but how do we put the life object ( 3 hearts that when he touch an enemy they get of).
     
  2. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    Character->Add component->health
     
    Arsmen Studio likes this.
  3. Arsmen Studio

    Arsmen Studio Avid Boxer

    Joined:
    Dec 6, 2015
    Messages:
    454
    Likes Received:
    170
    @blad300 Already done that part. Now how do we put there the health bar? I saw so many tutorials but none! Need to know this from someone who already done this.
    -Thanks for replying. :D
     
  4. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
  5. Arsmen Studio

    Arsmen Studio Avid Boxer

    Joined:
    Dec 6, 2015
    Messages:
    454
    Likes Received:
    170
    @Christoph already tried... Bad. We need something like 3 lifes. but thanks anyway.
     
  6. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Just change it to 3 instead of 9. And the bars change them to hearts. It's the same principle and works perfectly fine.
     
    Arsmen Studio likes this.
  7. Arsmen Studio

    Arsmen Studio Avid Boxer

    Joined:
    Dec 6, 2015
    Messages:
    454
    Likes Received:
    170
    @Christoph thank you!
    we need 3 hearts icon not bars.. Thanks anyway!
     
    Last edited: Oct 10, 2016
  8. carlosabreu1981

    carlosabreu1981 Boxer

    Joined:
    Jan 13, 2016
    Messages:
    92
    Likes Received:
    38
    Everything explained in that post, please read, if you need a professional hand, let me know,
    Regards,

    Carlos Abreu.
     

Share This Page