debugger's got its colour codes back

This commit is contained in:
minjaesong
2017-07-02 15:28:45 +09:00
parent cc6a2d6898
commit a91cbb8924
10 changed files with 204 additions and 92 deletions

View File

@@ -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()