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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.