Kerby64
    Preparing search index...

    This class is used to display a cutscene before the game.
    It extends the Scene class from Babylon.js and uses the WebGPUEngine for rendering.\

    Hierarchy

    • Scene
      • CutSceneScene
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Load the cutscene scene based on the game type.
      It sets up the camera, background, and buttons for the cutscene.
      It also plays background audio and handles the transition to the game level.\

      Parameters

      • game: string | number

      Returns Promise<void>