make the logo in mainmenu open a bit less wide

This commit is contained in:
yugecin 2016-11-13 12:34:07 +01:00
parent c2d6756114
commit 438c718d6e

View File

@ -229,7 +229,7 @@ public class MainMenu extends BasicGameState {
restartButton.setHoverRotate(360); restartButton.setHoverRotate(360);
// logo animations // logo animations
float centerOffsetX = width / 5f; float centerOffsetX = width / 6.5f;
logoOpen = new AnimatedValue(100, 0, centerOffsetX, AnimationEquation.OUT_QUAD); logoOpen = new AnimatedValue(100, 0, centerOffsetX, AnimationEquation.OUT_QUAD);
logoClose = new AnimatedValue(2200, centerOffsetX, 0, AnimationEquation.OUT_QUAD); logoClose = new AnimatedValue(2200, centerOffsetX, 0, AnimationEquation.OUT_QUAD);
logoButtonAlpha = new AnimatedValue(200, 0f, 1f, AnimationEquation.LINEAR); logoButtonAlpha = new AnimatedValue(200, 0f, 1f, AnimationEquation.LINEAR);