I’ve been using Monogame 3.7 for a few years now but only targetting Windows DirectX. I’m now looking to use Monogame to it’s full potential and develop multi platform.
I use Visual Studio 2019 on Windows 10, I’ve got Monogame 3.8 up and running, and have a solution with a shared project containing my game core, and platform specific projects for WindowsDX, OpenGL and Android. I have just one MGCB that is shared by all.
This all works great, there is just one game core. It works fine on Windows 10 DX or OpenGL, fine on Android, but what I need help with is getting it going on Linux. I’m a bit of a Linux novice.
Currently I can only run Linux projects if I create them on the Linux machine using Visual Studio Code and run them from the IDE. I thought it would be possible to compile an OpenGL project on my Windows machine, copy it over to Linux (Ubuntu 20.4) and just run it. I don’t really want to have to recreate the project on a Linux machine and recompile it there, it feels like it’s defeating the object of one code base for multiple platforms.
I guess the question is, am I missing the point here? I can compile on Windows and deploy to Android, but I don’t seem to be able to deploy to Linux.
Hope someone can help me see the light!