Contributions
Favorites
Sort by:

Gestures
This sample includes code that uses the Gestures API to enable hold, drag, tap, flick, pinch gestures.
Accelerometer
Windows Phone 7 devices include a number of hardware sensors, one of which is the accelerometer. The accelerometer can be used to detect tilt, shaking, and other motion in three dimensions. This sample illustrates use of an accelerometer class to handle accelerometer data and ...
Graphics 2D Sample
This sample demonstrates how to render 2D textures, how to display text, and how to animate game assets in several ways. The sample presents a non-interactive "game" where the screen is divided into four areas. Each area displays the use of a technique described in this sample.
Windows Game State Management
A project for creating an XNA Framework 4.0 Windows game using the Game State Management sample.
Vertex Lighting
This sample shows one of the most basic uses of shader effects — vertex lighting.
Xbox 360 Game State Management
A project for creating an XNA Framework 4.0 Xbox 360 game using the Game State Management sample.
Windows Phone Game State Management
A project for creating an XNA Framework 4.0 Windows Phone game using the Game State Management sample.
Lens Flare
This sample shows you how to implement a lens flare effect by using occlusion queries to detect when the sun is hidden behind the landscape.
Orientation
This sample demonstrates a crucial scenario many games will want to enable: locking the screen to landscape or portrait mode. Also shown and explained is the more advanced scenario of responding to orientation changes from landscape to portrait or vice-versa during gameplay, a...
Bounce
The bounce sample draws and physically simulates 100 spheres of varying size, mass, and weight.
1 - 10 of 14 Items   
No favorites have been added.