mikepixie's Forum Posts

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

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

  • You will need to build a back end using whatever language you are comfortable with and then access it via the ajax plugin. You will need to set up authentication as well, the safest way to do that is using oauth.

    The most common frameworks for developing social game backends from scratch are:

    Node.js (Javascript) and Tornado (Python)

    You could probably use PHP but it will get messy fast, it will be allright for prototyping though.

    For databases the usual suspects; mysql, postgresql and MongoDB will all work.

    That's just my 2 cents worth.

  • Great cheers dude, will sort it out in a bit.

  • I can send it to you in a PM if thats ok? Any help would be appreciated and if it can help you guys then all the better.

  • Hi Guys

    For some readon when I launch my game with cocoon I just get a blank screen and an fps indicator that says >1000fps.

    It works fine with demo games so I was wondering if anyone else has had this? My game is not very sprite heavy and has about 60 events.

    Mike

  • Nope not yet but I was going to give it a go this weekend.

  • I was wondering if anyone has had any experience with integrating AppMobi's oauth system either with the callJS plugin or a custom plugin.

    I am going to give it a go with call JS but it would be great to hear of anyone elses experiences and thoughts on it.