So, OUYA. Will YA?

Previous topic - Next topic

spacefractal

its ended its screen life (rest seen still works nice) in a washing machine, oops. Its was a nice phone and a good profile. So nothing wrong with the phone its self.

Im still hope im release Greedy Mouse in the aug for OUYA. Howover im will not hold the controller code for my self when its done.

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Albert

Wow, I've OUYA too, but not enough spare time to develop for it.

I've only tried some old build of my games, and they was slow and 90° rotated. See more here: https://www.facebook.com/photo.php?fbid=629559680389575&set=pb.187718021240412.-2207520000.1374758350.&type=3&theater

Hey FIVE: https://dl.dropboxusercontent.com/u/32204670/alphaed.png that is a nice little thing. This is my Immediate Mode GUI?

Ian Price

That rotation thing with Android is a right PITA. Hope you get it fixed and working soon :)
I came. I saw. I played.

spacefractal

#123
the orientation is a old issue, which never got fixed (when using a fixed orientation, its works nice with "sensor" in manifest). But with ANDROIDEXTRAS, this code can been used to fix it:

Code (JAVA) Select

// === GET ORIENTATION ===
if (tokens[0].equals("getOrientation"))
{ Display display = ((WindowManager) mSingleton.getSystemService(WINDOW_SERVICE)).getDefaultDisplay();
screenOrientation = display.getOrientation();
mSingleton.result=Integer.toString(screenOrientation);
return mSingleton.result;
}


Code (glbasic) Select

LOCAL orentation=CallJava$("getOrientation")
SETORIENTATION orentation


Im thinks the code is allready in the codesnippits On ANDROIDEXTRAS. Also tthere is NO standard orientation value, whuch is why you need to call display.getOrientation(), which tell which orientation value its currectly is on. Its have works fine on all devices.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

erico

Hey Albert, how much slower did it go?
Space also reported some slow down on his game.

It is a game you already have on android going full speed, right?

I mean, ouya seems to be as powerfull as a note II. Why the slow down then?
Could it be the full hd resolution?

Albert

I think this is because of the HD resolution. But I dunno, because it is a very old build of the game, maybe some debug feature remained in and make a lot of logging in the background...

spacefractal

#126
It's a fill rate issue with high resoulution. Is done fine with 3d, but have lower perforcement with 2d. Alpha can been a issue too (which is used lots in greedy mouse). you should also not use offscreen for render, which can slowdown even more with heavy 2d graphics.

Howover my game is now fully playable after I'm fixed the slow string field issue when checking inputs. It's still do slowdown sometime, but not very noticeable at all.

The orientation issue you have can been fixed by the above code.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

fivesprites

Quote from: Albert on 2013-Jul-25

Hey FIVE: https://dl.dropboxusercontent.com/u/32204670/alphaed.png that is a nice little thing. This is my Immediate Mode GUI?

Hi Albert

Yes! Apologies, I should have stated that it was your GUI code - which works fantastically well by the way :)

fivesprites

Sorry chaps - I've been so busy with work/life and Sony stuff that I've not had the time to devote to this.  I will continue and post a release as soon as I find a few spare minutes.

Spacefractal - sorry to hear about your phone!  Hope you don't put the OUYA in the washing machine ;)

//Andy

Albert

Quote from: fivesprites on 2013-Jul-25
Yes! Apologies, I should have stated that it was your GUI code - which works fantastically well by the way :)

I'm glad you find it useful, no need to state anything, just use it.

spacefractal

#130
hehe, fivesprites  =D.

im just got some surprices about the x-box controller:
- Left Dpad suddently got remapped in Greedy Mouse, when im got the motion code remapping to work. Its was mapped to AXIS_HAT_X and AXIS_HAT_Y events!
- Triggers also uses full value from -1 to 1, instead of 0 to 1 (which OUYA does) with AXIS_Z and axis AXIS_RZ. Im have processed them to use 0-1 when using a x-box controller.

EDIT:
so its cant been more important to detect both keyevents as well motionevents when remapping thing on Android. Only triggers can been a issue im need to work more about it, but its does work if x-box controller detected.

Howover now im can do a auto remap profile for OUYA controllers as well x-box controllers, and remapping can been done for others controllers.

The last thing after that, then its should save its values on some how. Glbasic have never touched any keys under remapping (other as you just need to shown 2 lines of a message to the user, which can happens any time). Buts also its may been a good idea to have a option to let user remap the device again.

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

FiveSprite have updated Android Extras to 1.2 Beta in his post with primary OUYA controller code im made in this week. Its still in work, but even missing polising (as wrote in the annonce), its fully playable and usable. Inapp still missing.

Here is the post:
http://www.glbasic.com/forum/index.php?topic=9166.msg79936;boardseen#new

Future post about the Game Controller code will been in this post to avoid too much clutter in this thread, which can been eventhing about OUYA:
http://www.glbasic.com/forum/index.php?topic=9362.0
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

erico

A question:

So Ouyea needs the game to be F2P. Does it have to be on the same code? I mean, lets suppose I release one free to play and if player like it they go to the store and buy the full version. Is that possible? like 2 independent programs? ...or does it have to be on one?

spacefractal

yes F2P is required. You download the game and play it, until you got a "pay wall". There is no seperate shop to get the full version. Hence its still not finished, but im do cant work on inapp right now, even im want that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

erico

#134
Thanks for clarifying it space.

EDIT: I will add this one article here too:
http://www.gamasutra.com/view/news/197084/73_percent_of_Ouya_owners_havent_bought_a_thing.php