Skip to content

2D tutorial #98

@dogruis

Description

@dogruis

<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">

In this section

Creating a SpriteFont Description
To use text in your game, you first need to create a SpriteFont Description file and process it through the Content Pipeline, thankfully the MGCB Editor makes this process straightforward.

For example, in the MGCB Editor:

Right-click the content project node where the SpriteFont Description will be created and choose Add > New Item....
Select SpriteFont Description (.spritefont) from the options.
Specify a name for the SpriteFont Description file and click Create.
This will create a default SpriteFont Description file that look something like this:

You forgot to mention that when running the MGCB editor you want to create a fonts folder. And give clearer instructions.

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