Skip to content

FlxBitmapText and FlxBitmapFont have issues with certain formatting variables. #3383

@glintfishGH

Description

@glintfishGH

I've been writing a dialogue system for a game, and I realized that FlxBitmapText and FlxBitmapFont are very finicky.

Variables like charAdvance are just completely wrong, returning the same value for each character (in my case, it was 16). Changing the advance for any character also seems impossible, as changing any value in charAdvance doesn't change the actual advance of the character.
spaceWidth also never seems to do anything when set by the user, since BMText sets it to some other value.

Adding custom characters in code is also a pain, it's undocumented and not very clear. This means that not only can you just not change the advance, you also can't add characters that do what you want them to without loads of experimentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions