The "hellocricket" example, in src/samples/hellocricket, is a very simple
example that plays a single bank sound when it starts. There are several versions:
- android-ndk: Builds for Android using the NDK and the C++ Cricket interface
- android-sdk: Builds for Android using the SDK and the Java Cricket interface
- ios-objc: Builds for iOS using the Objective-C Cricket interface
- ios-cpp: Builds for iOS using the C++ Cricket interface
- macos-objc: Builds for Mac OS using the Objective-C Cricket interface
- macos-cpp: Builds for Mac OS using the C++ Cricket interface
- win: Builds for Windows
The "game" example is a simple demonstration of how to use Cricket Audio with
C++ to write cross-platform iOS and Android apps. Most of the
code, in src/samples/game, is cross-platform; the platform-specific code and data files are in the android and ios subdirectories.
To build the game for iOS, use the Xcode project in src/samples/game/ios.
To build the game for Android, first build the native code by executing ndk-build in the src/samples/game/android directory; then build and run the app from Eclipse.
Navigate around by moving your finger on the screen; drag left or right
to turn, and drag forward or back to move forward or backward.
Try to poke the spinning cubes with the orange pointer.