PhoneGap/Construct2 Ouya Controller

Discussion and feedback on Construct 2

Post » Thu Mar 07, 2013 6:45 pm

Ouya

With the Ouya being released in late March I've been trying to get PhoneGap Ouya Controller Plugin to work with Construct 2. My first try I think it worked, but I'm not sure. Later today I will release my code. So far I don't even know if its whats required to get the Ouya Controller to work, but by releasing it I hope the more eyes that see it, it can be fixed.

Let me know your interest.
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Thu Mar 07, 2013 11:42 pm

Here is the java and javascript that compiled and ran without a problem. I just don't know if it actually was running.

java

javascript
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Fri Mar 08, 2013 12:01 am

I might as well link to the apk file. Not the best, but a example.

apkrfisher2013-03-08 00:03:08
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Fri Mar 08, 2013 5:29 pm

I don't have an Ouya (yet), but thanks for working on this!
B
18
S
1
G
1
Posts: 34
Reputation: 1,661

Post » Fri Mar 08, 2013 6:31 pm

Cool!!!
I will try it as soon as my OUYA arrives :D
B
29
S
6
G
5
Posts: 148
Reputation: 5,084

Post » Fri Mar 08, 2013 7:12 pm

Using the latest ODK I have created a new version and I will post the source soon. I'm not near my Ouya for a couple hours so I will not be able to test for a while. As you can tell I'm new to Java and need to learn some basic concepts.
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Sun Mar 10, 2013 8:25 am

Looking forward to it. I thought PhoneGap would have run on C++ and you were using the NDK and ODK bridge.

You mentioned last that you had good performance with PhoneGap. Is that just from careful game design and the natural PhoneGap speed on Ouya or are you using Pender?
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Sun Mar 10, 2013 11:31 am

@jayderyu

I'm following the examples from the Phonegap website and samples from the latest ODK and TRYING to blend the ideas. My first attempt above is wrong and I'm working a better idea based on working phonegap plugins. Once again I hope to have something working soon.

The game I'm talking about uses a custom behavior I made to make an object bounce based on the quadratic equation. When comparing game play on the Ouya and a PC It plays very similar and thats why I said I'm getting good performance. I'm not comparing FPS.rfisher2013-03-10 11:44:05
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Sun Mar 10, 2013 3:44 pm

Well if Java is not your most familiar language. Game Closure has a way to use C++ and GC uses the NDK(Native) for compiling C++ code for Android apps.

Of course maybe C++ isn't your native language either :| If it's not. Then never mind. Actually what language is your preferred?
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Sun Mar 10, 2013 3:50 pm

@jayderyu

I've been programming in C/C++ for a long time and most recently PHP/mysql.

As for Java programming, I'm catching on and I'm working on the javascript part of the Ouya Controller plugin today. If I get it working I will share the android project files.rfisher2013-03-10 15:50:47
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Next

Return to Construct 2 General

Who is online

Users browsing this forum: blurymind, y2j and 7 guests