I'm about to find a way to greatly improve the workflow of working with Instant Games, the only thing missing now is to get Construct's remote preview to use the Instant Games exporter, do you think that would be possible? Ashley
I wanted to make the UI reactive to updates to localStorage.
But I mean, if the other methods have the value, I think onItemSet should too.
I've been doing the export thing but is soo cumbersome, maybe you guys should consider adding an option to tunnel or something the preview, so its available on localhost for IG development.
Develop games in your browser. Powerful, performant & highly capable.
I want to test the FBinstant features and need the localhost address that the preview window is using, but I can't find it anywhere
It is undefined, but the trigger "on item get" does have the value, is this by design or I'm doing something wrong? The "exists" trigger does have the value too.
I have mulitple texts in my HUD, so I'm thinking of adding an instance variable called name to my SpriteFont object and filtering with a condition by that, but maybe there is a built in way to do it?
I'm new to construct btw
Nvm. I've added the instant games object and then it works, without having to add anything.
I think it would be good UX if the Instant Games export option were disabled if the Instant Game plugin is not installed in the game.
Btw looks like I can't post html code, I get a "you've been blocked" screen from cloudflare.
Not sure which plugin are you talking about.
I got it to work by adding a reference to the connect.facebook.net/en_US/fbinstant.6.3.js script.
to the index.html that gets generated inside the .zip bundle, not sure if this is a bug or is because I'm missing the plugin you mention.
To be more exact, it does not generate the correct index.html file.
When I upload de zip bundle:
Must Reference SDK via CDN
Games must reference one of our supported SDKs via our CDN.
Member since 9 Dec, 2019