Skip to content

Commit

Permalink
Added details on using MonoGame 4,4
Browse files Browse the repository at this point in the history
  • Loading branch information
tgraupmann committed Aug 24, 2015
1 parent 2f13a2d commit 300ef3f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion forge_tv.md
Expand Up @@ -60,7 +60,7 @@ The latest [`OUYA-Everywhere`](ouya-everywhere.md) adds support for many control
* [GameMaker](game-maker.md)
* [Java](java.md)
* [Marmalade](marmalade.md)
* [MonoGame](mono-game.md)
* [MonoGame](mono-game.md#forge-tv)
* [Unity](unity.md)
* *InControl -- If you use InControl for Unity3D, be sure to update your InControl library. For more information, read the [InControl documentation on their website.](http://www.gallantgames.com/pages/incontrol-ouya)

Expand Down
17 changes: 17 additions & 0 deletions mono-game.md
Expand Up @@ -118,6 +118,23 @@ MonoGame Content Builder - https://github.com/mono/MonoGame/wiki/MonoGame-Conten
Docs and Tutorials - http://www.monogame.net/documentation<br/>
Binding JARs - http://docs.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)/<br/>

# Forge TV

In order to use `MonoGame` 4.4, the API level has to be set to `17`.
`MonoGame` 4.4 adds proper pause/resume support which allows textures and other content to reload when the game is reopened from the launcher.

1) In Visual Studio, right-click the `MonoGame` project and select properties.

![image_1](mono-game/image_1.png)

2) Under the `Application` tab select API level `17`. Any lesser API version will crash on launch with the unhandled exception `System.MissingMethodException: Method 'AudioManager.GetProperty' not found`.

![image_2](mono-game/image_2.png)

# OUYA Console

Since OUYA uses API level `16`, you'll have to use a `MonoGame` version prior to `4.4`.

## Examples

### Virtual Controller
Expand Down
Binary file added mono-game/image_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mono-game/image_2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 300ef3f

Please sign in to comment.