playMaker

Author Topic: health bar  (Read 2475 times)

iidan99

  • Playmaker Newbie
  • *
  • Posts: 3
health bar
« on: May 04, 2014, 06:59:35 PM »
hi how are you ?
i am try yo make health bar but i don't know how to shrink the color with the health , pleas help me , thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: health bar
« Reply #1 on: May 07, 2014, 08:44:58 AM »

iidan99

  • Playmaker Newbie
  • *
  • Posts: 3
Re: health bar
« Reply #2 on: May 07, 2014, 07:42:12 PM »
thanks but i don't know how to make texture health bar from the begin
if you know and you can show me i will like that .
thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: health bar
« Reply #3 on: May 09, 2014, 02:56:57 AM »
Hi,

 what UI system are you using? Unity, ngui dfgui else?

bye,

 Jean

dottim

  • Playmaker Newbie
  • *
  • Posts: 7
  • lost in space
    • The Quantum Principle
Re: health bar
« Reply #4 on: May 10, 2014, 10:48:02 AM »
maybe this is useful for you (it's a gui healthbar):
https://www.assetstore.unity3d.com/#/content/7776

just use the set property action on the current amount (your health int) input box and max amount (your maxhealth int) input box and it works right out of the box, graphics are included too (and easily altered), it integrates really easily with playmaker, I've used it and it's super easy and handy