Hello Chris! I just purchased your roguelike and I seems to have a bug with hit points damage. I also noticed that I don't get the updated version. Do I have to re-purchase to get it? Maybe, cuz, of the work. Or am I entitled to the lastest version or up coming versions??? I loved you hand drawn animated sprites you posted. I would like to talk to you about future goals if you got the time? Thanks Love your poroggie just the same!
Viewing post in Questions & support
You'll need to call the renderStats() function whenever you want to update the stats displayed in the stats box at the bottom of the game screen. The template has a line under "Player" section that calls the renderStats(); function when a coin is moved on by the player character. To update the hitpoint stat during combat you'll need to add renderStats(); somewhere in your "Combat" section, like after an attack. You can also add it near the end of the "Player" section when the player moves to update every time the player takes a step.