Add egg logic and hatching screen (WiP) and end biome arena BG

This commit is contained in:
Flashfyre committed 2023-12-15 23:07:32 -05:00
1 parent f4ad9546c0
commit 71fdafe8fb
31 files changed
+2204 -15

No files matched your search

+5 -1
View File
@@ -20,6 +20,7 @@ import AchvBar from './achv-bar';
import MenuUiHandler from './menu-ui-handler';
import AchvsUiHandler from './achvs-ui-handler';
import OptionSelectUiHandler from './option-select-ui-handler';
import EggHatchSceneHandler from './egg-hatch-scene-handler';
export enum Mode {
MESSAGE,
@@ -33,6 +34,7 @@ export enum Mode {
BIOME_SELECT,
STARTER_SELECT,
EVOLUTION_SCENE,
EGG_HATCH_SCENE,
CONFIRM,
OPTION_SELECT,
GAME_MODE_SELECT,
@@ -45,7 +47,8 @@ const transitionModes = [
Mode.PARTY,
Mode.SUMMARY,
Mode.STARTER_SELECT,
Mode.EVOLUTION_SCENE
Mode.EVOLUTION_SCENE,
Mode.EGG_HATCH_SCENE
];
const noTransitionModes = [
@@ -87,6 +90,7 @@ export default class UI extends Phaser.GameObjects.Container {
new BiomeSelectUiHandler(scene),
new StarterSelectUiHandler(scene),
new EvolutionSceneHandler(scene),
new EggHatchSceneHandler(scene),
new ConfirmUiHandler(scene),
new OptionSelectUiHandler(scene),
new GameModeSelectUiHandler(scene),