v3.0.0: implemented functionality for v3.0 alpha

This commit is contained in:
Evan Debenham
2024-11-28 11:48:43 -05:00
parent 32d32c9e8e
commit 57cd3962b2
4 changed files with 37 additions and 14 deletions

View File

@@ -17,8 +17,8 @@ allprojects {
appName = 'Shattered Pixel Dungeon'
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
appVersionCode = 802
appVersionName = '2.5.4'
appVersionCode = 803
appVersionName = '3.0.0-ALPHA-1'
appJavaCompatibility = JavaVersion.VERSION_1_8

View File

@@ -46,6 +46,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Regeneration;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.RevealedArea;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Shadows;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroSubClass;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Talent;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.abilities.huntress.SpiritHawk;
@@ -95,12 +96,14 @@ import com.shatteredpixel.shatteredpixeldungeon.scenes.InterlevelScene;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite;
import com.shatteredpixel.shatteredpixeldungeon.tiles.CustomTilemap;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.shatteredpixel.shatteredpixeldungeon.windows.WndMessage;
import com.watabou.noosa.Game;
import com.watabou.noosa.Group;
import com.watabou.noosa.audio.Sample;
import com.watabou.utils.BArray;
import com.watabou.utils.Bundlable;
import com.watabou.utils.Bundle;
import com.watabou.utils.Callback;
import com.watabou.utils.GameMath;
import com.watabou.utils.PathFinder;
import com.watabou.utils.Point;
@@ -562,6 +565,18 @@ public abstract class Level implements Bundlable {
return false;
}
if (transition.type == LevelTransition.Type.REGULAR_EXIT
&& Dungeon.depth >= 20
&& Dungeon.hero.heroClass == HeroClass.CLERIC){
Game.runOnRenderThread(new Callback() {
@Override
public void call() {
GameScene.show(new WndMessage("Thanks for playing the Alpha!\n\nRuns with the Cleric cap out at floor 20 for the moment, but you'll be able to finish your run closer to the beta releases."));
}
});
return false;
}
beforeTransition();
InterlevelScene.curTransition = transition;
if (transition.type == LevelTransition.Type.REGULAR_EXIT

View File

@@ -53,7 +53,7 @@ import java.util.Collections;
public class WelcomeScene extends PixelScene {
private static final int LATEST_UPDATE = ShatteredPixelDungeon.v2_5_4;
private static final int LATEST_UPDATE = 803;
//used so that the game does not keep showing the window forever if cleaning fails
private static boolean triedCleaningTemp = false;
@@ -202,6 +202,10 @@ public class WelcomeScene extends PixelScene {
}
message = "Greetings Alpha testers, and welcome to an early look at the Cleric!\n\n" +
"I'm releasing this Alpha so that you guys can give early feedback, but please note that the Cleric is currently quite unfinished! There will be missing features, bugs, balance issues, etc. and the game currently caps out on floor 20 for the Cleric.\n\n" +
"As always, read the changelog for full change details, and let me know if you encounter any bugs!";
} else {
message = Messages.get(this, "what_msg");
}

View File

@@ -68,15 +68,17 @@ public class v3_X_Changes {
"_-_ ... days after Shattered v2.5.0\n\n" +
"Dev commentary will be added here in the future."));*/
changes.addButton( new ChangeButton(Icons.get(Icons.SHPX), "v3.0.0 To-Do",
"Here's a rough list of what needs to be done before v3.0 is ready for release, in addition to changes based on feedback:\n" +
"**-** Fully implement the Priest and at least one armor ability\n" +
"**-** Release v3.0 to Beta!\n" +
"**-** Implement another armor ability\n" +
"**-** Implement the Paladin subclass\n" +
"**-** Implement a 3rd armor ability\n" +
"**-** Polish up the Cleric visually and respond to balance/design feedback\n" +
"**-** Do smaller misc. changes for v3.0, primarily some balance and interface tweaks"));
changes.addButton( new ChangeButton(Icons.get(Icons.SHPX), "Alpha Info",
"Hey Alpha testers! This alpha is in a less complete state than normal, here's info about what's currently incomplete game-content wise:\n" +
"**-** The Cleric is missing one T2 Talent\n" +
"**-** The Priest is missing two of their T3 talents\n" +
"**-** The Paladin is not implemented\n" +
"**-** No armor abilities are implemented, and so I've capped Cleric runs at floor 20 for now.\n" +
"\n" +
"The following needs to be done before the Beta can release:\n" +
"**-** Address any bugs or other critical issues that get reported\n" +
"**-** Round out implementation of Cleric base talents and Priest talents\n" +
"**-** Fully implement at least one armor ability"));
changes.addButton( new ChangeButton(HeroSprite.avatar(HeroClass.CLERIC, 1), "The Cleric!",
"**Shattered Pixel Dungeon has another new hero, making for six total!!**\n" +
@@ -123,8 +125,9 @@ public class v3_X_Changes {
"\n" +
"**Misc.:**\n" +
"**-** Camera no longer re-centers on hero when adding custom notes\n" +
"**-** Improved the game's monochrome Android icon\n" +
"**-** Improved text clarity in a few cases\n" +
"**-** Updated internal code libraries "));
"**-** Updated internal code libraries"));
changes.addButton(new ChangeButton(new Image(Assets.Sprites.SPINNER, 144, 0, 16, 16), Messages.get(ChangesScene.class, "bugfixes"),
"Fixed the following bugs:\n" +
@@ -136,6 +139,7 @@ public class v3_X_Changes {
"**-** Cursed armband not updating player gold display on desktop after stealing gold\n" +
"**-** Very specific cases where disarming traps could make items unattainable\n" +
"**-** Icecap incorrectly being blocked by high grass\n" +
"**-** Stone of detect magic incorrectly being usable on thrown weapons\n" +
"\n" +
"**Effects:**\n" +
"**-** Monk abilities which ignore armor using the incorrect damage icon\n" +
@@ -153,7 +157,7 @@ public class v3_X_Changes {
changeInfos.add(changes);
changes.addButton( new ChangeButton(new ItemSprite(ItemSpriteSheet.SOMETHING), "Nothing yet!",
"While there are no other balance changes in v3.0 currently, I do plan to go over some balance numbers and make adjustments here before release."));
"While there are no other balance changes in v3.0 currently, I do plan to go over some balance numbers and make adjustments here during the beta."));
changes = new ChangeInfo(Messages.get(ChangesScene.class, "nerfs"), false, null);
changes.hardlight(CharSprite.NEGATIVE);