XNAML Logo

An XNA Game Control that provides full WPF Compatiblity, fully swappable with the regular Microsoft.Xna.Framework.Game class.

XNAML allows rich desktop applications to leverage the full power of XNA inside WPF. Simply derive from Xnaml.Game instead of Microsoft's XNA Game, and instantiate as many Game controls with full XNA rendering capabilities as you desire.

The Xnaml.Game class has been written to look, feel, and even smell exactly like Microsoft.Xna.Framework.Game, with an accompanying Xnaml.GraphicsDeviceManager class that is also designed to look, feel, and - you guessed it! - even smell exactly like Microsoft.Xna.Framework.GraphicsDeviceManager.

Jump into the Documentation to get acquainted further with the Control.

XNAML Demo Application

XNAML Demo Application in use

Xnaml was developed with help from the following resources, as well as some major thoughts and tweaking of my own:

An MSDN Blogpost about WPF-XNA Interopability from Nick Gravelyn -
http://blogs.msdn.com/b/nicgrave/archive/2011/03/25/wpf-hosting-for-xna-game-studio-4-0.aspx

The theories and ideas presented from an outdated Arcane framework by Valentin Billotte -
http://www.codeproject.com/Articles/38301/XNA-integration-inside-WPF

And the help and suggestions from the CGUI group at Columbia University -
http://graphics.cs.columbia.edu/home/

Last edited Jul 5, 2012 at 10:51 PM by ThePhD, version 18