12 oclock on a friday night and I'm sitting behind my computer.
Anyway, I've been trying to work on a radar that is always visible on screen but I'm not fully understanding the overlay.
I've borrowed some code from the forum:
Overlay uiRadar = new Overlay(world, fb, "uiRadarT");
uiRadar.setVisibility(true);
It does slow things down quite badly so something is working but the overlay isn't showing. Texture shows fine when i do this (using texturepack):
fb.blit(uiRadarT, 0, 0, 0, 0, uiRadarT.getWidth(), uiRadarT.getHeight(), 128, 128, 100, false, null);
It says this in the java Docs:
"A scaled blit has to be applied by the application each frame. "
But I'm not getting it. how do I apply a scaled blit? What is a scaled blit?