Logo click changes on Main Menu
Makes clicking the logo more similar to the real osu! game, where the Play options show when you click the logo the second time (after it was clicked first).
This commit is contained in:
parent
5aa9620834
commit
f70f993999
|
@ -322,10 +322,7 @@ public class MainMenu extends BasicGameState {
|
|||
|
||||
// other button actions (if visible)
|
||||
else if (logoClicked) {
|
||||
if (logo.contains(x, y)) {
|
||||
SoundController.playSound(SoundController.SOUND_MENUHIT);
|
||||
logoTimer = MOVE_DELAY;
|
||||
} else if (playButton.contains(x, y)) {
|
||||
if (logo.contains(x, y) || playButton.contains(x, y)) {
|
||||
SoundController.playSound(SoundController.SOUND_MENUHIT);
|
||||
game.enterState(Opsu.STATE_SONGMENU, new FadeOutTransition(Color.black), new FadeInTransition(Color.black));
|
||||
} else if (exitButton.contains(x, y)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user