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.
http://mobile.51cto.com/windows-phone-333911.htm#1
准备工作:
Windows 8 Release Preview (windowphone8的sdk只能在64位上跑所以建议X64)
Visual Studio 2012 Release Candidate
MonoGame Template for Metro Style apps
MonoGame Binary (编译好的)
添加模版:
把VS11MGWindowsMetroTemplate.zip解压到
“%UserProfile%\My Documents\Visual Studio 2012\Templates\ProjectTemplates\Visual C#\”
新建MonoGame项目:
编译出错添加, MonoGame.zip里的MonoGame.Framework.Windows8.dll引用。
再运行,出现了熟悉的蓝色背景