v1.3.0: improved visuals for new game options menu
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@@ -242,8 +242,10 @@ public class HeroSelectScene extends PixelScene {
|
||||
}
|
||||
|
||||
private void updateOptionsColor(){
|
||||
if (!SPDSettings.customSeed().isEmpty() || SPDSettings.challenges() != 0) {
|
||||
if (!SPDSettings.customSeed().isEmpty()){
|
||||
btnOptions.icon().hardlight(1f, 1.5f, 0.67f);
|
||||
} else if (SPDSettings.challenges() != 0){
|
||||
btnOptions.icon().hardlight(2f, 1.5f, 0.5f);
|
||||
} else {
|
||||
btnOptions.icon().resetColor();
|
||||
}
|
||||
|
||||
@@ -199,10 +199,10 @@ public enum Icons {
|
||||
icon.frame( icon.texture.uvRectBySize( 128, 32, 16, 13 ) );
|
||||
break;
|
||||
case CHALLENGE_OFF:
|
||||
icon.frame( icon.texture.uvRectBySize( 144, 32, 14, 12 ) );
|
||||
icon.frame( icon.texture.uvRectBySize( 144, 32, 15, 12 ) );
|
||||
break;
|
||||
case CHALLENGE_ON:
|
||||
icon.frame( icon.texture.uvRectBySize( 160, 32, 14, 12 ) );
|
||||
icon.frame( icon.texture.uvRectBySize( 160, 32, 15, 12 ) );
|
||||
break;
|
||||
case RENAME_OFF:
|
||||
icon.frame( icon.texture.uvRectBySize( 176, 32, 15, 14 ) );
|
||||
@@ -211,7 +211,7 @@ public enum Icons {
|
||||
icon.frame( icon.texture.uvRectBySize( 192, 32, 15, 14 ) );
|
||||
break;
|
||||
case SEED:
|
||||
icon.frame( icon.texture.uvRectBySize( 208, 32, 10, 10 ) );
|
||||
icon.frame( icon.texture.uvRectBySize( 208, 32, 15, 10 ) );
|
||||
break;
|
||||
case LEFTARROW:
|
||||
icon.frame( icon.texture.uvRectBySize( 224, 32, 14, 8 ) );
|
||||
@@ -220,7 +220,7 @@ public enum Icons {
|
||||
icon.frame( icon.texture.uvRectBySize( 240, 32, 14, 8 ) );
|
||||
break;
|
||||
case CALENDAR:
|
||||
icon.frame( icon.texture.uvRectBySize( 240, 16, 12, 12 ) );
|
||||
icon.frame( icon.texture.uvRectBySize( 240, 16, 15, 12 ) );
|
||||
break;
|
||||
|
||||
case UNCHECKED:
|
||||
|
||||
Reference in New Issue
Block a user