mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 04:24:05 +09:00
sign engraver wip 3
This commit is contained in:
@@ -173,7 +173,7 @@ class FixtureTextSignCopper : Electric {
|
||||
batch.inUse { _ ->
|
||||
blendNormalStraightAlpha(batch)
|
||||
val tw = App.fontGame.getWidth(text)
|
||||
App.fontGame.draw(batch, text, 0 + (it.width - tw) / 2, 3)
|
||||
App.fontGame.draw(batch, text, 1 + (it.width - tw) / 2, 3)
|
||||
|
||||
|
||||
blendAlphaMask(batch)
|
||||
|
||||
Reference in New Issue
Block a user