|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Roman Legion Application Sample
This sample demonstrates Roman Legion, a battle game for the Pocket PC. Roman Legion is played by shooting arrows at encroaching enemies while moving left or right to avoid their attacks. Points are awarded for destroying enemies.
For information about using the samples, see the following topics:
To build the sample using Visual Studio
Open Windows Explorer and navigate to one of the language-specific subdirectories under the Roman Legion directory.
Double-click the RomanLegion.sln file to open it in Visual Studio.
Press F5 to compile and run the sample. You will be prompted to select whether to deploy the sample to a Pocket PC or to a Pocket PC emulator.
To run the sample
To move your character, click it and drag left or right.
To shoot an arrow, click the screen quickly.
The game is over when either of the following events occurs:
The character at the bottom of the screen is hit with an enemy arrow.
The enemies reach the bottom of the screen.
The .NET Compact Framework is required to build or run the sample. Seefor installation instructions.