progress on main page as well as updated RA.

This commit is contained in:
Harrison Deng 2019-03-08 21:39:11 -06:00
parent 061991494e
commit 16579bd4bf
2 changed files with 12 additions and 0 deletions

Binary file not shown.

View File

@ -42,6 +42,18 @@ namespace RhythmBullet.Screens.MainMenu
title.bounds.X = width / 2;
title.bounds.Y = height / 2;
playButton.CenterOrigin();
playButton.bounds.Width = (int) (0.3f * title.TrueBounds.Width);
playButton.CenterHorizontally(new Rectangle(0, 0, width, height));
playButton.bounds.Y = title.bounds.X + title.TrueBounds.Height + 30;
quitButton.CenterOrigin();
quitButton.bounds.Width = (int) (0.3f * title.bounds.Width);
quitButton.bounds.Height = (int) (0.15f * playButton.bounds.Width);
playButton.CenterHorizontally(new Rectangle(0, 0, width, height));
quitButton.bounds.Y = playButton.bounds.X + playButton.bounds.Height + 15;
base.ApplySize(width, height);
}