🎬 Jan 8 Enable PrologueScene + Character Sprite Loading

 INTRO CUTSCENE + CHARACTER SPRITES ADDED:

**1. Enabled PrologueScene (Intro Cutscene):**
- Uncommented PrologueScene.js in index.html
- Added PrologueScene to game.js scene list
- Now shows intro story when clicking 'New Game'
- Explains: What happened, where Kai is, who Ana is

**2. Character Sprite Loading:**
- Added preloadCharacterSprites() to PreloadScene
- Loading Kai idle + walk sprites
- Loading Ana idle + walk sprites
- Loading Susi (dog) idle + run sprites
- Path: /assets/references/main_characters/[char]/animations/

**Character Images Now Available:**
 kai_idle, kai_walk (Kai - protagonist)
 ana_idle, ana_walk (Ana - twin sister)
 susi_idle, susi_run (Susi - dog companion)

**Test Flow:**
1. Launch game → Loading screen
2. Click 'New Game' → PrologueScene intro
3. After intro → GameScene with character sprites

**Next:** Test TestVisualAudioScene with loaded sprites!
This commit is contained in:
2026-01-08 16:18:46 +01:00
parent 0bec0eb07a
commit b966bd37fe
3 changed files with 35 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ const config = {
debug: false
}
},
scene: [BootScene, PreloadScene, SystemsTestScene, TestVisualAudioScene, DemoScene, DemoSceneEnhanced, TiledTestScene, StoryScene, /* PrologueScene - DISABLED */, GameScene, UIScene, TownSquareScene],
scene: [BootScene, PreloadScene, PrologueScene, SystemsTestScene, TestVisualAudioScene, DemoScene, DemoSceneEnhanced, TiledTestScene, StoryScene, GameScene, UIScene, TownSquareScene],
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phaser.Scale.CENTER_BOTH