I'm trying to get a tiling health bar to increase its number of tiles after increasing the Player's max health.
For instance, if the Player's max health is 5, I can have the heart tiles set so they make 5 hearts without a problem. But if the player finds a heart container (or something else to increase max health), I can't seem to make the health bar create another heart tile - it just scales the 5 hearts into six parts, which is utterly useless.
Does anyone have an elegant solution to make the health meter increase when the maximum health increases? I feel like I'm missing something that should work very easily... :/
Page 1 of 1
Tiling Health Bar Help with increasing the number of health tiles
#2
Posted 22 December 2010 - 07:52 AM
Just a quick bump for an update.
I still can't make a horizontal meter add more tiles, but I have a functional work-around for making increasing health meters using menu items and gadgets. It's a bit complicated/time-consuming, but it works (so far).
I'll post the method here if anyone is interested.
I still can't make a horizontal meter add more tiles, but I have a functional work-around for making increasing health meters using menu items and gadgets. It's a bit complicated/time-consuming, but it works (so far).
I'll post the method here if anyone is interested.
#3
Posted 25 December 2010 - 04:57 AM
Crayon, figure it out.
You will do the maximum life in the bar, I said the maximum life, that what your player will have when earned all the possible hearths. BUT, in the bar, input the starting health (not the maximum max).
After it, just use the gadget player actions to limit this maximum life, check variables anytime in contact with refills and don't let the gadget earn health when he don't free certain variable.
Check Poponta High Resolution game, there have some sample of this system, and I did a game a time ago with this feature too, you don't need to do 10.000 poses to check the actual health and the future health, just the the + and >, so you can make a system auto incrementing the variables in contact with the hearth gadget =P
You will do the maximum life in the bar, I said the maximum life, that what your player will have when earned all the possible hearths. BUT, in the bar, input the starting health (not the maximum max).
After it, just use the gadget player actions to limit this maximum life, check variables anytime in contact with refills and don't let the gadget earn health when he don't free certain variable.
Check Poponta High Resolution game, there have some sample of this system, and I did a game a time ago with this feature too, you don't need to do 10.000 poses to check the actual health and the future health, just the the + and >, so you can make a system auto incrementing the variables in contact with the hearth gadget =P
- ← Previous Topic
- IG Maker
- Next Topic →
Share this topic:
Page 1 of 1