V0.2.1 : final commit!
This commit is contained in:
parent
34c560aa93
commit
054b8135db
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.shatteredpixel.shatteredpixeldungeon"
|
package="com.shatteredpixel.shatteredpixeldungeon"
|
||||||
android:versionCode="8"
|
android:versionCode="9"
|
||||||
android:versionName="0.2.1INDEV"
|
android:versionName="0.2.1"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
||||||
|
|
|
@ -61,7 +61,6 @@ import com.shatteredpixel.shatteredpixeldungeon.windows.WndSadGhost;
|
||||||
import com.watabou.utils.Bundle;
|
import com.watabou.utils.Bundle;
|
||||||
import com.watabou.utils.Random;
|
import com.watabou.utils.Random;
|
||||||
|
|
||||||
//TODO: test this whole class a bunch
|
|
||||||
public class Ghost extends Mob.NPC {
|
public class Ghost extends Mob.NPC {
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,7 +15,7 @@ import java.util.ArrayList;
|
||||||
* Created by Evan on 24/08/2014.
|
* Created by Evan on 24/08/2014.
|
||||||
*/
|
*/
|
||||||
public class Artifact extends KindofMisc {
|
public class Artifact extends KindofMisc {
|
||||||
//TODO: add artifact transform method and tie it into well of transformation, potentially delayed to 0.2.1
|
//TODO: add artifact transform method and tie it into well of transformation, scheduled for 0.2.2
|
||||||
{
|
{
|
||||||
levelKnown = true;
|
levelKnown = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,9 +18,7 @@ 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 = "v0.2.0 Patched!";
|
private static final String TTL_LastVer = "Updated To v0.2.1";
|
||||||
|
|
||||||
private static final String TTL_From011 = "Updated To v0.2.0";
|
|
||||||
|
|
||||||
private static final String TTL_Future = "Wait What?";
|
private static final String TTL_Future = "Wait What?";
|
||||||
|
|
||||||
|
@ -31,25 +29,11 @@ public class WelcomeScene extends PixelScene {
|
||||||
"Happy Dungeoneering!";
|
"Happy Dungeoneering!";
|
||||||
|
|
||||||
private static final String TXT_LastVer =
|
private static final String TXT_LastVer =
|
||||||
"v0.2.0a:" +
|
"This update brings lots of bugfixes and significant changes to the sewers!\n\n" +
|
||||||
"\n-Bugfixes" +
|
"Expect some new quests from the ghost, improvements to the fight with Goo, and " +
|
||||||
"\n-Chalice now deals 25% less damage\n-Artifacts can now be sold to Pixel Mart" +
|
"much more useful early tips. The story is also being expanded on a little as well.\n\n" +
|
||||||
"\n-Artifacts & Rings are a little rarer now.\n\n" +
|
"This update is mainly aimed at new players, but everyone should be able to appreciate some more " +
|
||||||
"v0.2.0b:" +
|
"variety in the early stages of the game.";
|
||||||
"\n-BugFixes" +
|
|
||||||
"\n-Tweaked a few descriptions & sprites\n\n" +
|
|
||||||
"v0.2.0c:" +
|
|
||||||
"\n-Fixed a bug with the Ring of Might.\n-Fixed bugs with Scroll of Lullaby." +
|
|
||||||
"\n-Fixed a bug with the rankings page.\n-Fixed another save/load bug." +
|
|
||||||
"\n\n-Reduced Horn of Plenty's power a bit.\n-Seed pouch capacity increased." +
|
|
||||||
"\n-Blandfruit can now stack.\n-Various messages tweaked." +
|
|
||||||
"\n\nIf you are having any issues further issues, please email me so I can sort them out!";
|
|
||||||
|
|
||||||
private static final String TXT_From011 =
|
|
||||||
"Hello early adopter, thank you so much for giving Shattered PD a try in its earliest stages!\n\n"+
|
|
||||||
"This update completely overhauls rings, and as such any existing saves will have their rings removed.\n\n"+
|
|
||||||
"If you have a game in progress with rings that you'd rather not lose, please revert to v0.1.1a.\n\n"+
|
|
||||||
"You can simply reinstall the 0.1.1a APK from the button on the right, your saves will not be affected.";
|
|
||||||
|
|
||||||
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"+
|
||||||
|
@ -57,14 +41,12 @@ public class WelcomeScene extends PixelScene {
|
||||||
"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.";
|
||||||
|
|
||||||
private static final String LNK = "https://drive.google.com/folderview?id=0B1jhmo3hgqJtN3I4N1p2blFNVmc";
|
private static final String LNK = "https://play.google.com/store/apps/details?id=com.shatteredpixel.shatteredpixeldungeon";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void create() {
|
public void create() {
|
||||||
super.create();
|
super.create();
|
||||||
|
|
||||||
boolean fromAlpha = false;
|
|
||||||
|
|
||||||
int gameversion = ShatteredPixelDungeon.version();
|
int gameversion = ShatteredPixelDungeon.version();
|
||||||
|
|
||||||
BitmapTextMultiline text;
|
BitmapTextMultiline text;
|
||||||
|
@ -112,11 +94,11 @@ public class WelcomeScene extends PixelScene {
|
||||||
Game.switchScene(TitleScene.class);
|
Game.switchScene(TitleScene.class);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (fromAlpha) {
|
|
||||||
okay.setRect(text.x, text.y + text.height() + 5, 55, 18);
|
okay.setRect(text.x, text.y + text.height() + 5, 55, 18);
|
||||||
add(okay);
|
add(okay);
|
||||||
|
|
||||||
RedButton revert = new RedButton("Revert") {
|
RedButton revert = new RedButton("Changes") {
|
||||||
@Override
|
@Override
|
||||||
protected void onClick() {
|
protected void onClick() {
|
||||||
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(LNK));
|
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(LNK));
|
||||||
|
@ -125,10 +107,6 @@ public class WelcomeScene extends PixelScene {
|
||||||
};
|
};
|
||||||
revert.setRect(text.x + 65, text.y + text.height() + 5, 55, 18);
|
revert.setRect(text.x + 65, text.y + text.height() + 5, 55, 18);
|
||||||
add(revert);
|
add(revert);
|
||||||
} else {
|
|
||||||
okay.setRect(text.x, text.y + text.height() + 5, 120, 18);
|
|
||||||
add(okay);
|
|
||||||
}
|
|
||||||
|
|
||||||
Archs archs = new Archs();
|
Archs archs = new Archs();
|
||||||
archs.setSize( Camera.main.width, Camera.main.height );
|
archs.setSize( Camera.main.width, Camera.main.height );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user