rfisher's Recent Forum Activity

  • Ashley

    I have made a game that has a window and layout size of 1280x720 for the Ouya. The tv that its hooked up to is 1080p. The problem is that with no Ouya controller plugin for Phonegap I'm using the default controller keys that work to control the game. When going Up or Down with the dpad the game moves Up or Down on the TV. Its as if 1280x720 is not scaling exactly to 1920x1080. Is this a problem with Construct2?

  • I'm testing my new approach in a couple of hours. I let you know if it works.

    I'm taking the work that psema4 did and making it work with Phonegap. It turns out its not a Phonegap plugin.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • jayderyu

    I don't think you understand what I'm saying. This works with the Ouya Controller and I plan on making it work with Phonegap and Construct2.

    The APK loads the url jenpop.com/ouya/index.html.

    In our case using Phonegap, The webpage is embedded in the APK in the assets\www folder.

  • jayderyu

    Here is a Example of the Ouya controller working on a webpage. This is not my work, but I plan to modify it so that it will work with construct 2. The following link is a APK showing it working. This APK points to a webpage loacted at http://www.jenpop.com/ouya/

  • 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.

  • 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.

  • 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.

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

    apk

  • 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

  • If I place the following code after c2runtime.js in the index.html file will it override the previous code?

    window.addEventListener('keyup', function(){window.plugins.ocontroller.up();}, false);

    window.addEventListener('keydown', function() {window.plugins.ocontroller.down();}, false);

  • 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.

  • I should be done with my Phonegap Ouya Controller Plugin in about 24 hours. I'm getting good FPS with non physics based games.

rfisher's avatar

rfisher

Member since 1 Apr, 2012

None one is following rfisher yet!

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies