feat: RenewalScene — Great Renewal visual event between cycles
After every 7th run (Great Renewal), players see a special scene: - Pulsing Mycelium particle animation (breathing spiral) - Staged text reveals: title, flavor, cycle counter, theme, lore, maturation - "Цикл N → Цикл N+1" transition with narrative theme name - Lore fragment from the new cycle's theme (Russian) - Mycelium maturation percentage display - FractalScene routes to RenewalScene when renewal detected - Scene flow: Fractal → Renewal → Cradle (on renewal) or Fractal → Cradle (normal) - Registered in game config Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,6 +6,7 @@ import { UIScene } from './scenes/UIScene';
|
||||
import { DeathScene } from './scenes/DeathScene';
|
||||
import { FractalScene } from './scenes/FractalScene';
|
||||
import { BossArenaScene } from './scenes/BossArenaScene';
|
||||
import { RenewalScene } from './scenes/RenewalScene';
|
||||
|
||||
export const GAME_WIDTH = 1280;
|
||||
export const GAME_HEIGHT = 720;
|
||||
@@ -16,7 +17,7 @@ export const gameConfig: Phaser.Types.Core.GameConfig = {
|
||||
height: GAME_HEIGHT,
|
||||
backgroundColor: '#0a0a0a',
|
||||
parent: document.body,
|
||||
scene: [BootScene, CradleScene, GameScene, UIScene, DeathScene, FractalScene, BossArenaScene],
|
||||
scene: [BootScene, CradleScene, GameScene, UIScene, DeathScene, FractalScene, RenewalScene, BossArenaScene],
|
||||
physics: {
|
||||
default: 'arcade',
|
||||
arcade: {
|
||||
|
||||
Reference in New Issue
Block a user