V0.2.1 : Added alternate title text to appropriate locations for Sub-Reddit modding distinctions. Standardized alternate text color int global variable. Added hero icon to hero display. make about scene flare less flashy.

This commit is contained in:
Evan Debenham
2014-10-12 00:03:23 -04:00
parent 12e2f13808
commit ad32c4d984
5 changed files with 30 additions and 28 deletions
@@ -60,12 +60,12 @@ public class AboutScene extends PixelScene {
shpx.y = align( 30 );
add( shpx );
new Flare( 7, 64 ).color( 0x57b300, true ).show( shpx, 0 ).angularSpeed = +20;
new Flare( 7, 64 ).color( 0x225511, true ).show( shpx, 0 ).angularSpeed = +20;
BitmapTextMultiline shpxtitle = createMultiline( TTL_SHPX, 8 );
shpxtitle.maxWidth = Math.min( Camera.main.width, 120 );
shpxtitle.measure();
shpxtitle.hardlight( 0x50a500 );
shpxtitle.hardlight( Window.SHPX_COLOR );
add( shpxtitle );
shpxtitle.x = align( (Camera.main.width - shpxtitle.width()) / 2 );
@@ -82,7 +82,7 @@ public class AboutScene extends PixelScene {
BitmapTextMultiline shpxlink = createMultiline( LNK_SHPX, 8 );
shpxlink.maxWidth = Math.min( Camera.main.width, 120 );
shpxlink.measure();
shpxlink.hardlight( 0x57b300 );
shpxlink.hardlight( Window.SHPX_COLOR );
add( shpxlink );
shpxlink.x = shpxtext.x;
@@ -38,7 +38,7 @@ import com.shatteredpixel.shatteredpixeldungeon.windows.WndRanking;
public class RankingsScene extends PixelScene {
private static final String TXT_TITLE = "Top Rankings (SHATTERED)";
private static final String TXT_TITLE = "Top Rankings";
private static final String TXT_TOTAL = "Total games played: %d";
private static final String TXT_NO_GAMES = "No games have been played yet.";
@@ -74,7 +74,7 @@ public class RankingsScene extends PixelScene {
float top = align( (h - ROW_HEIGHT * Rankings.INSTANCE.records.size()) / 2 );
BitmapText title = PixelScene.createText( TXT_TITLE, 9 );
title.hardlight( Window.TITLE_COLOR );
title.hardlight( Window.SHPX_COLOR );
title.measure();
title.x = align( (w - title.width()) / 2 );
title.y = align( top - title.height() - GAP );