Platform Games For Mac



Platform Games For Mac

-->

Explore Platformer games for macOS on itch.io Upload your games for macOS to itch.io to have them show up here. New itch.io is now on YouTube! Subscribe for game recommendations, clips, and more. It's the end of the world and everybody wants the best view. A small funny game I made for the TotallyRankedJam 2020. This is a shame, because the Mac is a great games platform with plenty of excellent freebies. Indeed, the Mac App store is positively packed with free games, and you can pick up some amazing Mac. Also announced is a program called Steam Play, where players who buy the Mac version of a game will also be able to download the PC version of the same game free of charge. Steam for Mac was released on May 12, 2010. Mimicking their strategy with the iOS platform, Apple has recently added an integrated App Store to the Mac OS.

This walkthrough shows how to create a new project for iOS and Android using MonoGame. The result is a Visual Studio for Mac solution with a cross-platform shared code project as well as one project for each platform. This project will display an empty blue screen when run.

MonoGame enables the development of cross-platform games with large portion of code reuse. This walkthrough will focus on setting up a solution which contains projects for iOS and Android, as well as a shared code project for cross-platform code.

Cross Platform Games For Mac

When complete, the project has the proper structure for performing game update logic and game drawing logic at 30 frames per second. It can be used as the base project for any MonoGame project. The project will look like this when run:

Adding MonoGame to Visual Studio

Important

MonoGame is not installed by default in Visual Studio 2019 or Visual Studio for Mac.

You should manually download and install the latest version from http://www.monogame.net/downloads/ then run the installer. You may need to restart Visual Studio for the templates to appear.

The Game Development section should then appear in the Add-in Manager.

To enable the MonoGame add-in for Visual Studio for Mac, select Visual Studio for Mac > Add-in Manager... . For Visual Studio 2019 on Windows, select Tools > Add-in Manager.... Select the Gallery tab, expand the Game Development category and select MonoGame Addin, then click Install...:

Once installed, MonoGame templates will appear in Visual Studio for Mac, as we will see in the next section.

Creating a new solution

In Visual Studio for Mac select File > New Solution. In the New Project dialog, click on Miscellaneous, scroll to the General section, select the Universal MonoGame Mobile application option, and click Next.

Name the project WalkingGame and click Create:

Now our project will execute just like any other iOS or Android project. The project should run displaying a cornflower blue background:

Fixing Android Compile Errors

Platform Games For Mac

The current version of MonoGame’s templates includes a few syntax errors in the Android’s Activity1.cs file. To fix these problems, replace the OnCreate function with the following:

Summary

This walkthrough covered how to create a cross-platform MonoGame project using Visual Studio for Mac. The result of this is an empty blue screen. This project can be used as the starting point for any iOS and Android game.

Games For Mac Computers

Related Links