Skip to content

Tutorials - Building 2D Games, Chapter 16: Character Region Error #252

@EddyLuten

Description

@EddyLuten

Hi folks!

In the "Update the SpriteFont Description" section, there are only two regions highlighted, but the CharacterRegion.End element should also be highlighted, as by default, it's set to  .

Image

If this isn't updated to &126; as is shown in the tutorial, the game will crash since the character map only includes a single character after creating a new spritefont file.

I'm opening a PR to fix this issue.

Thanks for the great framework!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions