pstrejczek Posted August 3, 2018 Share Posted August 3, 2018 I'm finishing work on my game and plan to implement Facebook Instant features. I have a nice custom loader prepared, but in the instant games documentation I have found info that custom loaders are not welcome, and the best way is to report this with setProgress function of instant games SDK. I don't see this function implemented in the instant games plugin. What is the proper way to do this in Panda 2? Quote Link to comment Share on other sites More sharing options...
enpu Posted August 7, 2018 Share Posted August 7, 2018 Instant Games forces to show it's own loader, while the game loads in the background. So this means that there is no use for a custom loader. You can detect if the game is launched from Instant Games or not with game.device.instantGames if (game.device.instantGames) { // Game launched from Instant Games } else { // Game not launched from Instant Games } You should use this to make your custom loader only to work when not launched from Instant Games. pstrejczek 1 Quote Link to comment Share on other sites More sharing options...
pstrejczek Posted August 7, 2018 Author Share Posted August 7, 2018 Thanks @enpu. I have already noticed that my loader does not work when the instantgames plugin is added. Quote Link to comment Share on other sites More sharing options...
momenimum Posted August 13, 2018 Share Posted August 13, 2018 Hi @enpu can you update the Instant Games plugin example file? I tried uploading example directly and it stays at 0% loaded. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.