버전
menu

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.

[Note]Note

On Mac, you must install libSDL2 before you can run Cube.

Installing libSDL2 for Mac

To run the Cube Demo on Mac, you must install libSDL2.

To install libSDL2 for Mac:

  1. Download the latest libSDL2 Mac OS X Runtime Binaries package.

  2. Follow the instructions provided in the libSDL2 README file.

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: 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.

  2. Method 2: 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.

  3. Method 3: Run the executable in Terminal.

    1. The current working directory must be where the executables are located. Use the cd (change directory) command from $HOME to ../path/to/CubeDemo/cube.

      In Method 2, this detail is handled by the shell script.

[Note]Note

To allow the Cube Demo to run on Mac OS X Yosemite, you must manually register the installed SDL.

  1. Run the following command in Terminal:sudo find /path/to/SDL2.framework/Versions -name "SDL2" -exec codesign -f -s - {} \;

    Replace the above path to SDL2 with your own setup. SDL2 is usually installed under either ~/Library/Frameworks or /Library/Frameworks. When prompted, input your administrator account password and press Enter.

  2. Restart Xcode and rebuild the Cube Demo.

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.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요