v0.2.3e: reworked night mode into a level feeling

This commit is contained in:
Evan Debenham
2015-01-20 16:49:55 -05:00
parent 66db278940
commit e4d0017137
5 changed files with 23 additions and 13 deletions
@@ -73,11 +73,11 @@ public class GameScene extends PixelScene {
private static final String TXT_WELCOME = "Welcome to the level %d of Pixel Dungeon!";
private static final String TXT_WELCOME_BACK = "Welcome back to the level %d of Pixel Dungeon!";
private static final String TXT_NIGHT_MODE = "Be cautious, since the dungeon is even more dangerous at night!";
private static final String TXT_CHASM = "Your steps echo across the dungeon.";
private static final String TXT_WATER = "You hear water splashing around you.";
private static final String TXT_GRASS = "The smell of vegetation is thick in the air.";
private static final String TXT_DARK = "You can hear enemies moving in the darkness...";
private static final String TXT_SECRETS = "The atmosphere hints that this floor hides many secrets.";
static GameScene scene;
@@ -240,16 +240,16 @@ public class GameScene extends PixelScene {
case GRASS:
GLog.w( TXT_GRASS );
break;
case DARK:
GLog.w( TXT_DARK );
break;
default:
}
if (Dungeon.level instanceof RegularLevel &&
((RegularLevel)Dungeon.level).secretDoors > Random.IntRange( 3, 4 )) {
GLog.w( TXT_SECRETS );
}
if (Dungeon.nightMode && !Dungeon.bossLevel()) {
GLog.w( TXT_NIGHT_MODE );
}
busy = new BusyIndicator();
busy.camera = uiCamera;
busy.x = 1;