Skip to content

Commit 42d645b

Browse files
committed
Fixed Custom Resources setting in game.project and added to the description.
1 parent 3e143e8 commit 42d645b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed
18.2 KB
Loading

gui/localization/example.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ To recreate such an example:
4141
3. Then, also in the `game.project` file in the `Font` section enable the `Runtime Generation` setting.
4242
![runtimefont](runtimefont.png)
4343

44+
4. In the end, add the localization of the used JSON files in the `Project` section in the `Custom Resources` setting.
45+
![customresources](customresources.png)
46+
4447
Project setup used by this example:
4548

4649
- `game.project` with runtime font generation enabled and custom app manifest `main.appmanifest`.

gui/localization/game.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ scale_mode = stretch
2424

2525
[project]
2626
title = localization
27-
custom_resources = assets, assets/fonts
27+
custom_resources = assets/texts
2828

2929
[font]
3030
runtime_generation = 1

0 commit comments

Comments
 (0)