mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
debugger's got its colour codes back
This commit is contained in:
@@ -127,11 +127,13 @@ class UIHandler(val UI: UICanvas,
|
||||
|
||||
fun render(batch: SpriteBatch) {
|
||||
if (isVisible || alwaysVisible) {
|
||||
// camera SHOULD BE CENTERED to HALFX and HALFY (see StateInGame) //
|
||||
|
||||
batch.projectionMatrix = Matrix4()
|
||||
|
||||
if (!customPositioning)
|
||||
TerrarumGDX.ingame?.camera?.position?.set(posX.toFloat(), posY.toFloat(), 0f) // does it work?
|
||||
//batch.projectionMatrix = Matrix4()
|
||||
//
|
||||
//if (!customPositioning)
|
||||
// TerrarumGDX.ingame?.camera?.position?.set(posX.toFloat(), posY.toFloat(), 0f) // does it work?
|
||||
|
||||
UI.render(batch)
|
||||
//ingameGraphics.flush()
|
||||
|
||||
Reference in New Issue
Block a user