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?

beckbbeckb Member Posts: 16
-A vertical health bar that degenerates health.
-Ways to increase the health bar such as tapping/touching/gliding.

Thanks




Comments

  • GappsoftGappsoft Member Posts: 22
    yes
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,915
    @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 Member Posts: 16
    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 Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    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 Member Posts: 633
    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.