1. 程式人生 > >MonoGame Windows 8:Windows 8 Metro Style下的XNA

MonoGame Windows 8:Windows 8 Metro Style下的XNA

Windows 8來了XNA沒了,可能官方的沒了吧。monogame跨平臺XNA遊戲引擎

What is MonoGame?

MonoGame is an Open Source implementation of the Microsoft XNA 4 Framework. Our goal is to allow XNA developers on Xbox 360, Windows & Windows Phone to port their games to the iOS, Android, Mac OS X, Linux and Windows 8 Metro.  PlayStation Mobile development is currently in progress.

準備工作:

新增模版:

把VS11MGWindowsMetroTemplate.zip解壓到

“%UserProfile%\My Documents\Visual Studio 2012\Templates\ProjectTemplates\Visual C#\”

 

新建MonoGame專案:

編譯出錯新增, MonoGame.zip裡的MonoGame.Framework.Windows8.dll引用。

再執行,出現了熟悉的藍色背景