mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 04:24:05 +09:00
gdx font: working locale switch
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user