Scirrator's Forum Posts

  • 10 posts
  • How does Construct work with respect to caching in the update? I’m asking because I use Cloudflare, and in its settings I need to inform browser cache time (TTL), and then I don’t know if I put a low or high value, or if I take it, what would be the recommendation not to hinder the updates I make on my game by Construct? Will the value I put it impact or not the Construct update? I’m using offline mode with the worker for the update

    Tagged:

  • So if I use JavaScript code along with advanced minification, it will always break the code. Isn't there any way to solve this besides using simple minification?

  • I understand, but taking Facebook as an example, it has the option to ask the user's email in addition to their public data, and then the user decides whether to accept or not. However, when they accept, there would have to be code to retrieve the email, and I even tried creating this code with JavaScript and it worked, but when exported with minification it doesn't work. That's why I suggested a code within the plugin to retrieve the user's email, not only on Facebook but also a Google plugin would be good, not the Google Play Games plugin, but the Google plugin itself, which many websites use as an alternative for registration and login.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Like many websites nowadays, I'd like something similar: login with email and password, and login with just one click, in this case via Google or Facebook. However, if the user chooses to log in via Google or Facebook, I'd like to have the option to retrieve the user's email address as well. This would be useful in case of an error or API update, and while the system is down, the user would have the option to use their email to access their account.

  • I've been searching but haven't found an option to obtain the user's email, neither through Google nor Facebook. This would be very useful for registering the user in the database in addition to using the ID, because if there's a problem with the API, until it's resolved it would be possible to access the account using the email and password, and to create a password it would be necessary to send some confirmation code to the user's email, as well as other things like notifying about an event by email and ...

  • I used the Facebook plugin, but since it doesn't have the option to retrieve the user's email, I had to create my own code using (add javascript). It worked until I exported the game, whenever I use minify it breaks the code. Does anyone have any idea how to solve this problem? I'll leave the code I used for testing here.

    FB.api('/me', { fields: 'id,name,email' }, function (response) {

    if (response && !response.error) {

    if (response.email && response.email !== "") {

    runtime.globalVars.email = response.email;

    } else {

    runtime.globalVars.email = "none";

    }

    } else {

    runtime.globalVars.email_fb = "fail";

    }

    });

  • Any predictions in the C3 updates regarding the availability of the Firebase plugin?

    Tagged:

  • You do not have permission to view this post

  • Only works when the (type = text), if change the (type for number) does not work.

    Tagged:

  • Is there already a way to place link preview images for when we export in html? In case someone enters the url of the game on some platform like facebook for example there appears a preview image

  • I would like to know if there is any way to integrate (sdk facebook android) into Construct without using third party plugins?

  • You do not have permission to view this post

  • 10 posts