gdx font: working locale switch

This commit is contained in:
minjaesong
2017-06-16 19:12:57 +09:00
parent e07e321ee3
commit 984881421c
3 changed files with 32 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ class TestTestTest : ApplicationAdapter() {
gameFont = GameFontBase(false)
//gameFont = BitmapFont()
}
val text = arrayOf(
@@ -67,6 +68,8 @@ class TestTestTest : ApplicationAdapter() {
Gdx.graphics.setTitle("$GAME_NAME — F: ${Gdx.graphics.framesPerSecond}")
(gameFont as GameFontBase).reload("bg")
batch.inBatch {
text.forEachIndexed { index, s ->