Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 2.77 KB

File metadata and controls

54 lines (34 loc) · 2.77 KB
title 01: Setting Up MonoGame for Android and iOS Development
description Get started with MonoGame mobile development by setting up your development environment, tools, and SDKs for Android and iOS platforms.

Getting Started and Overview

This tutorial extends the MonoGame 2D Dungeon Slime tutorial to mobile platforms. If you haven't completed the desktop tutorial yet, we recommend finishing it first as we'll be building directly on that foundation.

What You'll Learn

By the end of this mobile tutorial series, you'll have:

  • Ported the Dungeon Slime game to run on Android and iOS
  • Implemented touch controls to replace mouse and keyboard input
  • Set up cross-platform project architecture for code sharing
  • Learned debugging techniques for mobile development
  • Published your game to both Google Play and the App Store
  • Created automated deployment workflows

Development Requirements

Android Development

Platform Support: Android development can be accomplished on either Windows PC or Mac. However, ARM64 variants of Windows do not run the Android simulator well.

Required Tools:

  • Android Device Manager - Used to set up simulators (accessible through Visual Studio)
  • Android SDK Manager - Used to install the SDK platforms

iOS Development

Platform Requirement: iOS development requires a Mac, whether you develop entirely on it or use the Pair to Mac option with Windows Visual Studio.

Since Visual Studio for Mac has been deprecated, JetBrains Rider is the currently recommended IDE for Mac development. Visual Studio Code is another viable option too.

Additional Requirements:

  • Xcode - Required for iOS development and deployment
  • Apple Developer Account - Required for physical device deployment and App Store publishing (enrollment link)

Modern .NET Project Features

This tutorial utilizes modern .NET project management features to streamline cross-platform development:

Central Package Management

We'll be using Central Package Management to maintain consistent package versions across all platform projects. This ensures your shared code library and platform-specific projects use identical dependency versions.

SLNX Solution Format

The sample projects use the new SLNX solution format for improved cross-platform development experience and better integration with modern .NET tooling.

Next Steps

In the next chapter, we'll convert the existing Windows-only Dungeon Slime project to support multiple platforms and explore the cross-platform project architecture.