In this chapter, we will cover:
Creating your first touch application/game
Taking your touch application to the next level
Creating a Touch Directional Pad(D-Pad)
Dragging and swiping objects
Controlling images with Multi-Touch control
Using accelerometer to make a ball move on your phone
Input is the essential part of a game; without it, even with the extremely cool graphical effects, it is not a real game. Input gives players the opportunity to interact with the game world and it delights them. You will find Windows Phone 7 games completely different from traditional desktop games, as they do not have a keyboard and a mouse. You might wonder what can we do for input?
The touchscreen and a new amazing piece of hardware, accelerometer, bring you a brand new experience in playing Windows Phone 7 games. By just tapping the touchscreen and moving or twisting your hands, you can play a whole game on a Windows Phone 7. Isn't it fabulous...