This commit is contained in:
2025-12-13 01:33:27 +01:00
parent c618f3d7fa
commit f0cd2ae056
4 changed files with 467 additions and 0 deletions

View File

@@ -448,6 +448,12 @@ class GameScene extends Phaser.Scene {
this.worldEventSystem = new WorldEventSystem(this);
this.hybridSkillSystem = new HybridSkillSystem(this);
this.oceanSystem = new OceanSystem(this);
// Central Popup System (for quests, dialogs, etc.)
this.centralPopup = new CentralPopupSystem(this);
// Tutorial System (shows keyboard shortcuts)
this.tutorialSystem = new TutorialSystem(this);
this.legacySystem = new LegacySystem(this);
// Initialize Sound Manager
@@ -811,6 +817,13 @@ class GameScene extends Phaser.Scene {
// Soft Reset (F4)
this.input.keyboard.on('keydown-F4', () => window.location.reload());
// Help / Tutorial (H key)
this.input.keyboard.on('keydown-H', () => {
if (this.tutorialSystem) {
this.tutorialSystem.showHelp();
}
});
// Mute Toggle (M key)
this.input.keyboard.on('keydown-M', () => {
if (this.soundManager) this.soundManager.toggleMute();