Episode 19: MonoGame - Write Once, Play Everywhere with Dean Ellis

Sign in to queue

Description

This week, James is joined by friend of the show Dean Ellis, Developer at Microsoft and MonoGame contributor/evangelist, who introduces us to the cross-platform and open source game framework, MonoGame. Dean walks us through how MonoGame took everything that we loved about XNA and created a full cross-platform game framework that runs on iOS, Android, macOS, Linux, Windows, PS4, PSVita, Xbox One, and Nintendo Switch. It powers some of your favorite games today such at TowerFall, Bastion, and Infinite Flight, and Dean shows us how to get started, how to deploy our first game, and how to run it on all of the platforms.

Segments:

  • [02:15] A Bit About MonoGame
  • [08:40] Getting Started with MonoGame
  • [10:15] Your First MonoGame Project
  • [17:00] MonoGame Content Pipeline
  • [25:00] Displaying Graphics and Text
  • [30:40] Handling User Input
  • [33:00] Full Example of Cross-Platform Game Development

Show Links:

Useful Links:

Embed

Download

The Discussion

  • User profile image
    exim

    Good to see some promotion of MonoGame! It is a really great framework. Unlike Unity, you actually make games with code instead of clicking here and there with mouse in bloat UI...

  • User profile image
    Camilo

    Loved XNA and Monogame, best framework for making games. I made a project for one of my CS classes using XNA, it was a great coding experience. Good to see some content on it.

  • User profile image
    SoloArtist

    I'd been wondering how to get started with a cross platform project. Thanks so much for this!

  • User profile image
    Eric

    I opened your solution in vs2017 and get the following?
    I'm using win10 but want to develop for android?

    Unsupported
    This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
    For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
    - Develop.iOS, "D:\XamarinShowSample-master\Develop.iOS\Develop.iOS.csproj"
    - Develop.Droid, "D:\XamarinShowSample-master\Develop.Droid\Develop.Droid.csproj"
    - Develop.tvOS, "D:\XamarinShowSample-master\Develop.tvOS\Develop.tvOS.csproj"


    No changes required
    These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
    - Develop.Shared, "D:\XamarinShowSample-master\Develop.Shared\Develop.Shared.shproj"
    - Develop.Desktop, "D:\XamarinShowSample-master\Develop.Desktop\Develop.Desktop.csproj"
    - Develop.UWP, "D:\XamarinShowSample-master\Develop.UWP\Develop.UWP.csproj"
    - [Shared MSBuild Project Files], "[Shared MSBuild Project Files]"
    - DevelopBrighton, "D:\XamarinShowSample-master\DevelopBrighton.sln"


  • User profile image
    James​Montemagno

    @Eric:Did you install the Xamarin workload when you installed VS 2017?

  • User profile image
    exim

    Why not have "Cross-platform mobile (Android/iOS/Winmo)" project template? How one creates such cross-mobile-platform games?

  • User profile image
    exim

    No worries, just got to that point in video.. :)

  • User profile image
    Jules

    Monogame is (was) an awesome effort, as per stated, XNA was the most progressive and exciting API set that Microsoft developed in the previous decade [shame on them for dropping XNA like so many other C# libaries.]

    So the Monogame team have done a great job. I had 4 Windows Phones and Android games developed and published thanks to these guys.

    The only disappointment is that its just the same API, as the 8 years old XNA 4.0, with no progress, or intent, on raising the API to include basic Physics engines and Terrain maps etc, that are typically being supported in competing frameworks these days.

  • User profile image
    RaReRa

    Hi, thanks a lot, this is very interesting.

    Can I also use platform features with Monogame, to access contacts or for using text to speech and speech to text capabilities of the platform?

  • User profile image
    George Birbilis

    there was XNA content pipeline integration in Visual Studio from what I remember, think MonoGame now has some command-line tool but is there any integeration in VS?

  • User profile image
    Sergioni

    This is great! Thank you James & Dean! Will there be Xamarin show covering CocosSharp as well?

  • User profile image
    Michel

    Would it be possible to create a custom control with monogame like a virtal gamepad and use that in a Xamarin Forms application?

  • User profile image
    ismael

    I already know who to blame when the build goes wrong.kkkk. HueHueHueBr.Excellent video!

  • User profile image
    abhijeet_su​rya

    @JamesMontemagno

    Is Using mono game inside Xamarin forms Business App a good idea (Any sample application ? )

    If not can you guide me for available solutions ?

  • User profile image
    abhijeet_su​rya

    @michel 

    Would it be possible to create a custom control with monogame like a virtal gamepad and use that in a Xamarin Forms application?

    Did you found ans for this? 

Add Your 2 Cents