I can use any language except Java :x

Hey guys, sorry for asking such a question, but is there a possibility to use any language except Java? I can code in C or Python, C++ if it comes down to it, and I can code for android, but how would I go about getting the controller to work? Do I need a medium for it that's in Java?

Comments

  • noctnoct Posts: 122Member
    You can code in C/C++ and use JNI calls to access the OUYA API for now (they've said they'll be adding a native API at a later date).
  • hypercanestudioshypercanestudios Posts: 126Member
    At minimum you need to integrate the ODK (which is Java) to get access to the controllers. There's simply no getting around that.

    You can write entire Android activities in native code, but you need that JNI layer to interface the native to the ODK for controller input and IAP.
  • mjoynermjoyner Posts: 168Member
    C/C++ and Java are similar enough that you should not have a large difficulty in adapting. Unless you only code by rote.
  • petercpeterc Posts: 4Member
    It's not one of the languages you specified but there's a system called Ruboto which uses JRuby to run Ruby code on Android. I'm close to getting it working on the Ouya. I imagine Python has a similar toolkit. Python's so popular for doing indie game development and learning to program nowadays that I'd be surprised if there isn't a good Python option for the Ouya before long.
  • Jack_McslayJack_Mcslay Posts: 100Member
    peterc said:

    Python's so popular for doing indie game development and learning to program nowadays that I'd be surprised if there isn't a good Python option for the Ouya before long.

    Jython?
  • Bob_the_HamsterBob_the_Hamster Posts: 39Member
    I don't have my dev console yet, but I am excited about trying to get kivy python working together with ouya.
  • KonajuGamesKonajuGames Posts: 560Member
    Mono for Android works well. We're getting MonoGame (a XNA compatible framework) working with OUYA now. Making C# bindings for the ODK, though having a native ODK would make the bindings easier.
Sign In or Register to comment.