Add ""title"" screen and save data slots

This commit is contained in:
Flashfyre committed 2024-03-14 21:49:49 -04:00
1 parent bed98ad304
commit 879971ae2b
8 files changed
+118 -81

No files matched your search

+2 -2
View File
@@ -40,8 +40,8 @@ export function addBBCodeTextObject(scene: Phaser.Scene, x: number, y: number, c
scene.add.existing(ret);
ret.setScale(0.1666666667);
ret.setShadow(shadowSize, shadowSize, shadowColor);
if (!(styleOptions as Phaser.Types.GameObjects.Text.TextStyle).lineSpacing)
ret.setLineSpacing(5);
if (!(styleOptions as BBCodeText.TextStyle).lineSpacing)
ret.setLineSpacing(10);
return ret;
}
+3
View File
@@ -38,6 +38,7 @@ export enum Mode {
BALL,
TARGET_SELECT,
MODIFIER_SELECT,
//LOAD_SESSION,
PARTY,
SUMMARY,
BIOME_SELECT,
@@ -59,6 +60,7 @@ export enum Mode {
};
const transitionModes = [
//Mode.LOAD_SESSION,
Mode.PARTY,
Mode.SUMMARY,
Mode.STARTER_SELECT,
@@ -107,6 +109,7 @@ export default class UI extends Phaser.GameObjects.Container {
new BallUiHandler(scene),
new TargetSelectUiHandler(scene),
new ModifierSelectUiHandler(scene),
//LoadSessionUiHandler(scene),
new PartyUiHandler(scene),
new SummaryUiHandler(scene),
new BiomeSelectUiHandler(scene),