Version
menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.8.8601 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.

Installing and Running the Cube Demo

The Cube Demo package includes the following components:

  • Debug, profile, and release versions of Audiokinetic's Cube game.

  • The Wwise project that was used to modify and add sounds to the game.

  • The Cube game engine source code and documentation.

[Note]Note

Materials sent by content providers were all originally high quality (48 kHz, 16 or 24 bits). However, to save download time and disk space, the size of some of the sound assets has been reduced.

Refer to the following sections for details on installing and running the Cube Demo.

Installing the Cube Demo

The Cube Demo is installed using the Audiokinetic Launcher.

To install the Cube Demo:

  • While you are installing Wwise (or modifying an existing installation), expand the Samples menu and select Cube (Demo).

    To modify an existing Wwise installation, on the Wwise page of the Launcher, select the wrench button to the right of the installation and click Modify.

Running the Cube Demo from the Launcher

After you install the Cube Demo, it is listed on the Samples > Wwise Samples page of the Launcher.

To run the Cube Demo:

  1. On the Samples > Wwise Samples page, select the version of Wwise for which you installed the Cube Demo.

  2. Click Run Cube to start the game.

Running the Cube Demo without the Launcher

For various reasons, you might prefer to run the Cube Demo without the Launcher. There are alternative methods, with some differences depending on whether they're run on Mac or Windows.

On Mac OS X

[Note]Note

Before you begin, make sure you install the Wwise SDK for Mac by selecting SDK (C++) and macOS during the Wwise installation. To add these options to an existing Wwise installation, on the Wwise page of the Launcher, select the wrench button to the right of the installation and click Modify.

  1. Method 1: Use the shell scripts.

    1. Make sure the unzipped Cube Demo folder shares the same parent folder as the installed Wwise SDK Mac distribution. For example, if the Wwise SDK folder is ${HOME}/Wwise/wwise_${version_tag}/SDK, then the Cube Demo root folder must be ${HOME}/Wwise/wwise_${version_tag}/CubeDemo.

    2. Locate the executable shell script in: $Applications/Audiokinetic/<Wwise_version>/Cube/Mac/<mode>/bin/RunCubeDemo.sh. where "<mode>" corresponds to the appropriate mode folder, either Debug, Profile, or Release.

    3. If the .sh files are configured to be opened by Terminal, double-click them in Finder. Otherwise, open Terminal in the directory of the shell script, then type RunCubeDemo.sh and press Enter.

  2. Method 2: Run under Xcode.

    1. Check that Xcode is installed. If Xcode is not present in the Applications folder, download and install it from the Mac App Store.

    2. Make sure the unzipped Cube Demo folder shares the same parent folder as the installed Wwise SDK macOS distribution. For example, if the Wwise SDK folder is ${HOME}/Wwise/wwise_${version_tag}/SDK, then the Cube Demo root folder must be ${HOME}/Wwise/wwise_${version_tag}/CubeDemo.

    3. In Xcode, open the following Xcode project: /path/to/CubeDemo/cube_source/src/Mac/CubeMac.xcodeproj.

    4. Build and run the project.

On Windows

  1. Method 1: Use the BAT scripts.

    1. When you installed the Cube Demo using the Audiokinetic Launcher, BAT files were created in the "<WwiseRoot>\Cube\cube" folder. Open this folder in File Explorer.

    2. Double-click the BAT file of the Cube Demo version you want to run: debug, profiler, or release mode. Alternatively, open a Command Prompt window and type the path to the BAT file and press Enter.

  2. Method 2: Run the executable from the Command Prompt.

    1. Navigate to the executable, "cube.exe", and run it. It can found under "<WwiseRoot>\Cube\Win32\<mode>\bin" where "<mode>" corresponds to the appropriate mode folder, either Debug, Profile, or Release.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise