progress on main page as well as updated RA.
This commit is contained in:
parent
061991494e
commit
16579bd4bf
Binary file not shown.
@ -42,6 +42,18 @@ namespace RhythmBullet.Screens.MainMenu
|
|||||||
title.bounds.X = width / 2;
|
title.bounds.X = width / 2;
|
||||||
title.bounds.Y = height / 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);
|
base.ApplySize(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user