I've been hunting through all the forums, looking through all the video tutorials,
trying every solution I could manage to spot, but anytime someone has worked
it out they haven't specified how, and everyone seems to be either doing something
others aren't, or not doing something others are.
I'd be incredibly grateful if anyone has an actual working solution to be able
to get Unity keys to activate actions, similar to how it is mentioned here -
http://forums.ouya.tv/discussion/255/standard-unity-input-referenceSo not setting up things in Unity's input manager but having actual
existing keys correspond to the OUYA controllers buttons.
Is someone please able to either upload a working script change they have,
or at least directly detail all code changes they have made?
Answers
if(MyInput.buttonO){
}
uses the Unity input editor which I mention I can't use.
I'm don't have the memory required of programmers but I understand enough to
be able to develop my games using Playmaker (visual editor).
With that I can have events run for example when input 'spacebar', etc,
is pressed. However to use anything setup in the Unity input manager
you need to be programming the base code yourself and activate the
names of those inputs, for example 'shoot1'.
What I'm trying to achieve is what people have mentioned being able
to do but no one has yet completely mentioned how they achieved,
being able to have input keys, like in that link I referenced, functioning,
because anything else will require programming each action.
I've done everything in the first 2 videos so that's all done, just not worrying
about the title of the game in ouya until I can actually get it functioning.
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
May I ask when you plan for this to be available?
Obviously I wouldn't want to cause you a hassle by asking for it to be done immediately,
but because of the urgency in which I need controller input (I'm trying to enter the
'create' Ouya competition) I'd just like to be aware of whether I need to continue searching
for solutions until your absolutely awesome addition comes out ^^;?
@tgraupmann: are you the only dev working on the unity integration side of things? if so man I salute you :). One question I have is, could other controller setups not have so much dependency on the SDK? what I mean is if I only want the Ouya SDK without NGUI, or PlayMaker is that feasible? currently trying to get the SDK without NGUI is a no go.
The playmaker thing will be a future update.
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
Thank you so so very very much Ayrik :D!!!! That has worked for me!!
I had it running all night and it comes up in the games now so it should be just
what I need :D. I don't need the In-App purchasing at all yet so no worries
about that. I'm so happy now! Can finally keep working on the game now :)!
@tgraupmann
It's great to hear that your thinking about things like playmaker already,
I'm much more happy with OUYA than I always feared I wouldn't be after
the support I've been able to find here and I can't wait for the improvements
in the future :).
Make sure that your initial scene has the only OuyaGameObject with Don't Destroy On load.
In your main scene and game scene there should not be an OuyaGameObject. Make sure your game logic registers the input event in Awake and unregisters it in OnDestroy.
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].