tgraupmann said:
With the 1.0.0.0 firmware updates, I also noticed you have to double-tap the system button to exit. So maybe we can detect that button press now in game. I'll have to do some tests. Muhahahha
Detect which button? The sy…
paulscode said:
Not sure if it is related, but I was getting a NullPointerException from inside the ODK when calling OuyaController.getPlayerNumByDeviceId( int ) prior to any axis events. I was able to correct the problem by making sure the …
arcticdog said:
Something that bugs me a little. Or maybe I'm just not "getting it".
The OUYA title on the main orange screen, the O bleeds off to the left a little (this also happens to the similar large lettering title style on screens lau…
I mentioned this in the pause menu thread, and it'll be in the docs shortly, but keep in mind that the menu up and down events are going to happen at the same time, so it's best to actively detect when it's pressed instead of passively checking its …
Stretcher said:
No matter what I try, it seems that OuyaController.getButton(OuyaController.BUTTON_MENU) will always return false no matter what. Am I the only one bothered with this issue ?I'm using the latest 1.0.0 ODK.
The menu butt…
There's an example of loading it from a file in the game sample in the newest ODK. (Samples/game-sample/src/tv/ouya/sample/game/OptionsActivity.java)
Excerpt:
try {
InputStream inputStream = getResources().openRawResource(R.raw.key);
applic…
SpoonThumb said:
Not a fan of the A button always taking me all the way back to the home screen. Also it isn't really clear why you need an A / back button on the home screen itself. At the moment it takes me back to where I was before I went…
nick said:
Dev kit controller:
1x short press -> 1x MENU keycode (passed to app) -> game menu
2x short press -> 2x MENU keycode (not passed to app)-> system menuRetail controller:
1x short press -> 1x MENU keycode (passed to a…
It's a female USB A port (host mode), and a female USB micro port (device mode).
The android SDK has built in functionality for interacting with USB devices already :)
VicariousEnt said:
Sounds great. I would keep the double tap around for the long haul, and mention it in the system manual. A quick access double tap is great for "Generation Now" whom is too impatient to wait for a long press. Ok, so thats m…
The way the current OuyaController class depends on the keyevents wouldn't work this way, but it should definitely not give you guys an NPE [-X I'll log that as a bug to fix!
abebly said:
If you're still questioning 300ms as the ideal duration, you can always have it be a user setting (similar to how PCs let you change the double-click time).
Also a possibility :) (though it would most likely be included late…
Yeah adding a method like that would be a little too specific I'm afraid. Since we're not in control of the game loop, we wont know that you're polling every frame.
What most games do in this case is have a boolean value for each button they want t…
TomSapo said:
getJustPressed(keycode) and getJustReleased(keycode) methods inside OuyaController object would be super cool !
What would the purpose/functionality of this be?
mjoyner said:
Sounds like something other stores need, BADLY:
(to quote)
Basically I look through the games, and I see "RANDOM INDIE GAME X" that I'm not really interested in. I don't want to have to keep seeing it when I'm browsing so I hit …
The code is correct (if placed in an activity or view), but you'll still need to use the state methods:
OuyaController c = OuyaController.getControllerByDeviceId(deviceId);
OuyaController c = OuyaController.getControllerByPlayer(playerNum);float ax…
Quick question, is background downloading planned for the future? Watching that bar slowly go up is disheartening... lol.
Yep, we'd definitely like to get that in pre-launch. The store is usable currently, but still very WIP.And I had an interes…
Dreamwriter said:
Just to verify, this is still a work-in-progress, right, and isn't implemented in the 1.0.68 firmware?
Nope, not in 68. I did implement it directly after we pushed the OTA, so if it gets the "ok" from QA, it should be i…
1. Yes, this is just for testing the initial store. There is no official review process in place, so we will manually approve every app submitted.2. It depends on how you implemented your save games. Not sure what you're asking.3. All games on the s…
KonajuGames said:
A double tap always starts with a single tap. What makes it a double tap is that the first single tap is quickly followed by another tap. To determine if it a double tap and not a single tap, there must be a period of time…
GodlyPerfection said:
Thanks for the update Nick. As a dev I think this is a perfect solution. :) Will the long press be passed to the app, in order to pause if necessary? And would it be possible to manually check for 2x short press to hand…
I've got an update on this, with some good and bad news.
As I was trying to implement this, I was working under the assumption the system button worked the same way as a normal button would. I discovered that because of the function overloading on …