Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is MonoGame just XNA?

Tags:

c#

xna

monogame

So I want to learn C# and XNA but after some research is came to my attention that XNA is apparently dead, and there is an alternate library called MonoGame which uses XNA framework.

So, can I use XNA lessons/ tutorials for MonoGame or are the major differences in the way programming is done depending on what you use making XNA tutorials completely useless for MonoGame?

like image 679
Matthew Avatar asked Feb 09 '14 11:02

Matthew


People also ask

Is XNA and MonoGame the same?

MonoGame is an open source, C# framework that implements the application programming interface (API) of XNA, Microsoft's late game development toolset that was retired in 2013.

Should I use XNA or MonoGame?

Originally Answered: Whats the difference between XNA and Monogame? XNA used to be supported by Microsoft and only ran on Microsoft related platforms like Windows and Xbox. Monogame is community supported and is cross-platform.

What is FNA vs XNA?

FNA is a reimplementation of the Microsoft XNA Game Studio 4.0 Refresh libraries. FNA is primarily developed by video game porter Ethan Lee, who has shipped more than four dozen ports of XNA games using the exact branch that you see on GitHub today!


1 Answers

Almost.

MonoGame doesn't use the XNA framework, it is a re-implementation of the XNA framework. The difference is that all of the code inside MonoGame has been re-written to behave identically to the XNA framework.

You're probably wondering why someone would want to re-implement something that already exists. Well, you're correct in saying that XNA is "dead" so to speak. You can in fact still use the XNA framework if you want but it's no longer supported by Microsoft on Windows 8 or above.

However, that's not really the primary reason MonoGame came about. The real reason is that XNA only works on Microsoft platforms (e.g. Windows, XBox, Windows Phone). MonoGame's purpose is to allow existing XNA code to be easily ported to other plaforms (e.g. iOS, Android, Mac OS X, Linux, Windows 8, Windows Phone 8, PlayStation Mobile and the OUYA console)

Yes, you can use XNA lessons / tutorials for MonoGame most of the time. MonoGame's code and behaviour is intended to work exactly like the XNA framework. I say intended, because it's not perfect but it does work very well and there are plenty of games already using MonoGame to prove it.

like image 77
craftworkgames Avatar answered Sep 21 '22 18:09

craftworkgames