Skip to content

Commit c144256

Browse files
Merge branch 'fix-sdk-doc' into 'master'
[DOCS][SDK] updated bitmap text docs, also fixes texture missing no longer reported See merge request codingame/game-engine!295
2 parents a186f80 + 88b7e4b commit c144256

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

engine/core/src/main/resources/view/core/Drawer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { ModuleError } from './ModuleError.js'
1010

1111
export class Drawer {
1212
constructor (customDemo) {
13+
PIXI.settings.STRICT_TEXTURE_CACHE = true
1314
this.toDestroy = []
1415
this.stepByStepAnimateSpeed = config.stepByStepAnimateSpeed || null
1516

playground/graphics/graphics-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ graphicEntityModule.createBitmapText()
3535
![Example](resources/text-2.png)
3636

3737
Extra tips :
38-
- A little help to turn fonts into bitmap fonts : http://kvazars.com/littera/
38+
- A tool to turn fonts into bitmap fonts : https://github.com/andryblack/fontbuilder (export in Sparrow format)
3939
- You can put your font in a sub folder of the assets repository whithout modifying any code

playground/misc/misc-3-release-notes.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ The CodinGame SDK is regularly updated and improved. This document lets you know
44

55
## Next Release
66

7+
### 🐞 Bug fix
8+
9+
- Fixed missing texture errors no longer being caught
10+
711
### 📝 Refactoring
812

913
- Removed unused code
14+
- Removed link to littera tool from docs
1015

1116
## 4.0.2
1217

@@ -15,6 +20,11 @@ The CodinGame SDK is regularly updated and improved. This document lets you know
1520
- When exporting a game, folders named "node_modules" are now ignored.
1621
- Renamed viewer modules' `name` variable to `moduleName` for consistency and future-proofing.
1722

23+
### ⚠️ Known issues
24+
25+
- Missing texture errors are no longer reported
26+
27+
1828
## 4.0.1
1929

2030
⛔ Broken version

0 commit comments

Comments
 (0)