

There is one significant limitation of MonoGame, however. MonoGame also can be used to create both 2D and 3D games, whereas most game programming frameworks work for only one or the other. MonoGame provides a good balance for fledgling game programmers-tedious aspects (such as loading image files) are handled for you, but all gameplay must be written from scratch. Several popular independent games have used MonoGame, so it's something that you can definitely use to create release-worthy games.Īlthough it would be faster to use a full-fledged engine such as Unity, you'll learn more about game programming if you don't. MonoGame is an open source port of Microsoft's XNA framework that can be used on many platforms, including PC, Mac, Linux, iOS, and Android. MonoGameĪlthough a brick-breaking game could be created in many different frameworks, this series uses MonoGame. It also is helpful to have some experience with geometry and algebra because you'll have to use math for certain calculations. Even if you haven't used C# before, as long as you have experience in Java or C++, you should be able to easily pick up the language. This series assumes that you are familiar with object-oriented programming, and you'll be using the C# programming language. In this first article, you'll set up the initial project, create a base game object class, and add a paddle that can be moved with the arrow keys.īefore you get started, though, I want to cover the prerequisites for this series.
#MONOGAME FOR XAMARIN STUDIO HOW TO#
So you can always consult this code if you're not entirely sure of how to do something. However, if at any point you get lost during the discussion, the end of every article has a link to the full source code for that article. In my experience, this reinforces the concepts better than just providing all the source listings inline. My approach in this series is to show you the code inline whenever I introduce a new concept, but not when the code is a rehash of something that was done earlier.
#MONOGAME FOR XAMARIN STUDIO ZIP FILE#
If you want to see the final version in action, see this zip file with the Windows executable: Breakernoid_final_exe.zip.
