- Monogame visual studio mac how to#
- Monogame visual studio mac code#
- Monogame visual studio mac free#
I don't have any other desktop platformĬomputer other than Windows right now, but this approach might be I decided to start with the Windows target, so I added a MonoGameĬross Platform Desktop Project to my solution, and named itīrainBouncer.Desktop. MonoGame functionality to this plain C# library.įollowed the tutorial's steps of adding a platform-specific project. How I created a shared C# project in Visual Studio If you're following the tutorial I linked, the steps it tells you to do are: "choose File -> New Solution -> MonoGame -> Library -> MonoGame Shared Library and name the project MonkeyTap." Instead, I did these steps: File -> New -> Project -> Shared Project, as seen in the GIF below. Have the MonoGame Shared Library template that the tutorial mentioned available, so I created aĬ# shared library instead. Unfortunately, the version of MonoGame/VS 2017 that I have does not I will be referencing it throughout this write-up, so you might want to read through it before reading the rest of this post. I'd highly recommend working through it if you are new to MonoGame.
Monogame visual studio mac code#
This approach saves you time and effort, because instead of duplicating the same base code for each platform, you can write it once and then reuse as needed. These additional projects will have a reference to the shared project. A shared project allows you to create one common code base that can be used for different platforms, and then you can create additional projects that are specific to each platform. Game is multi-platform, so we'll be using a shared project, so that weĬan have a common code base for both Windows, Android, and any future Note that you will need to use your system's command line interface to follow these steps (so on my Windows system, I would use cmd.exe). Note: After posting on the MonoGame official forums, a helpful user named Apostolique pointed me to another tutorial on a cleaner way to set up a shared project, which you can read at. As an independent developer myself, I thought it might be useful for other game devs or tech people. It's called ScreenToGif, which you can find at.
Monogame visual studio mac free#
I've found a very useful free tool that I used to create the GIF screenshots for this tutorial. I've already made progress in the project, so in the screenshots I share, you'll see that I've already started the coding and the project file structure. So, if you're using a different setup, you might notice some differences.
Monogame visual studio mac how to#
In this post, I will start walking you through what I've done so far, so that if you want to know how to do something similar in MonoGame, I can hopefully be of some help to you.įirst off, I am using an older laptop running Windows 8.1, and am running MonoGame using Visual Studio 2017. I know I haven't been good about updating, so I have a lot of catching up to do. I mentioned last fall that I would be migrating Brain Bouncer to MonoGame, and that I would be posting updates on my process.