> ## Documentation Index
> Fetch the complete documentation index at: https://help.lobyco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Images and fonts for a gameplay

> What to prepare before you design a gameplay, the size limits and recommended dimensions for its images, the Media library, and the fonts you can use.

This page helps you get the images and fonts for a gameplay ready before you build it in the Gameplay Editor. It covers what each page needs, how big each file can be, and which fonts you can use. [Edit a gameplay](https://help.lobyco.com/business-documentation/activities/games/design-a-game/edit-a-gameplay.md) explains how to open the editor.

## At a glance

| Topic | In short |
| - | - |
| [Prepare your designs](#prepare-your-designs) | Design each page of the game first, and export its images. |
| [File size limits](#file-size-limits) | 700 KB for a PNG or JPEG image, 1 MB for a GIF, and 3 MB for a font or an MP3 file. |
| [Recommended dimensions](#recommended-dimensions) | No image wider than 2560 px. A full-page background between 750 × 1334 px and 900 × 1800 px. |
| [Automatic downscaling and cropping](#automatic-downscaling-and-cropping) | Images that are too big shrink to fit. If an image's dimensions don't match the game, you crop it. |
| [Media library](#media-library) | Where your images and other files are kept, ready to use again. |
| [Fonts](#fonts) | Every Google font, and your own fonts once Lobyco adds them. |

## Prepare your designs

Before you start in the editor, design each page of the game in a design tool, such as Figma or Photoshop. Then export the images, so you have them ready when you build the pages. You can also use images that the game's sponsor or supplier gives you. Suppliers often have videos or GIFs that match the campaign, too.

| Page | What to prepare |
| - | - |
| Every page | A background colour, image or video. A header or a footer with your brand or the product, and a slogan if you like. Buttons, as images in your brand's font and style. |
| Preloader, which shows while the game loads | A logo of your brand or the product. |
| Intro | A picture of the prize. A video about the product or the campaign, shown with the [Video add-on](https://help.lobyco.com/business-documentation/activities/games/design-a-game/gameplay-add-ons-video-and-sound.md) rather than as a background. |
| Game rules, if the game has this page | A logo. |
| Game | The parts of the game you want in your own design, such as the wheel, the scratch area or the dice. A small picture of the prize. |
| Win | A large picture of the prize. |
| Lose | A medium-sized picture of the prize. |

![Six page designs for a Snickers game, side by side, in brown and yellow with Snickers branding and some text in Romanian. A preloader with only the Snickers logo. An intro with a peanut, the line Alunele satisfac plăcerea, and Play now and you can win a Snickers Clasic 50g, with a START GAME button. The game rules as a list, with an I'M READY button. The game page, Win when you get 3 bars, with three round symbols and a PLAY button. A win page, Congratulations, You won a bar of Snickers Clasic 50g, with ACCEPT PRIZE. A lose page showing Snickers Creamy, with Try your luck tomorrow with a new chance to win and EXIT GAME.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/gameplay-editor-50-example-page-designs.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=1d83dbe2c6d6ba0caef4ab4f79048e18)

*Designs for each page of a game, from the preloader to the lose page*

![Six page designs for a Nestlé Lion scratchcard game, in brown and yellow. A preloader with the Lion logo. An intro, Intense chocolate taste, with START GAME. The game rules, with I'M READY. The game page, 3x = winner, with a Lion bar marked Scratch here. A win page, Congratulations! You won! Lion Standard 42g, with ACCEPT PRIZE. A lose page, Next time…, with EXIT GAME.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/gameplay-editor-51-example-designs-scratchcard.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=e831f8c57a5efe8f9c81c7bdc5c717a9)

*Designs for a scratchcard game*

![Six page designs for a Nestlé KitKat rock paper scissors game, in red and white under the line Have a break, have a KitKat. A preloader with the KitKat logo. An intro with a KitKat bar and START GAME. A page offering a KitKat 4 Finger 41.5g, with I'M READY. The game page, Challenge on! Win the round and the KitKat bar is all yours!, with scissors, rock and paper hands, 0 wins and round 1. A win page, Congratulations! You just won a KitKat 4 Finger 41.5g, with ACCEPT PRIZE. A lose page, Recover your powers and try again tomorrow!, with EXIT GAME.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/gameplay-editor-52-example-designs-rock-paper-scissors.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=4270a40b703597624360a2b558ec712f)

*Designs for a rock paper scissors game*

## File size limits

Upload your images and other files to a folder in your [Media library](#media-library). Each file has a size limit, which depends on its type. The limit is for each file, not for all the files in a gameplay together.

| File type | Largest file |
| - | - |
| PNG, JPEG or JPG, TXT, DOC, ICO | 700 KB |
| GIF | 1 MB |
| TTF, WOFF, WOFF2 and EOT fonts, MP3 | 3 MB |
| SVG, PDF, XLSX or XLS | 5 MB |

To keep image files small, save them at 72 ppi. If a file is still too big, make it smaller with an image compression tool, such as [TinyPNG](https://tinypng.com/).

Videos aren't in the table. You link to a video on YouTube, on Vimeo or in your own content system. See [Gameplay add-ons, video and sound](https://help.lobyco.com/business-documentation/activities/games/design-a-game/gameplay-add-ons-video-and-sound.md).

## Recommended dimensions

No image can be more than 2560 px wide. The sizes below are a guide. When in doubt, make an image bigger. A big image can be cropped or scaled down, but an image that's too small looks grainy when it's scaled up.

### Backgrounds

There's no one perfect size for a background that fills the screen. How it shows depends on how much is on the page and on the customer's screen.

Phone screens fit more pixels into the same space than a computer screen does. So a background needs more pixels than the screen's size, or it looks blurry. For a background that covers the whole page on a phone, use an image of:

* at least 750 × 1334 px
* at most 900 × 1800 px

### Other images

| Image | Recommended size |
| - | - |
| Logo | 100 to 450 px wide. Usually a PNG. |
| Game graphics | Usually from 200 × 200 px to 600 × 600 px, depending on the game type. |
| Other images, on the game's pages or in sections above or below them | Usually from 200 × 200 px to 400 × 400 px. Wider for a banner across the full width of the page. |
| Preloader, which shows while the game loads | At most 200 × 200 px, so it loads fast. Usually a PNG. |

Each game type has its own sizes for its game graphics. Find them on [Luck game settings](https://help.lobyco.com/business-documentation/activities/games/types-of-games/luck-game-settings.md), [Skill game settings](https://help.lobyco.com/business-documentation/activities/games/types-of-games/skill-game-settings.md) and [Knowledge game settings](https://help.lobyco.com/business-documentation/activities/games/types-of-games/knowledge-game-settings.md).

## Automatic downscaling and cropping

PNG and JPEG images that are too big for the game scale down on their own. The smaller version is added to your [Media library](#media-library).

If an image's dimensions don't match what the game needs, the editor asks you to crop it to a size that fits. The crop tool shows the right size.

This only changes an image's dimensions in pixels. The [file size limits](#file-size-limits) stay the same, so most images still have to be 700 KB or less.

## Media library

The Media library keeps your images and other files, such as sounds, in one place. You can then use them again in other games.

In the Media library, you can:

* upload files, with **Upload file**
* create folders, with **Create folder**, and move and rename files
* search across all your folders
* crop or resize an image
* copy a file's path
* download or delete a file

Group your files in folders, such as by theme, project or game type, and name them the same way each time. They're then quicker to find and use again.

The images in Lobyco's templates aren't in your Media library. To change one, download it, change it and upload your own version. Or reuse its link as it is. The link is in **Image source**, on the **Content** tab of the image block that shows it.

> [!WARNING]
>
> Don't delete or move a file that another game uses, or that you might want to use again. To change it, make a copy and change the copy.

![An animation of the Media library dialog, open over the Gameplay Editor. Under Upload and create are the buttons Upload file and Create folder, with a Search across all folders field and a With selected files list to the right. It opens on Main folder, then on the folder CocaCola\_Template, which holds three files, CocaCola\_Background…, cola-removebg-previe… and PlayNowButton.png. Each file has a tick box and a row of icon buttons, and the pointer shows the tooltip Crop on one of them. Then cola is typed into the search, and the list narrows to the two files with cola in their name.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/gameplay-editor-53-media-library.gif?s=545f737cf99fe2b16fb3e289ab574762)

*The Media library, with a folder of files for one game*

## Fonts

### Google fonts

Every Google font is ready to use in the Gameplay Editor.

### Custom fonts

To use a font that isn't a Google font, send Lobyco its font files. Lobyco then adds the font to the Gameplay Editor for you.

* Send the files as TTF, WOFF, WOFF2 or SVG. If your font is in another format, convert it with a font converter, such as [Transfonter](https://transfonter.org/).
* Once it's added, it's in the **Font type** list, in the **Custom fonts** group. You pick it there when you build a page, and in the gameplay's layout settings. [Edit a gameplay](https://help.lobyco.com/business-documentation/activities/games/design-a-game/edit-a-gameplay.md) explains the layout settings.
* If you send several styles of one font, such as normal, bold and italic, the list shows the font only once. The editor uses the right style when you make text bold or italic.

![The Font style section of the Gameplay Editor, headed Define general sizing, colors etc. on the different elements of a campaign. For the element H1, the Font type list is open. Under Not selected is the group Custom fonts, outlined in red, followed by Gilroy, Studio6, 8BIT WONDER, LEMON MILK, gimlet-text, which is selected, Kirby No Kira Kizzu (BRK) and Roboto Condensed. Next to the list are Text size 40, Text color and Line height, and below is the element H2, with text size 32.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/gameplay-editor-54-custom-fonts-in-font-type.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=705dfcc2b2f9d3c687b82d08740d5db9)

*Custom fonts at the top of the Font type list*

## Related

* [Edit a gameplay](https://help.lobyco.com/business-documentation/activities/games/design-a-game/edit-a-gameplay.md) — open the Gameplay Editor, and find your way around its pages and layout settings.
* [Gameplay add-ons, video and sound](https://help.lobyco.com/business-documentation/activities/games/design-a-game/gameplay-add-ons-video-and-sound.md) — the add-ons for a page, and how to add video and sound.
* [Luck game settings](https://help.lobyco.com/business-documentation/activities/games/types-of-games/luck-game-settings.md), [Skill game settings](https://help.lobyco.com/business-documentation/activities/games/types-of-games/skill-game-settings.md) and [Knowledge game settings](https://help.lobyco.com/business-documentation/activities/games/types-of-games/knowledge-game-settings.md) — the image sizes and other settings of each game type.
* [Design a game](https://help.lobyco.com/business-documentation/activities/games/design-a-game) — start a gameplay from a template in Gameplay design, and publish it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.