Hello! I was doing a scheme where when I press T key the character spend Energy til 0 (decrease), after this reload energy with the same logic, but increasing value til 100. But have problem. The energy reaches 0 but dont increase after this, even check its value.
I’m going to assume your are a Spanish talker because the spanish words in your link, if you aren’t ignore the next lines (i’m telling you i can explain it to you in spanish too). By the way, the link is dead.
Si hablas español puedo explicartelo en español si quieres. Re-sube el enlace, este que has puesto no va.
Then it should be fine. Now i must know if you managed to bind the bar percent value to this function. ( it’s where i highlighted on the img I uploaded earlier.)
Well, this is a little complex to explain / figure out
This is my theorycraft:
you would do an horizontal box in which you add as child the hearts (custom widgets, so they can handle being quarted, halved or blanked out), and then when taking dmg you will remove them or blank them out ( like in zelda, i really hated when my hp got tooo low hehe) …
I may dig it later tomorrow, and try to recreate it myself. If I do so i’ll tell you.