Construct 3 suggestions & ideas

Suggest and vote on ideas for Construct 3! Please note this is only one aspect of planning. We do not guarantee any features here will be implemented, even if they are top-voted ideas. The aim is just to collect feedback. Remember to search for existing submissions before adding an idea, describe your ideas as comprehensively as possible, and vote for plausible ideas that are well thought out. Please see our full guidelines on suggesting features.

9 VOTE

Instant Games: Bot Subscription and switching of game

Hi.

I want to request two small and "easy" functions to include into the Facebook Instant Games plugin:

 

canSubscribeBotAsync( )
subscribeBotAsync( )

To subscribe to a bot, the function is similar as the function to create the shortcut. (Which is already implemented in the official plugin).
Everything regarding bots are handled in a Messenger app within Facebook Dashboard, not in the Instant Games app in the Dashboard, and no events or triggers are needed into the Instant Games from Construct3. So you do not need to handle any other calls than this subscribe function. When calling this Facebook will give the user a predefined popup where the user can clikc yes or no. This will not impact the game itself. (But without this function no games created with Construct will have the ability to use bots after 19th january when bots change to OptIn instead of OptOut!)


switchGameAsync()

super easy small function without any callback, just specify a ID (of another game) on the action. When called the game API will open a popup to the user where they can click to "jump" over to a different game (specified with an ID in the action)

 

 

Both of these functions are possible to use via Browser->Javascript, but this should be avoided if possible, and it should not be to much work to include this (I hope!)

  • FredrikSthlm .
  • Dec 19 2018
  • Shipped
  • Jan 14, 2019

    Admin Response

    These features were added to the Instant Games plugin in r134.

  • Attach files
  • FredrikSthlm . commented
    December 20, 2018 14:34

    Example how it would look in Construct