# Using fonts from game assets

**URL:** <https://phaser.discourse.group/t/using-fonts-from-game-assets/14945>\
**Category:** Phaser 3\
**Created:** [November 19, 2024, 1:56pm UTC](https://phaser.discourse.group/t/using-fonts-from-game-assets/14945 "2024-11-19T13:56:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grecotan12](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/grecotan12/32/8659_2.png) [@grecotan12](https://phaser.discourse.group/u/grecotan12)\
**Post date:** [November 19, 2024, 1:56pm UTC](https://phaser.discourse.group/t/using-fonts-from-game-assets/14945/1 "2024-11-19T13:56:55Z")

</div>

Hello, everyone. I am very new to Phaser. I studied through Codecademy to learn how to make games using Phaser.  
Currently, I am making a game called Pixel Adventure. This is a platformer game. I am trying to use the fonts from the game assets to make a welcome scene. Do you guys know if Phaser has this feature?

 ![image](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/9/93abe8a1d5fdfb27840eb02d7bc81c62d3c3e061.png)  
This is the font asset.

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [November 19, 2024, 3:56pm UTC](https://phaser.discourse.group/t/using-fonts-from-game-assets/14945/2 "2024-11-19T15:56:20Z")

</div>

👋

See the [retro-text-1 example](https://phaser.io/examples/v3.85.0/game-objects/bitmaptext/retro-font/view/retro-text-1).

You’ll have to figure out the character dimensions, but something like

```js
this.cache.bitmapFont.add(
  'adventureFont',
  Phaser.GameObjects.RetroFont.Parse(this, {
    image: 'adventureFont',
    width: 32,
    height: 32,
    chars: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789.,:?!()+- ',
    charsPerRow: 10,
    spacing: { x: 0, y: 0 }
  })
);

```
