How do I configure my bitmap healthbar?

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

I’m trying to change the “Resource Bar (continuous)” extension to use a bitmap font instead of the original text label.

The end result should be a fully functional bitmap adaptation that’s properly formatted and centered

However, because I have virtually zero experience in GDevelop’s extensions/function field, the text is off center and it scales weirdly, and the center of the healthbar is not at its center either.

I’ve only just figured out how to actually get my custom bitmap font working, and I’ve only been able to do some basic centering for the bitmap itself.


I’m not sure if its because of how the code is set up or if its because of the way the object sprites are set up, but when I try to scale the height below 12 pixels then the sprites themselves are shrunk

It’ll be hard for people to answer if you don’t ask any question :sweat_smile:

My bad, how do i get my healthbar centered properly to a point on an object (I found a fix to the scaling problem)