GameSalad

Howdy, Stranger!

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

Can I Create This With GameSalad?

-A vertical health bar that degenerates health.
-Ways to increase the health bar such as tapping/touching/gliding.

Thanks




Comments

  • GappsoftGappsoft Posts: 22Member
    yes
  • tatiangtatiang Posts: 11,860Member, Sous Chef, PRO, Senior Sous-Chef
    @beckb Google health bar gamesalad and you'll find lots of help with creating health bars.

    To allow the player to increase the bar, you'd need to constrain its height to an attribute (e.g. game.health) plus an additional attribute (e.g. game.playerAdded).

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • beckbbeckb Posts: 16Member
    tatiang said:

    @beckb Google health bar gamesalad and you'll find lots of help with creating health bars.

    To allow the player to increase the bar, you'd need to constrain its height to an attribute (e.g. game.health) plus an additional attribute (e.g. game.playerAdded).

    My jaw dropped @ how easy that looked. Thank you.

    Is it also possible for the health bar to not necessarily be a "bar" but a graphic/sprite that changes appearance upon increasing or decreasing health? Like a balloon that starts off big but gets gradually smaller the more you shoot at it.
  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef
    its possible as long as your artwork can handle the shrinking and stretching without looking like crap

    It's not my fault I never learned to take responsibility for anything. ;)

  • TheGabfatherTheGabfather Posts: 633Member
    edited March 2013
    If you want it to change appearance completely and not just shrink/expand, sure you can make a separate image for each "phase" :) should be a safe move if you're only talking about a health bar of considerable size and only a few variants (ie the usual, Green->Yellow->Orange->Red).

    Just change the image every so often (at 100% of max health, 75%, etc).

    0011 0010 0011 0010 0010 0000 0110 1101 0010 0000 0111 0011 0110 1001 0110 1110 0110 0111 0110 1100 0110 0101

This discussion has been closed.