Game Development Reference
In-Depth Information
Figure 6-6. Image resources used to define the controller key press and release events
Sound Classes
In a perfect world, Wolf3D will use native sound for increased performance. Unfortunately Android uses
a non standard sound library SoniVox EAS (Enhanced Audio System) whereas Wolf3D uses the Linux
OSS (Operating System Sound). To make things worse, Google provides no documentation or sample
code in the subject. This is a caveat as other smart phones such as the iPhone support a multitude of
open sound libraries. Anyway to bypass the limitation, the sound track has been extracted from the
original game files and stored in the res/raw folder under the main project. Figure 6-7 shows a snapshot
of these files.
Search WWH ::




Custom Search