Logo downscale

This commit is contained in:
Anuken
2018-12-30 12:54:03 -05:00
parent b91510efb3
commit 41f16a54de
5 changed files with 926 additions and 961 deletions

View File

@@ -23,7 +23,7 @@ public class BackgroundFragment extends Fragment{
Draw.shader();
boolean portrait = Core.graphics.getWidth() < Core.graphics.getHeight();
float logoscl = (int) Unit.dp.scl(1) * (portrait ? 0.5f : 0.75f);
float logoscl = (int) Unit.dp.scl(1);
TextureRegion logo = Core.atlas.find("logotext");
float logow = logo.getWidth() * logoscl;
float logoh = logo.getHeight() * logoscl;