Health Bar

Discussion in 'How Can I...?' started by Deliverbo, May 31, 2016.

?

Are you havin fun making a game with Buildbox?

  1. Definitely. Can't wait to show everyone my new game :)

    46.7%
  2. It's fun but bugs & crashes are kinda frustating

    46.7%
  3. I was simply surfing the Information Super Highway and don't know how I got here

    6.7%
  1. Deliverbo

    Deliverbo Avid Boxer

    Joined:
    Dec 2, 2015
    Messages:
    220
    Likes Received:
    69
    Hi everyone.
    Is there a way to display a health bar for our character?

    Thanks
     
  2. Deliverbo

    Deliverbo Avid Boxer

    Joined:
    Dec 2, 2015
    Messages:
    220
    Likes Received:
    69
    ...or how many lives are left?
     
  3. telerebor

    telerebor Avid Boxer

    Joined:
    Jan 12, 2016
    Messages:
    279
    Likes Received:
    145
    Not directly. But you can add an 3 images (green bar on top of yellow bar, on top of red bar) that have a transparent bottom, and also linked to and are bigger than the character. That way when the character is "hit" it is actually the green/yellow/red bar that gets hit.
     
  4. Deliverbo

    Deliverbo Avid Boxer

    Joined:
    Dec 2, 2015
    Messages:
    220
    Likes Received:
    69
    Ty for your response
     
  5. mintymint

    mintymint Boxer

    Joined:
    Oct 8, 2015
    Messages:
    17
    Likes Received:
    8
    Hi,

    I tried the above technique and it's working fine, but the linking was done in the game world where main character linked to the object (the health bar image).

    But since I have multiple characters, and not all characters need to have the health bar, is it possible to apply the technique above specifically to some characters in the game only? for example, from default animation of the character.

    I have tried that but doesn't work. Anyone have an idea?

    Thanks & Best Regards,
    mintymint
     
    Deliverbo likes this.
  6. telerebor

    telerebor Avid Boxer

    Joined:
    Jan 12, 2016
    Messages:
    279
    Likes Received:
    145
    Hmm i'll look more into it this weekend.
     
  7. mintymint

    mintymint Boxer

    Joined:
    Oct 8, 2015
    Messages:
    17
    Likes Received:
    8
    Thanks telerebor!

    Edit:
    @telerebor, I manage to achieve this also by applying Advanced Move to specific character.
    Basically, I add invisible enemy behind the character, and for specific character which doesn't require health bar, I move it backwards to hit that invisible enemy to eliminate the health bar.

    Thanks for you reply :)
     
    Last edited: Jun 10, 2016

Share This Page