Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Health bars

I'm making a survival story and I need a way to make a health, water and food bar. This is my first time using twine so the simpler the better please. Thank you :)

Comments

  • edited May 2015
    The absolute simplest way is to make each as an image file with different variants representing different states and to determine which variant of each shows using "if" statements.

    Like if $health is 1, show image of bar with only one health notch remaining, if $health is 5, show image of bar with 5 health notches etc.

    You might also want to look into using the SugarCube storyformat for its UI StoryCaption area as a good place to show them.

    An even simpler alternative would be to make each "bar" out of different symbols, like how in a html page you can display heart symbols. So set them to a larger font size and display 5 hearts or something.
  • That’s the way I’d do it.
Sign In or Register to comment.