Article Index
Introduction
Game Engine
Game Logic
Bitmap Font
Sprites
The CCavern Method
Level Files
Sound And Input
Class Summary
Modding

Sound And Input

Sounds

Sounds are played using the Windows API. Windows Mobile DirectX does not supper DirectSound,  so that's the only option for now. The function PlaySound(...) is used.

Input

DirectInput is also not supported on Windows Mobile. SDK samples suggest using GAPI.LIB to detect cursor key codes. The game loop checks key presses by calling GetAsyncKeyState(...).




DDJ