Skip to main content

Use Custom Fonts

  1. Create a fonts Folder
  • Inside your project directory, create a folder named fonts. This folder will contain all your game fonts.
  1. Put Fonts in the Folder

When you run your game, Turbo will automatically include any font assets in your project's fonts directory. In your code, you can refer to these fonts by their file stem (the filename minus the extension).

tip

Head over to Text to read about printing text in your game!