chore(scene/transition): change debug to trace logging

Becasue that's mostly tracing :L
This commit is contained in:
2025-09-30 08:24:40 +07:00
parent 4f13c33b6a
commit 94d0166f2d

View File

@ -38,13 +38,13 @@ public class Transition extends Scene {
public void render(SpriteBatch batch) {
var toOpacity = ((float) (System.currentTimeMillis() - startTime)) / duration;
if (toOpacity >= 0.99) {
log.debug("Transition complete to state: {}", targetState);
log.trace("Transition complete to state: {}", targetState);
Game.state = targetState;
Game.transition = null;
return;
}
var fromOpacity = 1 - toOpacity;
log.debug("Transition opacities - from: {}, to: {}", fromOpacity, toOpacity);
log.trace("Transition opacities - from: {}, to: {}", fromOpacity, toOpacity);
batch.setColor(1, 1, 1, fromOpacity);
from.render(batch);
batch.setColor(1, 1, 1, toOpacity);