v0.2.4: reintroduced version code, but a little less text

This commit is contained in:
Evan Debenham 2015-02-23 22:06:02 -05:00
parent 6aa31eea9c
commit cda93cb540

View File

@ -146,11 +146,19 @@ public class TitleScene extends PixelScene {
btnHighscores.setPos( w / 2, btnPlay.top() ); btnHighscores.setPos( w / 2, btnPlay.top() );
} }
BitmapText source = new BitmapText( "PD v 1.7.5", font1x );
source.measure();
source.hardlight( 0x444444 );
source.x = w - source.width();
source.y = h - source.height();
add( source );
BitmapText version = new BitmapText( "v " + Game.version + "", font1x ); BitmapText version = new BitmapText( "v " + Game.version + "", font1x );
version.measure(); version.measure();
version.hardlight( 0xCCCCCC ); version.hardlight( 0xCCCCCC );
version.x = w - version.width(); version.x = w - version.width();
version.y = h - version.height(); version.y = h - version.height() - source.height();
add( version ); add( version );
PrefsButton btnPrefs = new PrefsButton(); PrefsButton btnPrefs = new PrefsButton();