Hard coded Ranking Panel
Hard coded Scorebar Made MenuButtonBG colours darker Extends ScoresData clock bg More General Scaling
This commit is contained in:
@@ -95,8 +95,10 @@ public class GameRanking extends BasicGameState {
|
||||
OsuFile osu = MusicController.getOsuFile();
|
||||
|
||||
// background
|
||||
if (!osu.drawBG(width, height, 0.7f, true))
|
||||
g.setBackground(Utils.COLOR_BLACK_ALPHA);
|
||||
if (!osu.drawBG(width, height, 0.7f, true)) {
|
||||
GameImage.MENU_BG.getImage().draw(0,0);
|
||||
//g.setBackground(Utils.COLOR_BLACK_ALPHA);
|
||||
}
|
||||
|
||||
// ranking screen elements
|
||||
data.drawRankingElements(g, osu);
|
||||
|
||||
@@ -181,7 +181,8 @@ public class OptionsMenu extends BasicGameState {
|
||||
float tabX = (width / 50) + (tabImage.getWidth() / 2f);
|
||||
float tabY = 15 + Utils.FONT_XLARGE.getLineHeight() + (tabImage.getHeight() / 2f);
|
||||
int tabOffset = Math.min(tabImage.getWidth(),
|
||||
((width - subtextWidth - tabImage.getWidth()) / 2) / OptionTab.SIZE);
|
||||
//((width - subtextWidth - tabImage.getWidth()) / 2) / OptionTab.SIZE);
|
||||
(width/3) / OptionTab.SIZE);
|
||||
for (OptionTab tab : OptionTab.values())
|
||||
tab.button = new MenuButton(tabImage, tabX + (tab.ordinal() * tabOffset), tabY);
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ import org.newdawn.slick.state.transition.FadeOutTransition;
|
||||
*/
|
||||
public class SongMenu extends BasicGameState {
|
||||
/** The max number of song buttons to be shown on each screen. */
|
||||
public static final int MAX_SONG_BUTTONS = 6;
|
||||
public static final int MAX_SONG_BUTTONS = 7;
|
||||
|
||||
/** The max number of score buttons to be shown at a time. */
|
||||
public static final int MAX_SCORE_BUTTONS = 7;
|
||||
|
||||
Reference in New Issue
Block a user