Smooth menu fade

This commit is contained in:
Anuken
2019-07-30 20:04:25 -04:00
parent 4414ee6d38
commit 4bd3f415a9
3 changed files with 16 additions and 12 deletions

View File

@@ -232,6 +232,7 @@ public class MenuRenderer implements Disposable{
batch.beginDraw();
batch.drawCache(cacheFloor);
batch.endDraw();
Draw.color();
Draw.rect(Draw.wrap(shadows.getTexture()),
width * tilesize / 2f - 4f, height * tilesize / 2f - 4f,
width * tilesize, -height * tilesize);