Instant Games Plugin - Needed implementations

0 favourites
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • I know that there is an appropriate place for posting suggestions and requests, but the request in question is here: construct3.ideas.aha.io/ideas/C3-I-486

    That was tagged as 'Need more detail' months ago and get buried down by other requests. Now I think all details was given already in the comments, aso the Idea has 31 votes by now. I think this is enough to consider.

    So there are at least two very important things to implement:

    ChooseAsync - We can already use it with exec javascript, but we need the event that triggers when the context changes successfully or when the dialog is closed.

    UpdateAsync - We already have the leaderboard updates, but would be great to have custom updates, with the possibilities to add images, etc.

    For who have interest in theses features, please upvote the idea. Also who have more request for this plugin, please post here so we could group all requests into one.

  • There has been a disussion about this plugin in the plugin forum.

    I agree with you 100% that this plugin lack some basic features.

    Aside from the two functions you mention I also would like to see:

    canSubscribeBotAsync( ) And subscribeBotAsync( )

    switchGameAsync( )

    getSupportedAPIs( )

  • construct.net/en/make-games/addons/140/facebook-instant-games-extended

    canSubscribeBotAsync( ) And subscribeBotAsync( )

    Not added to the plugin yet, but i'm looking into this for the next update.

  • Hi macube. I have looked into your plugin! Seems promising.

    As discussed in the plugin forum you need to change the ID after chooseAsync. Otherwise nothing will work. And your plugin does not do this. Look into the thread where me and ashley discuss this.

    Also, with your plugin you need to paste the base64 pic. Which is basically the same as using just javascript.. i think people want to use an image in the layout, just like with the official plugin share function.

    But I appreciate the effort with your plugin and looking forward to updates :)

  • The ID-change not work? Really?

    I'm call the function from ashley. Hm..

  • Maybe kytuzina can verify it? (Wrote it on the plugin page)

  • Hey Ashley, could you take a look? Sorry to bother you, I think you missed this topic.

  • It's difficult to interpret a suggestion that just says to expose a JavaScript API. It's not a good user experience and goes against Construct's design to just let users call JavaScript APIs directly, it's always wrapped in higher-level conditions, actions and expressions. If the suggestion doesn't specify how that is done then it's not clear how to go about it, especially when these are complex APIs which cover a wide range of features, some which probably need to be supported, and some which probably aren't feasible to support in Construct (e.g. bots). So it's still not at all clear to me which parts are necessary and how it would actually look and work in events, hence 'need more detail'.

  • I do really not know how to explain further to meet the "need more details".

    To subscribe to a bot, is basically the same as the function to create the shortcut. Which you have already implemented in the official plugin. It is a perfect functionality to have in the construct plugin, since it is an easy call

    UpdateAsync, is already implemented in official plugin, but only the leaderboard. What we need is the Custom, as well. So we can specify a message and a picture. This is very similar as ShareAsync.(Currently everyone has to use via Browser>Javascript for this)

    ChooseAsync

    needs a trigger to see if we acutally trigger a change or not. But this is a vital function, since IG basically are built on contexts. With leaderboards, updates and all. So then chooseAsync is used to switch. This needs a callback to see when it is resolved. Now we use browser>javascript, but is not perfect since we cannot see if we actually did a change.

    You can see macubes plugins, his actions are the way to go!

    switchGameAsync()

    super easy without any callback

    this we also have to do via browser>javascript currently

    getSupportedAPIs()

    this returns values from the API of supported features. maybe a bit to investigate to include.

    I think you can have a look at macubes plugin, it is perfect for some of the events. and a good starting point for the others

  • Can you put that on the suggestion platform? That's the kind of helpful detail that helps explain what the suggestion is aimed at.

  • Can you put that on the suggestion platform? That's the kind of helpful detail that helps explain what the suggestion is aimed at.

    Updated: construct3.ideas.aha.io/ideas/C3-I-486

    Hope this helps

  • You added more things than the original suggestion covered - please try to avoid that, it confuses the purpose of the suggestion and makes it harder to track, any different ideas to the original post should be posted separately. That suggestion will be treated as referring to the original description only.

    FYI I can't see any reason to support getSupportedAPIs(), since you can't do anything with them from events. If there are features which are only sometimes supported, we'd add separate conditions to cover them, but AFAIK there are no such features yet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, sorry for that.

    Here is a new idea then with the two other functions, which are basically the two easiest I believe. Hope the description is fine.

    construct3.ideas.aha.io/ideas/C3-I-669

  • You added more things than the original suggestion covered - please try to avoid that, it confuses the purpose of the suggestion and makes it harder to track, any different ideas to the original post should be posted separately. That suggestion will be treated as referring to the original description only.

    FYI I can't see any reason to support getSupportedAPIs(), since you can't do anything with them from events. If there are features which are only sometimes supported, we'd add separate conditions to cover them, but AFAIK there are no such features yet.

    Well, so you can just consider what the original suggestion requests. ChooseAsync (with its callbacks) and UpdateAsync.

  • I have updated the suggestions with printscreens on how it might be set up. Hope it helps.

    construct3.ideas.aha.io/ideas/C3-I-486

    construct3.ideas.aha.io/ideas/C3-I-669

    Subscribe Bot and switchGame

    Choose

    Update

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)