zjc121's Forum Posts

  • a function like this:

    this.alert = function(){

    var promis = FBInstant.context.getPlayersAsync();

    promis.then(function(players) {alert(34256);}).catch(function() {alert(3452);});

    }

    but no response why?

  • i write a function like this

    this.alert = function(){

    var promis = FBInstant.context.getPlayersAsync();

    promis

    .then(function(players) {alert(34256);})

    .catch(function() {alert(3452);});

    }

    but no respones, please tell me why ?

  • i use async function

    FBInstant.payments.getCatalogAsync()

    how to use the Catalog when get result in Browser

    hello?

  • > > > Can anyone suggest here how they're approaching to implement the majority of the important features for FB instant games as C3 doesn't have many of them such as chooseAsync(), canSubscribeBotAsync( ),switchGameAsync( ),updateAsync( )

    > >

    > > you just use the browser plugin, and call the functions via the javascript thing.

    > >

    > > (I have not used the subscribeBot so cannot comment on that, but the other three works fine).

    > >

    > > It is though not really good that almost everyone that uses IG plugin will also need to use javascript via browser plugin for many important functions since the IG plugin is too basic :(

    >

    > Could you please provide a code snippet so that I can understand how to do it with Browser plugin? Thanks

    Here I use browser plugin for chooseAsync() and switchGameAsync( ):

    Browser > Execute Javascript > "FBInstant.context.chooseAsync()"

    Browser > Execute Javascript > "FBInstant.switchGameAsync('GAMEID')

    how to use FBInstant.player.getSignedPlayerInfoAsync in Browser or anyother Async function

  • i use async function

    FBInstant.payments.getCatalogAsync()

    how to use the Catalog when get result in Browser

  • I'm pretty sure you can.

    oh thank you very much

  • Try Browser.Language expression

    can i use it when i export ios or android ?

  • How do I get system language?

  • how do i make game language according to system language?

  • well, hello?

    It is not clear what you are asking.

    you set the loader image (splash) in the facebook app dashboard. not in construct.

    but that has no effect on loading time

    i mean when the facebook instant game loading ,it will load the resource too slow.

    i add instant plugin in the construct project, it decide what resouce to load at begining of game .'

    how do i decide what resouce to load at the begining of game in order to load fast.

    thank you

  • hello?

  • How do I decide which image loaded at the begining of facebook instant game in order to accelerate ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I decide which image loaded at the begining of facebook instant game in order to accelerate accelerate loading speed?

  • how to make LiteTween behavior to support c3 runtime?

  • thank you i use diffrent frame to resove it .