So I'm new at java programming, do you know if something is wrong in the syntax of this code:
OuyaController c = OuyaController.getControllerByPlayer(Integer.parseInt(_default));
OuyaController c = OuyaController.getControllerByPlayer(Integer.parseInt(_default));
to have acess to the controls?
While this might be considered "pre-optimization" by some developers, I'd keep in mind that parse and cast functions can be expensive if used in a game update/draw loop due to the amount of code those operations explode into when it gets compiled. A string will also take up more memory than an integer. Since you're beginning Java, if there's a way to NOT use strings when you don't need to, I'd urge you to break that habit early. :-)
Answers
Click here for a Zombie Game on Ouya
Click here for a Zombie Game on Ouya
Click here for a Zombie Game on Ouya