Could someone explain, how to "transform" an existing XNA 4.0 solution to a MonoGame Windows Phone 8? My XNA solution has 4 projects: 1. contains the Game() class 2. Content which includes the .fbx model (rigged 3D hand) 3. the Model proj with 4 classes (AnimationClip, AnimationPlayer, Keyframe, SkinningData) 4. Pipeline, where the ContentProcessor() is

Nothing special in the code, it was written on the basis of "Better skinned sample". In the Game() class I wrote a method, which provide a skeletal animation. It works perfectly, but I have to upgrade to MonoGame, because of some integration issues.

有帮助吗?

解决方案

I recently did exactly what you asked for my own game.

You can start as you are. Almost 100% of the source code that worked in an XNA 4.0 project is compatible with MonoGame. Essentially copy over the code to the new project and you are good to go.

The only issue is with the content loading. I highly suggest you use the nugget packages to install Monogame on a solution and create a content project. From my experience fbx models are supported OK at the moment and can be compiled to xnb just OK.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top