OUYA and C#. How to get started?

I'm an experienced windows developer (Visual Studio C++/C#/OpenGL/DirectX) and would like to give OUYA development a shot in C#.  What library/tool options are available?  Are there any good resources for getting started or sample apps (spinning box OpenGL type thing)?  I realize Unity would probably be the easiest way to get started, but the fewer frameworks/abstractions I need to go through the better.

Comments

  • AyrikAyrik Posts: 429Member
    I think Monogame is what you're looking for. Surely Google will find some kind of tutorial to get you started. There has been some talk of Monogame on this very forum.
    Saga Heroes - Adventure RPG
    image image
  • KonajuGamesKonajuGames Posts: 560Member
    MonoGame does indeed work on OUYA, providing an easy to use XNA compatible API.  I am also responsible for these C# bindings for the ODK.

    Xamarin.Android is required to use C# for Android development.  You could use the OpenTK API directly to talk to OpenGL (OpenTK provides C# bindings for several native libraries and is shipped with Xamarin.Android).
  • dmb21dmb21 Posts: 2Member
    Thanks for the pointers.  I've been trying to get the OpenGL template from Xamarin.Android to run on the emulator without any luck, I've tried a variety of setups (Nexus 7, various SDK versions, and some of the other setups).  I get either a black screen, a device that crashes after starting up, or an internal deployment error from Xamarin Studio.  I've tried both under OSX and Win7 VM (on a macbook pro).  Think I'd have better luck with an actual device?  Assuming I got something running on an Android device, what additional steps would be required to get it running on OUYA?

    Thanks again for the help.
  • mjoynermjoyner Posts: 168Member
    OpenGL2 does not work on the emulator.
  • KonajuGamesKonajuGames Posts: 560Member
    You need to enable GPU acceleration in the emulator to get OpenGL ES 2.0 support.

  • MikewareMikeware Posts: 16Member
    Anyone get this working with the new Xamarin 2.0 and monogame 3.0.1?  I'm getting a Java.Lang.Object error in Mono.Android trying to compile their default template (after adjusting all the other references).
  • KonajuGamesKonajuGames Posts: 560Member
    As posted on the MonoGame forums, get the latest from my GitHub repo.  The update missed the 3.0.1 release.
  • MikewareMikeware Posts: 16Member
    Thanks, that got me past my build-error.  Just fighting with the Android stuff now to deploy it to the device.
Sign In or Register to comment.