Kerby64
    Preparing search index...

    MainMenuScene class represents the main menu of the game. It extends the Scene class and initializes the main menu UI, loads assets, and handles user interactions for starting the game or navigating to different modes.

    Show the pixar intro only the first time the game is started using sessionStorage.

    remake those menu using html/css instead of babylonjs gui.

    Hierarchy

    • Scene
      • MainMenuScene
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Loads asynchronously the main menu scene by setting up the environment, lights, camera, and UI elements.

      Returns Promise<void>

      A promise that resolves when the scene is fully loaded.