v0.2.2: updated welcome scene

This commit is contained in:
Evan Debenham 2014-11-03 17:38:32 -05:00
parent e4ac692b5c
commit 49bbbbf39e

View File

@ -1,27 +1,21 @@
//TODO: update this class with relevant info as new versions come out. //TODO: update this class with relevant info as new versions come out.
package com.shatteredpixel.shatteredpixeldungeon.scenes; package com.shatteredpixel.shatteredpixeldungeon.scenes;
import android.content.Intent;
import android.net.Uri;
import com.shatteredpixel.shatteredpixeldungeon.GamesInProgress;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon; import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass; import com.shatteredpixel.shatteredpixeldungeon.ui.Archs;
import com.shatteredpixel.shatteredpixeldungeon.ui.RedButton; import com.shatteredpixel.shatteredpixeldungeon.ui.RedButton;
import com.shatteredpixel.shatteredpixeldungeon.windows.WndChanges; import com.shatteredpixel.shatteredpixeldungeon.ui.Window;
import com.watabou.noosa.BitmapTextMultiline; import com.watabou.noosa.BitmapTextMultiline;
import com.watabou.noosa.Camera; import com.watabou.noosa.Camera;
import com.watabou.noosa.Game; import com.watabou.noosa.Game;
import com.shatteredpixel.shatteredpixeldungeon.ui.Archs;
import com.shatteredpixel.shatteredpixeldungeon.ui.Window;
public class WelcomeScene extends PixelScene { public class WelcomeScene extends PixelScene {
private static final String TTL_Welcome = "Welcome!"; private static final String TTL_Welcome = "Welcome!";
private static final String TTL_LastVer = "Updated To v0.2.1"; private static final String TTL_LastVer = "Updated To v0.2.2";
private static final String TTL_SameVer = "v0.2.1 Patched!"; private static final String TTL_SameVer = "v0.2.2 Patched!";
private static final String TTL_Future = "Wait What?"; private static final String TTL_Future = "Wait What?";
@ -32,22 +26,18 @@ public class WelcomeScene extends PixelScene {
"Happy Dungeoneering!"; "Happy Dungeoneering!";
private static final String TXT_LastVer = private static final String TXT_LastVer =
"This update brings lots of bugfixes and significant changes to the sewers!\n\n" + "This update brings improvements from the Pixel Dungeon source, and various small improvements.\n\n" +
"Expect some new quests from the ghost, improvements to the fight with Goo, and " + "There are now two new plants, look out for dreamfoil and stormvine! potion of levitation has been buffed as well.\n\n" +
"much more useful early tips. The story is also being expanded on a little as well.\n\n" + "The heroes remains system has been reworked to be more helpful and less exploitable.\n\n" +
"This update is mainly aimed at new players, but everyone should be able to appreciate some more " + "Weightstones have been added, but they are reworked from the base game.\n\n" +
"variety in the early stages of the game."; "There are various other small tweaks and improvements, for example, falling items will now appear on the next depth!";
private static final String TXT_SameVer = private static final String TXT_SameVer =
"v0.2.1c is a balance patch, all the new quest bosses have been made less punishing and it has been made more clear how to counter them. " + "no patches at present";
"Players still need to understand how to beat them, but they should no longer be as crushingly tough, good luck!\n\n" +
"v0.2.1b corrected several less severe issues, including a bug with the Wandmaker quest and minor visual bugs. " +
"The Gnoll trickster boss has been made just a little less punishing as well.\n\n" +
"v0.2.1a was a hotfix patch to correct a serious issue with floor 5.";
private static final String TXT_Future = private static final String TXT_Future =
"It seems that your current saves are from a future version of Shattered Pixel Dungeon.\n\n"+ "It seems that your current saves are from a future version of Shattered Pixel Dungeon.\n\n"+
"You have either messing around with backup software, or something has gone buggy.\n\n"+ "You have either been messing around with backup software, or something has gone buggy.\n\n"+
"Regardless, tread with caution! Your saves may contain things which don't exist in this version, "+ "Regardless, tread with caution! Your saves may contain things which don't exist in this version, "+
"this could cause some very weird errors to occur."; "this could cause some very weird errors to occur.";
@ -67,11 +57,6 @@ public class WelcomeScene extends PixelScene {
text = createMultiline(TXT_Welcome, 8); text = createMultiline(TXT_Welcome, 8);
title = createMultiline(TTL_Welcome, 16); title = createMultiline(TTL_Welcome, 16);
} else if (gameversion >= 9){
text = createMultiline(TXT_SameVer, 6 );
title = createMultiline(TTL_SameVer, 12 );
} else if (gameversion <= Game.versionCode) { } else if (gameversion <= Game.versionCode) {
text = createMultiline(TXT_LastVer, 6 ); text = createMultiline(TXT_LastVer, 6 );