Game Development Reference
In-Depth Information
By clicking and dragging on this virtual device, we can alter the accelerometer
inputs being fed into the simulator. It's a little tricky to use for playing a game
but it normally suffices, so you can at least test applications that rely solely on
accelerometer inputs.
The window also provides some edit boxes that show the current values of the
accelerometer inputs as you rotate the 3D device about. These can also be used
to enter exact values should you have need to do so.
Example code
The code package for this chapter contains three projects that demonstrate the
things we've learnt in this chapter.
 
Search WWH ::




Custom Search