:p Welp, I shoulda mentioned that I'm not using half and quarter hearts... I wasn't planning on needing half hearts. I'd just prefer it slightly simpler. Each heart is a hit basically. I don't think any attacks would take more than 3 hearts.
Anyways, I need help rendering the hearts. I keep track of it using two variables: hp and maxhp, both set as global variables. Obviously collecting a heart container adds to maxhp by one. It's "simple". I need code that'll render the total amount of hearts, which hearts are empty, and it to render a new row every 10 hearts Thanks to anyone that helps!
Anyways, I need help rendering the hearts. I keep track of it using two variables: hp and maxhp, both set as global variables. Obviously collecting a heart container adds to maxhp by one. It's "simple". I need code that'll render the total amount of hearts, which hearts are empty, and it to render a new row every 10 hearts Thanks to anyone that helps!