Port your game to Windows and Windows Phone
[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]
Move your game to Windows and Windows Phone, and enjoy state-of-the-art graphics and a lot more.
The Windows advantage
If you're creating new games, or porting existing titles, there are plenty of good reasons to support Windows.
- Your game will never look better. Windows and Windows Phone use DirectX 11.1 for state-of-the-art graphics.
- Powerful coding, diagnostic, and debugging tools at your disposal.
- A broad range of cool devices to run your games, including phones, desktop PCs, laptops, and small hand-held tablets.
- Flexible interactions with touch and pen support, as well as traditional keyboard, mice, and game controllers.
- The Windows Store and Windows Phone Store providing exciting new monetization options, such as in-app purchases and consumables.
Not every game requires the full-on graphics power of DirectX, and not every developer has the time to learn how to use DirectX, or how to code in C++. If you're interested in more casual games, or if you want to use C# (which has plenty in common with Objective-C and Java), or leverage your JavaScript skills, there are still plenty of way to build games for Windows devices.
Cross-platform games authoring
These days, it makes sense to release the same game on multiple platforms—especially when the same resources (images, sound, animations, 3D models, music) can be shared so easily. If you're creating a game to be cross-platform, it pays to consider your options from the beginning. For example, if you're targeting Windows and Windows Phone, you can focus on using C++ and DirectX, or C# or WinJS, and build a Universal Windows app. However, if you're thinking of supporting iOS or Android, you can either port your existing code to their native environments or consider something more neutral, like a cross-platform authoring tool like Unity or a development environment based on Mono (the open source implementation of the .NET platform), or JavaScript and HTML5.
Sample game code
- Writing a sprite-based game
- DirectX 3D shooting game sample
- DirectX marble maze game sample
- Reversi, a Windows Store game in XAML, C#, and C++
Blogs for game developers
Videos and tutorials
- From XNA game to Windows 8 (video)
- From Android or iOS: Bringing Your OpenGL ES Game to the Windows Store (video)
Authoring tools
-
A 3D and 2D game environment.
-
A game authoring environment.
-
A game authoring environment.
-
A cross-platform authoring environment.
-
Use the DirectX API from .NET languages, such as C#.
-
An open source XNA replacement.
-
A cross-platform C# development tool.
-
A cross-platform code library for drawing and physics modeling.
-
An HTML-based game library.
-
A cross-platform SDK.
-
A cross-platform development tool.
-
An HTML/JavaScript/CSS coding library.
-
An authoring environment specifically for games.
Related topics
Documentation
Migrate your Windows Phone 8.0 DirectX Project to Windows Phone 8.1
Presentations
Bringing Halo: Spartan Assault to Windows Tablets and Mobile Devices