mikepixie's Recent Forum Activity

  • Just the ticket! Thanks Rex.

  • I just want to say, this is an amazing project and it deservers a bump!

    M

  • Some extra info, I am trying post back from the child browser using:

    window.opener.cr.plugins_.MYPLUGIN.prototype.getToken(myVal);

    Is this vaguely right?

  • Ashley I thought I would start a thread here for my questions about getting data from child windows. The original thread is here for anyone interested: scirra.com/forum/pass-a-value-from-a-child-browser-to-game_topic55919.html

    So far I have got a function to open a url in a new window using window.open and a string param in edittime.js for the user to set the url to open. This works fine.

    What I am pondering though is how to go about exposing the function that the child window posts to:

    function getToken(authToken) {

         userToken = authToken;

    }

    this basically sets a variable called authToken which is essentially my plugin's returned expression.

    I am a javascript noob but so far I am swimming. I am just having trouble figuring out how to expose this function.

    Thanks in advance.

    M

  • Great, Thanks Ashley, I was just making sure that I was not reinventing the wheel.

  • I think with appmobi the hidden costs come rolled into their cloud services. As far as I understand this is where they are making or trying to make money.

  • Hi everyone, it has been a while but I am still around.

    My question for the day is if it is possible to send a value back to a construct game from a window opened by the browser plugin.

    You can do this with a straight up javascript web app by using the window.opener method as seen here: hspinfo.wordpress.com/2008/01/17/javascript-send-pass-value-of-child-window-to-parent-window

    I would like to know if this is possible without writing a plugin (which I have been trying my hand at recently and am finally wrapping my head around it)

    I would love to know your thoughts.

    M

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I can't be the only one with my finger on the refresh button!

  • Hi Tap, thanks for the good work. I am quite keen to see an appMobi oauth plugin as most third party API's require oAuth 2.

    Thanks

    Mike

  • Some updates from my side here, I have noticed this problem extends to Appmobi as well with this game in particular. I have a deep suspicion that it has something to do with the limitations Android apps have in regard to how much memory they are using. I am rebuilding the exact same project again from scratch and testing each event and added animation as I go.

    I have quite limited time at the moment but I will let everyone know the results.

  • I played a bit with GM Studio during the beta and while the product is good It did not seem as easily extensible as Construct.

  • 6 Player chess on a hexagonal board.

mikepixie's avatar

mikepixie

Member since 31 Aug, 2011

None one is following mikepixie yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies