CHAPTER 13

image

Mixing XAML and MonoGame

In this chapter, we will bring together the two technologies that we have been working with and explore how to add XAML user interfaces to MonoGame projects. In general, everything continues to work in the ways that we have already seen, but there are some special things that we need to do in certain areas in order for everything to play nicely together.

Let’s start by taking a look at the most fundamental question: How can XAML content be added to a MonoGame display?

Using MonoGame and XAML Together

In all of the MonoGame projects that we have looked at, we have treated the project as if it contained only ...

Get Windows 8 and Windows Phone 8 Game Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.