Name, window, language
Lives in: game.json
What the window is called, how large the picture is drawn, and which language the game starts in.
Title and version
{
"title": "My Novel",
"version": "1.0.0",
"authors": ["Your Studio"]
}
| Key | Effect |
|---|---|
title | Name on the window, app file, and build folder |
version | Your game’s version (used in build names) |
authors | Credits; also the Windows app’s company field |
To take the title from a translations file instead, use title_key — Translations.
Window size
"window": {
"width": 1280,
"height": 720
}
This is the base size your art and layouts are written for. The player scales the picture to whatever window or screen the reader uses.
Starting language
"locale": "en"
That is the language the game opens in. Offering several languages in Settings is i18n — again Translations.
App icon
"icon": "icon.png"
A picture in the project folder, converted for each platform when you build. Details: Title, icon, splash.
Usually you need
| Want | Write |
|---|---|
| Window name | "title": "…" |
| Design size | "window": { "width": 1280, "height": 720 } |
| Credits / company | "authors": ["…"] |
Full key list: game.json map.