Memorix101 / UnityXNA

Project to support the execution of XNA4/MonoGame games in the Unity3D engine with zero code changes required

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnityXNA

Screenshot 2023-04-16 174033

Proof of concept demo'ing the execution of a 2D XNA game sample in the Unity3D engine with zero code changes to game source code.

Note: Make sure to import the assets correctly into Unity image

Disclaimer: I've received a lot of emails asking if UnityXNA is suitable for porting an existing XNA game to Unity. The short answer is: it is, if you're prepared to do the leg work yourself. UnityXNA only implements the bare minimum of the XNA API in order to get the Platformer sample working. If your project uses any parts of the XNA API that the Platformer sample does not, you will need to add support for this yourself. Due to personal time constraints and the nature of this project as a tech demo only, I can offer no support for UnityXNA. Source code is provided for the curious and as a nice starting point for more serious emulation of XNA in Unity.

A good resource is also the source code of the MonoGame project for better understanding.

About

Project to support the execution of XNA4/MonoGame games in the Unity3D engine with zero code changes required

License:Other


Languages

Language:C# 82.4%Language:Rich Text Format 17.6%