Thank You everyone, seems like with the script of potion I now can see the % load on the Facebook instant game. I'm going to update the first post with some tips.
While I'm making the instant game test, I get 2 possible bugs.
I have 2 basic question that:
- Sometime when I open the app, the canvas size in the Iphone is just wrong (like 2 time smaller) this happen randomly sometime. Did anyone know which Full screen mode is better to fit in all devices avoiding this problem?
- I realized that when you get back the data from Facebook and than used "On loaded data" in order to load the data correctly, the very first action of that event should be the data that you want to load. If for example you have an array and you stored a Json string, then the very first action in that event should be "Load Json from Instant game...". If you move this action in a different order, then the data is not going to be loaded.
In addition, when you save the Facebook data with the action "Set player data" I found that is not possible to find a trigger to check if the data have been correctly saved. This can be helpful for example if a player while is saving is not connected to internet for a short time (train, for example). Is there any action on Construct3 that I missed out? I can make a token in the array comparing with the old one to see if the data was saved, but at each save I have then to reload the data. I saw that from the SDK there is a way doing it. Is there an option similar to "On loaded data"?