Skip to content

Orientation

Simon (darkside) Jackson edited this page Aug 21, 2020 · 7 revisions

Orientation

Area Submitted Type
Games: Graphics, Input, Touch & Gestures 10/4/2010 Code Sample

Sample Overview

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, and changing the game’s orientation to match.

All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

Download Size Description
Orientation_4_0 0.13MB Source code and assets for the Orientation Sample (XNA Game Studio 4.0).
Orientation_4_0.zip 0.13MB Source code and assets for the Orientation Sample (XNA Game Studio 4.0).
Clone this wiki locally