mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-06-12 17:04:03 +09:00
more wip
This commit is contained in:
@@ -73,7 +73,7 @@ class TypewriterGDX(val width: Int, val height: Int) : Game() {
|
|||||||
textbuf.add(CodepointSequence())
|
textbuf.add(CodepointSequence())
|
||||||
}
|
}
|
||||||
else if (printableKeys.contains(keycode and 127)) {
|
else if (printableKeys.contains(keycode and 127)) {
|
||||||
textbuf.last().add(keycode + 0xF2000)
|
textbuf.last().add(keycode + 0xF3000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ class TypewriterGDX(val width: Int, val height: Int) : Game() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
textbuf.forEachIndexed { index, s ->
|
textbuf.forEachIndexed { index, s ->
|
||||||
font.draw(batch, s, 40f, 40f + 24 * index)
|
font.draw(batch, s, 40f, 40f + 20 * index)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (e: ConcurrentModificationException) {}
|
catch (e: ConcurrentModificationException) {}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 320 KiB After Width: | Height: | Size: 320 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 320 KiB After Width: | Height: | Size: 320 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user