-
-
Notifications
You must be signed in to change notification settings - Fork 102
Touch Thumbsticks
Simon (darkside) Jackson edited this page Aug 21, 2020
·
7 revisions
Area | Submitted | Type |
---|---|---|
Input, Touch & Gestures | 7/28/2010 | Code Sample |
This sample demonstrates a technique for using the touch panel to provide thumbstick-style controls for a game.
The sample contains a simple shooter game controlled by holding the phone in landscape orientation, and by using two sides of the screen as thumbsticks. The class that implements the thumbstick logic is segregated for easy reuse in other games using the same control scheme.
All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).
Download | Size | Description |
---|---|---|
TouchThumbsticksSample_4_0 | 0.04MB | Source code and assets for the Touch Thumbsticks Sample (XNA Game Studio 4.0). |
TouchThumbsticksSample_4_0.zip | 0.04MB | Source code and assets for the Touch Thumbsticks Sample (XNA Game Studio 4.0). |